OSX has its own built-in defrag program?

Discussion in 'MacBook Pro' started by Tedsterb, Apr 1, 2010.

  1. Tedsterb macrumors member

    Joined:
    Apr 1, 2010
    Location:
    WA
    #1
    Does it? I read somewhere that it does. What is it under and whats it called?
    Thanks.
     
  2. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #2
    No, but you don't need to defrag OS X as much as you do Windows. If you search the forums with MRoogle, you'll find several threads on this.
     
  3. dsnort macrumors 68000

    dsnort

    Joined:
    Jan 28, 2006
    Location:
    In persona non grata
    #3
    Back in the days of Tiger, every software update had a built in disc optimization routine. IMHO same as disc defrag.

    I'm sure Leopard has the same thing, just done differently.
     
  4. Guiyon macrumors 6502a

    Joined:
    Mar 19, 2008
    Location:
    North Shore, MA
    #4
    Mac OS X will automatically defragment files that are fragmented enough and, if I recall correctly, is 20MB or under. There is no separate program to run, this functionality is built directly into the kernel.
     
  5. solarein macrumors regular

    Joined:
    Feb 24, 2010
    #5
    Is this turned off automatically when OS X detects an SSD? I sure hope so...
     
  6. mpsruo macrumors member

    Joined:
    Apr 15, 2008
    #6
    This is one of the aspects of OSX that I can't seem to explain to most people day to day. Never defrag again
     
  7. Tedsterb thread starter macrumors member

    Joined:
    Apr 1, 2010
    Location:
    WA
  8. ARF900 macrumors 65816

    ARF900

    Joined:
    Oct 30, 2009
    #8
    The only time you neeed to wory about defrag is if youve been using your mac for a couple months and want to install windows.
     
  9. MWPULSE macrumors 6502a

    MWPULSE

    Joined:
    Dec 27, 2008
    Location:
    London
    #9
    i believe the defrag capabilities of mac osx are actually integral to mac os journaled the disk format that mac osx is based on..

    I dunno if i read correctly articles from various places but thats what i understood from them...

    PTP
     
  10. psingh01 macrumors 65816

    Joined:
    Apr 19, 2004
    #10
    I agree, though my "solution" is to restore from a Time Machine backup so I have enough contiguous drive space for a windows partition.
     
  11. unagimiyagi macrumors 6502a

    Joined:
    Jun 9, 2009
    #11
    why is my mac super slow then and i hear the hard drive churning, esp in firefox? I have 35 gb left of free space.

    It never used to do this. With windows, I'd defrag and I'd be speedy again.

    I've run a virus scan and also cleared my caches with cleanmymac.

    No difference, and I have 3 gb of ram. Is my hard drive failing? Like if I just scroll on a web page, I'll get that beach ball. It is very odd, but I don't know the fix short of a complete reinstall.
     
  12. Nopstnz8 macrumors member

    Nopstnz8

    Joined:
    Mar 22, 2010
    #12
    Seriously you need to boot off your Snow Leopard installation cd and repair permissions. I've had the beach ball as a major problem where everything I did I would get the beach ball. After I fixed this the first time, the computer was ultra fast for a descent amount of time. These problems came back last night, so I booted off the cd and repaired permissions and now the computer is back to being ultra fast. The only other problem I see is that you need more disk space. 30gb isn't that much. Eitherm delete some stuff, or get a bigger drive.
     
  13. Pentad macrumors 6502a

    Pentad

    Joined:
    Nov 26, 2003
    Location:
    Indiana
    #13
    :rolleyes:

    Actually, every FS fragments it just depends on how much and what kind of impact it has.

    As a professor who specializes in kernel design and file systems, I could give you very low-level reasons why this occurs but I'm not that motivated and I don't know how many people would understand it.

    To be brutally honest, HFS really sucks as a file system. When you compare it to some of the file systems available for Linux, HFS is very outdated.

    Linus Torvalds had commented on how much he liked OS X but hated the file system because of its limited performance and scalability. You can Google for Linus's comments as well as others on HFS.

    I purchased iDefrag from the folks at Coriolis and have been very pleased with the results. Also, the Coriolis staff have been excellent to work with. I also purchased iPartition from them as well. I do a great deal of development work on my MBP (lots of VMs) and my performance always takes a hit after a few months work.

    I find if I run iDefrag over night I can measure the speed difference the next day. I would recommend it to anyone thinking of defragging their system.

    Great Story:

    I was at a conference where Linus Torvalds was speaking and somebody asked him about his public comment regarding how badly HFS sucks. He joked that his mailbox was filled with angry Mac users who demanded he retract his statement, offered proof that he was lying, and general fan-boy like threats. He said it was like arguing with people who think we didn't go to the moon...you know that kind of mentality from people who have no idea how file systems work.

    Every time I see people make comments like the OP I think about this story and chuckle.

    Cheers,
    -P
     
  14. Dozerrox macrumors 6502

    Joined:
    Dec 23, 2009
    Location:
    Exeter
    #14
    Ha! Cool, I thought as much. Nice to see a clarification from someone in the know.

    Out of interest, how does HTFS compare?
     
  15. thejadedmonkey macrumors 604

    thejadedmonkey

    Joined:
    May 28, 2005
    Location:
    Pa
    #15
    Do you mean NTFS? NTFS is horrible, because it's not built in. However, since Windows Vista forward, Window will defrag the hard drive automatically, so you don't have to remember to do it.
     
  16. MWPULSE macrumors 6502a

    MWPULSE

    Joined:
    Dec 27, 2008
    Location:
    London
    #16
    Could try to make a new account, see if that solves the problems your having?.. second to that try the other alternative (see below)

    You might also consider installing the OS on an external and seeing that renders better performance, in which case its sommat to do with your current install
     
  17. Dozerrox macrumors 6502

    Joined:
    Dec 23, 2009
    Location:
    Exeter
    #17
    Haha, yeah NTFS. I wrote it a couple of times and thought it didn't look right. Hybrid HFS/NTFS :S.
     

Share This Page