Should I defrag or do a clean install?

I have an early 2009 MBP, 17", 4G, 320G laptop. I've been running Mavericks for a while and recently upgraded to Yosemite.

System performance since is abysmal. I've tried any number "tricks" and "methods" for improving performance - none have helped in any appreciable way.

(I have not added memory as some have suggested; that's a financial commitment to older hardware that I can't make right now.)

For the most part, the new system is usable but there are some critical situations where it just falls down.

I don't want to do a "clean install" as suggested by many websites bc. their methods require that I reinstall all my applications and I can't necessarily do that.


My goal:

I like the L&F of Yosemite and wish to keep it. The way the OS is performing for some apps is unacceptable.

I either want an installation (of Yosemite) that performs well OR I would like to keep what I have and install a parallel instance of Mavericks.


I've recently freed up over 160G of HD space (via offloading and deleting). My 320G HD is now reporting 189G of free space. My plan was to repartition the HD, setting aside 100G in a fresh partition into which I would install a new instance of Mavericks. (Here I'd then put those few apps that my current Yosemite setup can't handle.) Unfortunately, when I go to Disk Utility, it reports over 260G is "in use" and will only allow me to create a new, second partition of 50G. From what I've read, this is too small.


Here are my questions ...

  1. If I run a "defrag" tool, will it coalesce my free space turning that "189G of available space" into 189G of contiguous, re-partitionable free space?
  2. Should I do a clean install of Yosemite and restore from my TM backup?
    1. If so - and this is crucial if this is to be a solution! - will this also restore apps that I have installed into /Applications, /usr/local, and /opt OR will it only restore "user files," i.e. /Users/* ... ?
    2. If I choose "clean install & TM restore," will this simply reproduce my current HD data distribution (leaving only 50G contiguous free space) or will this process naturally coalesce HD usage (leaving 180G contiguous free space)?


Am I making any sense?

various, Mac OS X (10.4.10)

Posted on May 14, 2015 7:35 AM

Reply
9 replies

May 14, 2015 9:58 AM in response to liam1101

You could create a mavericks usb installer. Boot from the installer use disk utility and divide the hard drive into two equal partitions. Clean install or restore mavericks from time machine to the first partition - then download and install yosemite to the 2nd partition. That way you have your working mavericks running and can test out yosemite to see if you get the better performance you wish.

May 14, 2015 10:10 AM in response to liam1101

I would start by having the community look at your EtreCheck output to see if there are some 3rd party additions that may be contributing to your performance issues.

<https://discussions.apple.com/docs/DOC-6174>


A clean install (Nuke & Pave) has benefits in that you do not bring over a lot of accumulated crude from the previous system. Then install just the apps you really need, and transfer your personal data.


When doing a clean install, ALWAYS make a backup, preferably 2 onto different external drives, using different backup utilities (Time Machine can be one, and a system cloning utility, such as Carbon Copy Cloner (free 1 month fully enabled demo) or SuperDuper (always free for a full clone)).

May 14, 2015 10:36 AM in response to liam1101

1. Defrag is done automatically by the OS. Launch Disk Utility. Whatever free space is shown at the bottom of the diagram can be user for a second partition.

2. Doing a clean install is worth the effort only if you also manually reinstall all other apps and utilities. Otherwise, you're just recreating what you already have.


Although creating a separate volume to run Mavericks is possible, switching between volumes and maintaining parallel app collections, not to say anything about documents, or libraries created with newer app versions, not being compatible with older apps on the Mavericks partition (i.e., iTunes library, Photos Library, etc), will require so much effort that you'll soon regret taking this road.


If the slowness you're experiencing is with just some specific apps, there might be ways to increase their performance individually - post those issues separately.


The basic problem you have with Yosemite is that you're running it with very little RAM. An upgrade to 8GB might well be worth the $50-$75 cost involved.

Just my 2 cents...

May 14, 2015 1:07 PM in response to liam1101

When you see a beachball cursor or the slowness is especially bad, note the exact time: hour, minute, second.

These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.

Launch the Console application in any of the following ways:

☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

☞ Open LaunchPad and start typing the name.

The title of the Console window should be All Messages. If it isn't, select

SYSTEM LOG QUERIES All Messages

from the log list on the left. If you don't see that list, select

View Show Log List

from the menu bar at the top of the screen.

Each message in the log begins with the date and time when it was entered. Scroll back to the time you noted above.

Select the messages entered from then until the end of the episode, or until they start to repeat, whichever comes first.

Copy the messages to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.

The log contains a vast amount of information, almost all of it useless for solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.

Please don't indiscriminately dump thousands of lines from the log into this discussion.

Please don't post screenshots of log messages—post the text.

Some private information, such as your name, may appear in the log. Anonymize before posting.

When you post the log extract, you might see an error message on the web page: "You have included content in your post that is not permitted," or "The message contains invalid characters." That's a bug in the forum software. Please post the text on Pastebin, then post a link here to the page you created.

May 15, 2015 3:59 AM in response to liam1101

Thanks everyone for the tips and suggestions. I understand that OS X doesn't require routine file defrag'g but I'm specifically looking for free space coalescing as a possible path to my dual partitioning goal. If I choose to go the route of "clean install," the question remains: what does "user files" mean? Again, is this just stuff in /Users or does this include "all things not installed by the OS installer" such as anything I placed into /usr/local and /opt?


I'm a bit confused by the benefits of doing a recovery reboot + reformat HD + TM restore ...

My understanding is that a TM backup is a sparse image and not a simple clone of my system. If I do a clean OS (re)install then restore from TM, wouldn't this ostensibly "pack" all my files, i.e. use contiguous space, naturally coalesce free space? The TM restore should also bring back EVERYTHING ... OS, /Applications, /usr/local, /opt, and so on.


As for running EtreCheck, I've done that already, RE: this same matter/different topic in the forums @ http://pastebin.com/MJJvfFrY

May 15, 2015 6:29 AM in response to liam1101

If all you want to do is repartition your disk, then I would clone everything to an external device, boot from the clone, repartition the internal device, restore the internal from the clone. I would have a 2nd backup as I never want to have just one copy of my data.


You will have a partitioned internal device, the data you restored will also be contiguous as a side benefit.

May 15, 2015 10:48 AM in response to liam1101

liam1101 wrote:

I understand that OS X doesn't require routine file defrag'g but I'm specifically looking for free space coalescing as a possible path to my dual partitioning goal.

You do NOT need to "defrag" or "coalesce" anything. Just launch Disk Utility, select your drive, click on the Partition tab. All free space will be shown as a single block. That's it. No other housekeeping needs to be done.User uploaded file

May 20, 2015 9:22 AM in response to BobHarris

This is exactly what I needed. I don't know how I could have forgotten about CCC! This is essentially what I was asking if I could achieve with Time Machine. However, CCC is much simpler, straightforward, and familiar! It worked like a charm: cloned -> repartitioned -> restored. As it turns out, my 260G main system was actually using only 129G; all that "deleted file" space was coalesced - as I wanted - and I had PLENTY of room at the bottom of my HD for an add'l partition of 100G. I installed Mavericks and those few apps that Yosemite hates into the 2nd partition and now I'm golden! I'm not thrilled about having a multi-boot system, but hey ... I'm up and running again so it's a small price.


As an aside... As so many others had recommended, I went out and bought the new memory, taking the system to its max of 8G. Not a lick of improvement in system performance ... as I expected. "More memory" is not always the answer and it's an expensive "try this."


It's a shame no one was able to answer my question, how is "user files" defined.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Should I defrag or do a clean install?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.