Defrag Questions...

Discussion in 'MacBook Pro' started by w00t951, Mar 1, 2012.

  1. w00t951 macrumors 68000

    w00t951

    Joined:
    Jan 6, 2009
    Location:
    Pittsburgh, PA
    #1
    After doing extensive research on defragmenting files in Mac OS X, I've decided that I still need a defragmenting utility. Yes, I know about HFAC and the magic 20MB file size and the benefits of HFS+, but I have many files (30+) on my HDD that are above 5 GB in size. What's a good, cheap defrag utility?
     
  2. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #2
    You don't need to defrag on Mac OS X, except possibly when partitioning a drive.

    About disk optimization with Mac OS X
    Five Mac maintenance myths
     
  3. Mojo1, Mar 1, 2012
    Last edited: Mar 1, 2012

    Mojo1 macrumors 65816

    Joined:
    Jul 26, 2011
    #3
    In my experience there are situations where an OS X drive can become severely fragmented.

    The Macworld article referenced previously states that routine defragmentation is not required. It goes on to say:

    File fragmentation is an issue primarily for people with almost-full hard drives and people who work with very large files or large amounts of data (for example, video and some image files). If your drive is almost full, a better option is to free up space or upgrade to a larger drive. People who truly need to defragment—or optimize, which is defragmentation that also attempts to position particular types of files for optimal performance—can use utilities such as Prosoft Engineering’s $99 Drive Genius 2 or Micromat’s upcoming $98 TechTool Pro 5. (You may also hear about directory fragmentation. This is different from file fragmentation, and is addressed by utilities such as DiskWarrior.)

    You can download and run iDefrag to see if your drive is indeed fragmented. If so, you can pay for a license and fix the drive. iDefrag costs $30.95. It's the least expensive software that I know of.

    You can also create a bootable clone of the drive, reformat it and copy the data from the clone. The result will be an unfragmented drive. But it won't be optimized like it would be if you used iDefrag and similar utilities.

    iDefrag http://www.coriolis-systems.com/iDefrag.php

    Macworld UK Review http://www.macworld.co.uk/digitallifestyle/reviews/?reviewid=3228570
     
  4. Fishrrman macrumors G4

    Joined:
    Feb 20, 2009
    #4
    "What's a good, cheap defrag utility?"

    iDefrag is one.

    I also use the defragger that's a part of the "Drive Genius" suite of tools.

    You will be told again and again that "you don't need to defrag".

    That is nonsense. Yes, OS X does re-concactenate some fragmented files, but not all of them. To make matters worse, the OS does NOTHING to reclaim small "fragments of space" throughout the drive. If you use a defragger, and examine the sectors of the drive before you actually defrag, you will see how disjointed the surface of the drive actually becomes. Defrag and optimize it, and you'll have a large, contiguous portion to which large files may be moved/copied.

    This is particularly important if you handle video and audio files.
     
  5. Interstella5555 macrumors 603

    Interstella5555

    Joined:
    Jun 30, 2008
    #5
    As usual, I have to agree with GGJstudios, over the past 10 years with Macs as primary machines in my housewolds, I've never seen anyone defrag or need to defrag a Mac.
     
  6. squeakr macrumors 68000

    squeakr

    Joined:
    Apr 22, 2010
    #6
    When I was having issues with my early 2008, i thought it could be drive related as well. I downloaded the iDefrag and it allows you to assess your drive before purchasing to actually perform the defrag. The only time I shut down or reboot is when needed during an install or system requirement or if the battery died accidentally It had been running essentially for almost 3 years constantly and the drive was only like 4-5 percent fragmented (and I move lots of data everyday and am constantly adding and removing vm images for work), as reported directly by iDefrag and the application even suggested I not defrag. Saved me seem money and helped me be more trusting of OSX (as coming from Windows I had to defrag at least once a week).
     
  7. lamboman macrumors 6502

    Joined:
    Aug 13, 2011
    #7
    The "no need to defrag" myth has to be the biggest that there is about Mac OS. What Fishrrman has said is correct.
     
  8. interrobang macrumors 6502

    Joined:
    May 25, 2011
    #8
    Note the bolded part. If your disk is within, say 75-80% of its full capacity, you should seriously consider getting a bigger disk. Defragging at that point is just rearranging deck chairs on the Titanic.

    Getting a big scratch drive may also a good option if you "work with very large files or large amounts of data (for example, video and some image files)" Keeping that stuff off your system drive can be a big help.
     
  9. Mojo1 macrumors 65816

    Joined:
    Jul 26, 2011
    #9
    While I basically agree, your 75-80% rule of thumb is rather conservative. (And I think that the Titanic analogy is rather silly...) I'd say that is the time to start thinking about getting another drive; once you reach 10% you should have another drive up-and-running.

    Designating a separate scratch partition on an external drive is a good way to minimize fragmentation on drives. The Adobe website has suggestions for scratch partition sizes based on the average size of the files the user typically edits.

    I really don't understand the folks who insist that OS X never needs defragging. Sometimes it does and sometimes it doesn't; there is no correct answer that applies to everyone. Since it is easy and free to analyze a drive, the simple answer is to run a utility and find out what is up with the drive. Then proceed accordingly...
     
  10. bernuli macrumors 6502

    Joined:
    Oct 10, 2011
    #10
    iDefraged

    OS X does a good job keeping file fragmentation under control. However, I did get some speed improvements with iDfrag.

    My time machine backups were running very slow. TM updates were taking 10 minutes to run, even when no files were modified. (If I selected backup now 2 times in a row each time it would take around 10 minutes)

    I had been thinking my catalog B tree or whatever that is needed to be rebuilt. I always had a decent amount of free HD space, but between multiple VMware virtual disk, and lots of other files large and small coming and going, I think something got out of whack.

    So I bought and ran iDefrag. Took like 10 hours to run but there was an improvement! Time machine updates now complete within a minute. Boot time also improved from 45 seconds to 34.

    B


    http://www.coriolis-systems.com/



     
  11. Andeavor macrumors 6502

    Joined:
    Aug 19, 2010
    #11
    Once I had trouble creating a partition for Bootcamp when I had to resort to iDefrag to defragment the drive myself. No matter how much OSX does its own defragmenting, there will be a point when it's beyond its own capabilities.
     
  12. Bear macrumors G3

    Joined:
    Jul 23, 2002
    Location:
    Sol III - Terra
    #12
    In general OS X doesn't need to have its filesystems defragmented. There are some good examples above of why it isn't needed in general with one good example of when it was needed.

    If you run a filesystem near 100% full and constantly delete and create files, you could run in to a situation where the disk needs to be defragmented. It depends on the size of the files in question.

    The best suggestion above was to use iDefrag for free to see how fragmented the disk is before paying for a utility you might not need.
     
  13. w00t951 thread starter macrumors 68000

    w00t951

    Joined:
    Jan 6, 2009
    Location:
    Pittsburgh, PA
    #13
    Wirelessly posted (Mozilla/5.0 (iPhone; CPU iPhone OS 5_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B179 Safari/7534.48.3)

    I grabbed the MacUpdate Spring Bundle, which included Drive Genius 3.

    I work with huge files all the time, and this resulted in the 58% fragmentation of my Mac's HDD. There was even a massive empty space where I had deleted 50GB of iTunes library. Working with files larger than 20MB will lead to eventually fragmentation.
     

Share This Page