Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I know this can be sound a little like an open question, but I want your thoughts here. Maybe if someone have make a benchmark test or based on your experience.

Do you think that Windows Defragmenter is good enough? Are tools like Diskeeper or Raxco PerfectDisk worthwhile? Do you really win I/O performance or are the optimizations not high enough to be noticed?

share|improve this question
add comment

3 Answers

up vote 8 down vote accepted

Unless you have a lot of tiny files being written/erased/written to the drive, basic defragmentation should be more than enough on Windows. You're going to have other factors that can't possibly be generalized...most servers you would have to factor in your RAID controller, caching, load, type of RAID, etc. to get performance. Your best bet would be to run a benchmark before and after running your defrag to get numbers for your particular circumstance on your particular hardware.

If defragging makes a big difference in your performance, I'd venture a bet that you should be looking at changing hardware a bit.

The bigger benchmark is whether your server is having performance issues and your users notice. Is that the case? Then start narrowing down the cause as to whether it's the disk subsystem and whether it's a problem with your drives being too slow, utilization is wrong for your RAID configuration, etc. rather than randomly poking whether a particular type of defrag will speed up access.

share|improve this answer
    
Thank you @Bart. Why Tiny files? What about defrag virtual hard disks? raxco.com/business/hyper-v.aspx –  Ricardo Polo Oct 31 '11 at 14:48
    
Smaller files lead to more slack space scattered all over the drive. Larger files get chunked if there's not enough space to store them contiguously, and you can have random writes all over the drive for access that some defragmenters will try to "optimize" for better access times. Defragmenting virtual disks within a filesystem I've found useful when shrinking disks down. –  Bart Silverstrim Oct 31 '11 at 14:51
add comment

The nice part about other defraggers is that they usually move most frequently accessed files around to the fastest parts of the disks (e.g. the beginning vs the end of the spindle).
Some can also measure boot time to figure out which files need to be defragged during next boot.
Some also have an automatic defragment mode that runs in the background and when your PC is idle it defragments.

The free selection of defragmenters for Windows is excellent with very nice features:

share|improve this answer
add comment

I would also suggest that you do not use defrag on virtual disks. While it is theoretically possible for it to be beneficial there are also many times where it is not. For example, dynamically allocated disks will balloon in size when defragged with very little improvement in access times. I have also heard negative things about live migrations with defrag.

I have used the defrag to shrink a virtual disk suggestion as Bart outlines - I have found this to be the only particularly useful case.

I suggestion letting the hypervisor take care of the disk management in most cases.

share|improve this answer
    
Agreed, there's a lot of abstraction when you throw both newer controllers and their drivers, RAID, and virtualized disks into the mix. The results you get from what the software thinks is going on isn't necessarily what is actually going on; it's one of those things where you might want to leave the controllers to do their own magic. –  Bart Silverstrim Oct 31 '11 at 16:26
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.