Hard drive defragment freeware?

Discussion in 'Mac Apps and Mac App Store' started by Chomolungma, Apr 2, 2004.

  1. Chomolungma macrumors regular

    Joined:
    Jul 25, 2002
    Location:
    Santa Fe, NM
    #1
    I think my PB is sluggish, and I think the fragmented hard drive is to blame. Does anyone know of a freeware that can solve this problem.

    -Chomo
    :(
     
  2. HexMonkey Administrator

    HexMonkey

    Staff Member

    Joined:
    Feb 5, 2004
    Location:
    New Zealand
    #2
    Mac OS X pretty much does defragging automatically. I doubt that is the problem.
     
  3. crees! macrumors 68000

    crees!

    Joined:
    Jun 14, 2003
    Location:
    MD/VA/DC
    #3
    If you notice when you finish installing any type of software/update you'll see the installer saying Optimizing Volume... from what I get that is your defragmentation taking place.
     
  4. dukemeiser macrumors 6502a

    dukemeiser

    Joined:
    Dec 17, 2002
    Location:
    Iowa
    #4
    Are you sure you've got enough RAM? Is it sluggish overall, or just when you do certain things?
     
  5. abhishekit macrumors 65816

    abhishekit

    Joined:
    Nov 6, 2003
    Location:
    akron , ohio
    #5
    yeah..open the terminal ...and write
    sudo periodic daily.....press enter
    sudo periodic weekly.... press enter
    sudo periodic monthly ...press enter...
    this will take care of the cron jobs...see if its still sluggish...if yes..i guess you dont have enough ram..
     
  6. Chomolungma thread starter macrumors regular

    Joined:
    Jul 25, 2002
    Location:
    Santa Fe, NM
    #6
    thanks for the immediate replies

    I'm running Panther on a TiBook 400 mhz, with 384MB RAM. It is only running Safari and iTunes 99% of the time. I should tell you that the hard drive is nearly full. Maybe it is time to get a new computer :D . Be that as it may, I'll try the terminal/command approach.

    -Chomo
     
  7. whocares macrumors 65816

    whocares

    Joined:
    Oct 9, 2002
    Location:
    :noitаɔo˩
    #7
    The HD is to blame IMHO. OS X uses lots of virtual memory (HD space); mine has 3.2GB (!) right now though it's stille got 290MB of inactive RAM + 15 MB free RAM. I always leave at least 10% of my HD empty. Maybe you should make some space before condemning the PBook. ;)
     
  8. blue&whiteman macrumors 65816

    blue&whiteman

    Joined:
    Nov 30, 2003
    #8
    even 10% free is pushing it. I have a 120gb and like to keep no less than 30gb free.
     
  9. FattyMembrane macrumors 6502a

    FattyMembrane

    Joined:
    Apr 14, 2002
    Location:
    bat country
    #9
    fragmentation has never been a problem in osx and is even less of a problem in panther. do a forum search to pull up about 30 threads on it. hfs+ writes files to the largest free block on the hd so it fragments far less than windows will, and 10.3 will defrag all files under 20mb automatically if the volume is journaled. if your computer becoming sluggish, it's probably the ram or cron issues already mentioned.
     
  10. IJ Reilly macrumors P6

    IJ Reilly

    Joined:
    Jul 16, 2002
    Location:
    Palookaville
    #10
    That's massive overkill IMO. OSX does a pretty poor job of cleaning up after itself where VM is concerned, but you can always check to see how much disk space is devoted to VM by looking into the directory ..private/var/vm. If you've got more than a couple of gigabytes devoted to VM files, then it's time to log out, which deletes most of them, or reboot, which gets rid of the rest.
     
  11. Makosuke macrumors 603

    Joined:
    Aug 15, 2001
    Location:
    The Cool Part of CA, USA
    #11
    No, that's not what it's doing--I believe the post-install optimization involves linking libraries to applications, but in any case it isn't defragmentation.

    But, as others said, 10.3 does simple defragmentation automatically, so any speed issue is probably something else. If you must defrag, though, there's no freeware to do it.
     
  12. blue&whiteman macrumors 65816

    blue&whiteman

    Joined:
    Nov 30, 2003
    #12
    in my experiences the more free space I have the more speed, stability and uptime I get from the drive and in turn the system. its the same I idea to say a cpu will perform better the less its doing.
     
  13. realityisterror macrumors 65816

    realityisterror

    Joined:
    Aug 30, 2003
    Location:
    Snellville, GA
    #13
    it's called prebinding... i'm sure what the importance is but it'd bad if you don't let it do that after installing something.

    reality
     
  14. cb911 macrumors 601

    cb911

    Joined:
    Mar 12, 2002
    Location:
    BrisVegas, Australia
    #14
    OS X does defragging automatically? i've never heard about that... any links to back that up? :confused:

    i thought that fragmentation problems with HFS & OS X were so minimal that Apple thought it wasnt' necessary to worry about it.
     
  15. cjc343 macrumors 6502

    Joined:
    Jan 6, 2004
    Location:
    In the apple store, in front of a G5.
    #15
    :rolleyes: If OS X did auto defrag, my volume wouldn't be 60% fragged when I run disk warrior would it (PowerMac G4 8xx 512 ram 80 gig hd few years old)?

    or when I got a NEW PB it wouldn't be 2% fragged when it came and 40% after installing all the software I wanted would it?


    No there are not any free defrag utilities, and if there were, I wouldn't use them....
     
  16. cjc343 macrumors 6502

    Joined:
    Jan 6, 2004
    Location:
    In the apple store, in front of a G5.
    #16
    oh yeah, my grandma's 23x iMac wouldn't have had a 70% fragged drive....



    whenever I put an x, it means I don't know the exact speed off the top of my head.
     
  17. HexMonkey Administrator

    HexMonkey

    Staff Member

    Joined:
    Feb 5, 2004
    Location:
    New Zealand
    #17
    http://docs.info.apple.com/article.html?artnum=25668

    So actually only Panther does defragging automatically. The HFS+ format contains some preventative measures as well, as FattyMembrane said:

    And Jaguar also introduced some preventative measures:

    The article does mention that fragmentation could occur if the hard drive is low on space. Otherwise, as the article says:

    Hopefully this will clear a few things up. :)
     
  18. cb911 macrumors 601

    cb911

    Joined:
    Mar 12, 2002
    Location:
    BrisVegas, Australia
    #18
    hhmmm... i didnt' know about "Hot-File-Adaptive-Clustering" before. thanks for the linkage. :)
     
  19. Makosuke macrumors 603

    Joined:
    Aug 15, 2001
    Location:
    The Cool Part of CA, USA
    #19
    For reference, the details that the article about auto 10.3 defragmenting didn't mention have been discussed extensively in past threads.

    Here's a brief rundown from MacSlash:

    http://macslash.org/article.pl?sid=03/10/29/190237

    Basically, if memory serves, Panther starts defragmenting after it's been on for four hours (I think that's the number), and what it does is defragment files under 20MB. It also moves frequently accessed files to the fastest part of the disk (the hot clustering business).

    The thing this doesn't help with is very large files, of course--video editing is the obvious issue, although Bittorrent, if you don't let it create the whole file in advance, is notorious for causing vicious fragmentation. If you work with big files a lot (or keep your disk almost full, which isn't a good idea anyway), manual defragmentation with some utility might help.
     
  20. Flowbee macrumors 68030

    Flowbee

    Joined:
    Dec 27, 2002
    Location:
    Alameda, CA
    #20
    I have a G3 Powerbook with a 6gb hard drive. Panther performance is very good until I get down to about 500mb remaining. Below that, Panther just crawls. (I'm planning to upgrade to a 40gb hard drive in the next couple of weeks.)
     
  21. janey macrumors 603

    janey

    Joined:
    Dec 20, 2002
    Location:
    sunny los angeles
    #21
    just reinstall panther. or do a sudo rm -rf / and get it over and done with (JUST KIDDING!!! OMFG DONT DO A RM -RF /!!!!!!!)
     
  22. NusuniAdmin macrumors 6502a

    NusuniAdmin

    Joined:
    Nov 19, 2003
    #22
    Bahh nvm, i see that everyone else already covered the hfs+ thing.
     
  23. NusuniAdmin macrumors 6502a

    NusuniAdmin

    Joined:
    Nov 19, 2003
    #23
    Ok i am just going to clear something up real quick:

    Prebinding and defragmenting are different, defragging moves all files that it possibly can into an order than optomizes the speed. Prebinding is when the applications are linked dynamically to the libraries. Instead of including the libraries in every app (like os 9 and windows do) is just links them. And when you update prebindings it checks to see whether or not the binding is up to date. This is why os x apps (generally speaking) are smaller than windows or os 9 versions of the app.
     
  24. Chomolungma thread starter macrumors regular

    Joined:
    Jul 25, 2002
    Location:
    Santa Fe, NM
    #24
    2 GB of free space in a 20 GB drive

    i experience the same, when I fill it up below 1 GB. I even get a warning message. I'll probably have to manually delete a few of many tiff pictures and monster size Powerpoint presentatons.

    This topic leads into the faster computer debate. People in here talk mostly about having faster processor clock as the solution. What about faster storage solution especially in laptop that won't drain the battery?

    -Chomo
     
  25. AppleMatt macrumors 68000

    AppleMatt

    Joined:
    Mar 17, 2003
    Location:
    UK
    #25
    Actually he's got it pretty much spot on, in my experience 20% is the real sweet-spot for performance etc. Although I agree as his hard-drive is so big (not jealous not jealous) he probably doesn't need 30GiB set aside, unless he works with very large files.
    To back me up (people seem to like asking for backups in this thread :)), macfixit.com said;

    Also I'd like to point out that 3rd party defragmenting programs can "un-do" all the good work done by Panthers Hot-file clustering, seeing it as excess fragmentation and moving it all around again.

    Ages ago I had the source code for the hot-file crap, I wonder where that went :confused:

    AppleMatt
     

Share This Page