Defragment a Volume


Another hard disk condition that can adversely affect performance is when the volume becomes overly fragmented. Let's take the example used in a previous chunk: you have a file stored in "storage box" 11, and boxes 12-18, 23-25, and 59-67, as well. Figure 4-17 helps you visualize how such a file would be stored.

Figure 4-17. A fragmented file takes longer to retrieve.


Wouldn't it be faster for Windows to retrieve the file if it were in boxes 11-29 instead?

Of course. Disk fragmentation occurs when contiguous file storage is not possible, and it is an unavoidable result of long-term computer use. When files are removed from your computer's disk, they can leave large gaps that could otherwise be used by other files. So even though there's plenty of space on your hard disk after a mass deletion, your hard disk still may not be operating at peak efficiency. It may need to be defragmented.

Here's how to defragment your hard disk:

1.

Click Start | All Programs | Accessories | System Tools, and then choose Disk Defragmenter. (Alternatively, you can launch the Computer Management tool and then look under the Storage Tools.)

2.

Choose the volume you want to defragment. Defragmenting a disk can take hours, so it's highly recommended that you Analyze the disk before you defragment it. Click Analyze, and in a few seconds XP displays an evaluation like the one shown in Figure 4-18. The View Report button displays additional specifics about the nature of the fragmentation, but it's not terribly useful, at least not to 99% of computer users. You either need to defragment or you do not.

Figure 4-18. Analyze before defragmentation.


3.

If defragmentation is recommended, simply click the Defragment button to start the process.

The utility looks for fragmented files, like the hypothetical file from this chunk's introduction, and rearranges them in areas of contiguous space if possible. Note also that defragmentation is done on a volume-by-volume basis, not on an entire hard disk.

You can defragment in the background while working at the computer, but you might want to think twice before you do. Because it can take such a long time, and because the disk will be running at maximum capacity, it will really slow down normal operation. You might want to defragment when you're able to leave the computer for several hours, such as when leaving the office for the day, as I'm about to do right now.



Spring Into Windows XP Service Pack 2
Spring Into Windows XP Service Pack 2
ISBN: 013167983X
EAN: 2147483647
Year: 2004
Pages: 275
Authors: Brian Culp

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net