Yes Virginia, you do need to defrag your Mac.
Posted on January 24th, 2013 in mac | 9 Comments »
After coming back from vacation I found my Mac unusually slow. Previewing a photo in Finder would cause the OS to beachball for a few seconds before finally showing the photo. It made sorting through all the media (25GB of photos and videos) quite painful.
I tried everything from restarting the OS to clearing ample disk space and nothing seemed to help. 2.2 Ghz of Intel Core I7 processer and 16 GB of ram seemed powerless to a 6MB photo. I started suspecting it was a hard disk problem as seek times seemed to be the major issue.
Researching the topic, it turns out that OS X runs a cron job at 3am for various maintenance task including defragging all files over 20MB. The problem is two fold: I have hundreds of files under 20MB and I always put my computer to sleep when I’m not using it because I actually care about the environment.
From Apple’s official doc:
“If your disks are almost full, and you often modify or create large files (such as editing video, [...]), there’s a chance the disks could be fragmented. In this case, you might benefit from defragmentation, which can be performed with some third-party disk utilities.”
Followed by this gem here: “Another option is to back up your important files, erase the hard disk, then reinstall Mac OS X and your backed up files.”
I went ahead and researched the best defragger for the Mac, iDefrag. (More reviews on it here.)
I ran the demo first which just reviews your system and then just ended up paying the $30 to buy the software and give it a try.
iDefrag is pretty like most Mac apps and gives you a boatload of useless information. They should strip it all and just have one piece of info after analyzing your system: what percent is it fragmented. This information was probably on one of the analysis pages but I sure couldn’t find it. I set the Mac to reboot and run iDefrag overnight in it’s non-OS mode. I woke up the next morning and my computer is now as fast as the day I bought it with all my photos and videos included this time.
Conclusion: If you constantly increase and decrease the size of your hard drive with lots of little files, do any kind of video editing, and/or don’t regularly leave your machine running all night then get iDefrag. It works.

9 Responses
Great advice but there is one thing to be aware of.. Many new computers are being sold with SSDs instead of HDDs and you absolutely want to avoid defragging an SSD.
SSDs have a (rather high) upper limit on read\write\erase cycles and defragging performs ALOT of those cycles. This typically has little affect on HDDs but on SSDs you’ll end up causing additional unnecessary wear on your drive and the reality is that it wont really improve your performance any since there are no spinning platters.
Thanks. Rockstar answer Bryan! This is a Macbook Pro with a regular ol’ hard drive but will consider that for my Air.
Yes, its true that an SSD is much faster than an HDD but one should keep in mind that the number of HDD users is still much greater than HDD users. Also, the one should consider that not the new Mac machines come with SSD. The same is te case with me too and I used Stellar Drive Defrag to defrag my Mac.
iDefarg is also a popular choice among many Mac users.
Resources:
http://www.stellardefragdrive.com/
http://www.coriolis-systems.com/iDefrag.php
Great article Mauvis, though it seems like there ought to be a command line for running the built-in cron on an as-needed basis.
Is that not an option?
Chris, I checked my Crontab and the system crontab but they are empty so it must be scheduling jobs some other way.
There were a bunch of apps you can install to change, monitor, or tweak the maintenance scripts listed on this page, some are even free:
http://www.macinstruct.com/node/166
There’s a utility for OS X that lets you run the various scheduled maintenance tasks on demand. But, in looking around for that utility, I found this article which seems to dispel the mythology of these cron scripts.
http://www.macattorney.com/ts.html#2
Apparently, OS X now runs those cron scripts at the next available opportunity, not just at 3 in the morning. Who knew?
Still, I’ve been experiencing painfully long disk seeks on my 3 year old Macbook Pro, so I’m going to give defragmenting a shot.
Hello, I just broke my outstanding laptop and I absolutely need it fixed rapidly. I’m new to the Phoenix area and found the corporation close by. I need to figure out if someone had discovered them, here’s their info Computer Guru Consulting, 2942 N 24th St #114, Phoenix, AZ 85016, (602) 903-5666. Any help is going to be greatly appreciated, thanks!
I assume That we can certainly write this question on this website. I have got a very bad laptop or computer problem Which I really need to get addressed fast. I stumbled upon a handful of places which stand out and wanted know if somebody has got word about Computer Guru Consulting, 2942 N 24th St #114, Phoenix, AZ 85016, (602) 903-5666. Whatever advice will be very beneficial. Many thanks.