Defragmenting on XP - do i have to? How often should i defrag? ~ Ask The Admin

Wednesday, January 09, 2008

Defragmenting on XP - do i have to? How often should i defrag?

Alex in New York hit us with this question:

How often should I defragement my Windows XP installation? While you are at it can you explain what fragmentation is? Why is it bad? How do you defrag and when should you? What about on my Mac?

Using the magic powers of The Google I came across the Iowa Help Desk Website. Just for your reference, my search terms were defragment + windows xp. For the mac check out this previous post here.

I thought it was a great piece, there was no by line but the link is here:

What is "fragmenting" and why do I need to "defragment" my hard drive?

Imagine a large library of books arranged in volumes. Also imagine that the librarian for this particular library re-shelves the books in a way which moves the individual books in the volumes further apart from each other. As more books are added to library, the further apart and more mixed up the books in the volumes become. Now imagine that you come to the library and want to check out an entire volume of books. You would have to search all over the library to find
each individual book in the volume that you want. In computer terms, what is happening when the individual books are re-shelved in this way is called fragmenting, and this is what happens to your computer as you install programs, download files, or just use your computer in general.

When running programs that contains hundreds of files, fragmenting can degrade the performance of your computer. As the clusters of files on your hard drive become fragmented, they grow further apart and it takes longer for your computer to find and assemble all the pieces necessary to run the programs. This is where defragmenting comes in. It rearranges the files on your hard drive so they are back in order, which cuts down on access latency (the time it takes to access your files). It is as if the library has hired a new librarian who goes through and arranges the books so that the volumes are intact and contiguous. This would greatly reduce the time it takes to find whole volumes or individual books in those volumes. Defragmenting your Windows XP hard drive.

1. To defragment your hard drive in Windows XP, open My Computer and right-click on the C: drive. Select Properties, then click on the Tools tab and select Defragment Now...

2. The Windows Disk Defragmenter program will open and all drives are listed in the top window pane. Since the program is going to be arranging files on your hard drive, it is important that no files are being accessed during the process, or the program won't be able to move them. Close all
open programs.

3. The C: drive is where operating system files and programs are installed by default, so make sure that it is selected, then click Defragment. While the program is running, it is recommend that you not use your computer. The time is takes to run the defragmenting process is dependent on the size of
your hard drive and amount of fragmentation.

While the program is running you will see a graphical representation of the blocks of files on your
hard drive being moved and the fragmented segments joined together. Usually the less gaps of free space between the contiguous segments the better, but as long as the fragmented files are put together into contiguous segments, it will help your computer's performance.

4. Once the process is complete, the graphic should display most of the contiguous files on the left and the majority of the free space on the right. Close the Disk Defragmenter window and resume using your computer.