OS X Defragmentation

Discussion in 'General Mac Discussion' started by Will Jones, Dec 22, 2002.

  1. Will Jones macrumors member

    Dec 18, 2002

    Can someone explain to me what it is about OS X's file structure that results in only having to defrag when your harddrive is using 80% (or more) of it's total capacity?


    PS. Apologies if this has been covered before, which it most probably has somewhere along the line.
  2. benixau macrumors 65816


    Oct 9, 2002
    Sydney, Australia
    concatenation of free space

    yeah as any less and you are wasting time as OS X scatters swap files all over the place. at 20% free they are in such a small space that they are pretty much going to be ignored by a defrag app.


    the swap file will be in the 20% free and the defrag app will treat them as a file to be placed at the end of the file system. Therefore the rest of your file system will be concatenated properly. At more than 20% free the swap will more liekly be treated as a permanent file and placed around the middle meaning that when OS X deletes it you have free space in the middle of your HDD. As soon as a file is written to your HDD it will go into the first free space which happens to be in the middle instead of the end, i.e. the free space is no longer concatenated.

    hope it helps. :)
  3. mac15 macrumors 68040

    Dec 29, 2001
    Defragmentation isn't really a necesstiy, plus it takes almost 24 hours to defrag my HD, 40 gigger, 30gig full. It didn't speed it up all that much, but if your really picky, then by all means do it.

Share This Page