Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

vmachiel

macrumors 68000
Original poster
Feb 15, 2011
1,777
1,445
Holland
Hi,

So i read somewhere that Mac OS X automatically defragments your hard drive. I also read that SSD's don't need to be defragmented and that it can actually reduce it's life span. Now that i've manually installed a SSD, will OS X still defragment it? And if so, can you disable this?

Thank you!
 
Hi,

So i read somewhere that Mac OS X automatically defragments your hard drive. I also read that SSD's don't need to be defragmented and that it can actually reduce it's life span. Now that i've manually installed a SSD, will OS X still defragment it? And if so, can you disable this?

Thank you!

As best I can tell there is no "background automatic defragmentation" that OSX does as some folks have suggested. Instead they use techniques in writing data to avoid fragmentation in the first place. If you read Apple's articles on the subject, you will find they never mention defragmentation - they use the term optimization.
 
In addition to the hot band, OS X will try to defragment a file when opening it if all these conditions are met:
  • The file is less than 20MB in size
  • There are more than 7 fragments
  • System has been up for more than 3 minutes
  • A regular file
  • File system is journaled
  • The file system is not read-only

Source: http://www.diskeeper.com/blog/post/2011/02/02/Mac-defrag.aspx

OS X does not do full disk defragmentation like Windows. I doubt this would have any large effect on SSD life.

I would be more concerned about page-outs (if your low on RAM) and the sleep (hibernation) file. And even then, your SSD will probably outlast your computer.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.