How often?
That really depends on what sort of usage a particular system gets and what functions it performs. It also depends on the particular filesystem you're using on your disks; some filesystems are better than others in terms of dealing with fragmentation (or even minimizing it). For example, Microsoft's NTFS filesystem (in general) handles fragmentation a bit better than MS's earlier FAT/FAT32 filesystems, and UNIX/Linux filesystems such as ext2, ext3, and ReiserFS deal with fragmentation much better than either MS filesystem.
Fragmentation as a whole occurs as a result of adds/deletes/changes to the data stored on a drive, so a drive whose contents are pretty much "static" will need to be defragged much less often than a drive whose contents are constantly changing.
Given all of the above, the question isn't really how often to defragment, but at what percentage of disk/file fragmentation do you decide to defrag.
The whole thing is more than a bit subjective; you'll find people who have very strong opinions in one direction or the other in regard to how much of an issue fragmentation really is in terms of overall system performance.
I personally like to keep my Windows machines at 2-3 % fragmentation or less, but that's only due to the fact that I tend to run on the conservative side when it comes to my system maintenance schedule, and defragging is just part of that overall routine. My Linux machines are a totally different story though- due to the filesystems they use, fragmentation just hasn't been an issue in terms of drive/system performance.
Reputation Points: 221
Solved Threads: 369
Wombat At Large
Offline 6,439 posts
since Dec 2003