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

Fabrix2003

macrumors regular
Original poster
Nov 5, 2003
111
1
Cheshire UK
OK so i was wondering how would you defrag on a mac powerbook?
seen as i do so much photowork that fills up the HDD.
is it built in with the OS? or do i purchase some software for Panther to do so?
 
There's really no need to as the filesystem is much different than that of Windows.
 
Pretty sure that the OS takes care of the disk all by itself... two indirect clues: 1) if you're working on a large iMovie project and empty the iMovie trash, it can take a long long time to "move" files around as a consequence of emptying the trash. This is likely a defrag run. Also, there aren't very many (any?) third party defrag apps -- commercial or shareware. Leads me to think they just aren't needed.
 
Originally posted by jbeetz
Pretty sure that the OS takes care of the disk all by itself... two indirect clues: 1) if you're working on a large iMovie project and empty the iMovie trash, it can take a long long time to "move" files around as a consequence of emptying the trash. This is likely a defrag run. Also, there aren't very many (any?) third party defrag apps -- commercial or shareware. Leads me to think they just aren't needed.

You're right. Panther does, in fact, automatically defragment the hard drive. However, it only does it for files that are 20 MB or smaller...don't know why.
 
Defragmentation is less of a problem because of the way HFS and HFS+ store the information to locate files. B-Trees (Binary Trees), which they use, are quickly searched and the search time doesn't tend to deteriorate as quickly, as files and folders are added, in contrast to other methods of storing the information.
 
Originally posted by bousozoku
Defragmentation is less of a problem because of the way HFS and HFS+ store the information to locate files. B-Trees (Binary Trees), which they use, are quickly searched and the search time doesn't tend to deteriorate as quickly, as files and folders are added, in contrast to other methods of storing the information.

Disk fragmentation has little to do with the format in which directory information has stored. Fragmentation is caused when one file is split up into non-contiguous pieces spread out across the physical disk. It takes time for the drive to spin around and pick up those pieces when it comes time to read or modify the file, especially if there a lot of little pieces spready very far apart from one another. Macs suffer from fragmentation just as much as any other computer, although as pointed out above Panther includes some automatic defragmentation features that are meant to reduce the problem.

Incidentally, both TechTool Pro 4 and the latest Norton Utilities have disk optimizers that are supposed to work in OS X. However, TTP4's caused some massive disk damage to one of my partitions when it just stopped working while I was booted off the TTP4 CD. I suspect it ran out of memory and just locked up, but restarting the machine (my only option) left the disk in an unpleasant condition I am still trying to get it out of--portions of files were overlapped, so that, for example, while playing an MP3 I will suddenly hear snippets of an MPEG music video stored on the same drive. Frustrating and impossible to detect without trying to use every single file on the partition. Norton's optimizer refused to acknowledge that I had any hard drives at all. Go figure.
 
Originally posted by ericpeden
Disk fragmentation has little to do with the format in which directory information has stored. Fragmentation is caused when one file is split up into non-contiguous pieces spread out across the physical disk. It takes time for the drive to spin around and pick up those pieces when it comes time to read or modify the file, especially if there a lot of little pieces spready very far apart from one another. Macs suffer from fragmentation just as much as any other computer, although as pointed out above Panther includes some automatic defragmentation features that are meant to reduce the problem.

Incidentally, both TechTool Pro 4 and the latest Norton Utilities have disk optimizers that are supposed to work in OS X. However, TTP4's caused some massive disk damage to one of my partitions when it just stopped working while I was booted off the TTP4 CD. I suspect it ran out of memory and just locked up, but restarting the machine (my only option) left the disk in an unpleasant condition I am still trying to get it out of--portions of files were overlapped, so that, for example, while playing an MP3 I will suddenly hear snippets of an MPEG music video stored on the same drive. Frustrating and impossible to detect without trying to use every single file on the partition. Norton's optimizer refused to acknowledge that I had any hard drives at all. Go figure.

that because youre no SUPPOSE to defrag a osx drive... just let it take care of itself... every single defrag software that ive used has managed to eat my drive... So i finally just stopped and dealt with the occiasional slow down...
 
I remember someone telling me and reading something about how defragging a HD only recovers about 5-10% of the speed. Not all that useful, IMHO.
 
Originally posted by billyboy
Erasing a partition will defrag it 100%. Not a very useful tip if you want to keep your data though.
i never had good experience with defragin tool... sorry...just deal with the occassional slow down as the system's internal maintance tools will take care you biznaz.
 
Re: Defrag for Mac?

Originally posted by Fabrix2003
OK so i was wondering how would you defrag on a mac powerbook?
seen as i do so much photowork that fills up the HDD.
is it built in with the OS? or do i purchase some software for Panther to do so?
If you read everything posted here, the message should be clear: Defragging software on the Mac is controversial, at best. The probability that it will provide a benefit is more than offset by the probability that the defrag utility will screw-up your hard drive.

Why do you think that Apple does not provide a defrag utility and that it does not recommend one? .Mac comes with backup software and antiviral software, but no defrag software. Can you take a hint?

Don't defrag and don't worry about it.
 
Re: Re: Defrag for Mac?

Originally posted by MisterMe
If you read everything posted here, the message should be clear: Defragging software on the Mac is controversial, at best. The probability that it will provide a benefit is more than offset by the probability that the defrag utility will screw-up your hard drive.

Why do you think that Apple does not provide a defrag utility and that it does not recommend one? .Mac comes with backup software and antiviral software, but no defrag software. Can you take a hint?

Don't defrag and don't worry about it.

misterme really knows how to put something right!
 
Originally posted by ericpeden
Disk fragmentation has little to do with the format in which directory information has stored.

I may be reading this differently than the poster intended, but if not this is incorrect. I don't know about HFS+, but the common Linux format ext2/ext3 does not fragment significantly, due to the way that filesystem is structured. Generally fragmentation rates stay well below 2% over time.

I think the issue here is largely due to people being familiar with FAT16/FAT32, which of course do need to be defragmented regularly. NTFS is supposed to be significantly better in this regard, at least if you start with a blank disk.
 
it's great to hear how good the macs are in this matter

as a pc tech, it's one of my main jobs i come across...my clients, both individuals and businesses, very rarely defrag their windows boxes and that causes all types of problems in the long run

and when i tell my clients to defrag, they never remember but it gives me and other pc techs business and we can always rely on this easy process as a bread and butter task that pays us
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.