Section 20.2. Disk Defragmenter: All Versions


20.2. Disk Defragmenter: All Versions

When you save a new file, Windows records its information onto the hard drive in small pieces called blocks . On a new PC, Windows lays the blocks end-to-end on the hard drive surface. Later, when you type more data into a document (thus enlarging it), the file no longer fits in the same space. Windows puts as much of the file in the original location as can fit, but may have to store a few of its blocks in the next empty spot on the hard drive.

Ordinarily, you'll never even notice that your files are getting chopped up in this way, since they open promptly and seamlessly. Windows keeps track of where it has stored the various pieces, and reconstitutes them when necessary.

As your drive fills up, though, the free space that's left is made up of smaller and smaller groups of blocks. Eventually, a new file may not fit in a single "parking place" on the hard drive surface, since there are no free spaces left that are large enough to hold it. Windows may have to store a file in several different areas of the disk, or even hundreds.

When you later try to open such a fragmented file, the drive heads (which read the disk) must scamper all over the disk surface, rounding up each block in turn , which is slower than reading contiguous blocks one after the other. Over time, this file fragmentation gets worse and worse . Eventually, you wind up griping to your buddies or spouse that you need a new computer, because this one seems to have gotten so slow .

The solution: Disk Defragmenter, a program that puts together pieces of files that have become fragmented (split into pieces) on your drive. The "defragger" also rearranges the files on your drives to make the operating system and programs load more quickly. A freshly defragged PC feels faster and more responsive than a heavily fragmented one.

The big news in Windows Vista is that its disk-defragging software runs automatically at regular intervals, in the tiny moments when you're not actually typing or clicking. It's like having someone take out your garbage for you whenever the can is full. Slow-PC syndrome should, therefore, be a much less frequent occurrence.


Tip: Fragmentation doesn't become noticeable except on hard drives that have been very full for quite a while. Don't bother defragmenting your drive unless you've actually noticed it slowing down. The time you'll spend waiting for Disk Defragmenter to do its job is much longer than the fractions of seconds caused by a little bit of file fragmentation.

20.2.1. Defragging Settings

Even though Vista defrags your hard drive automatically in the background, you can still exert some control. For example, you can change the schedule, and you can trigger a defragmentation manually when you're feeling like a control freak.

Start by opening the Disk Defragmenter main screen, using any of these techniques:

  • Choose Start Control Panel. Click System and Maintenance "Defragment your hard drive." (That last link is at the bottom of the window, under the Administrative Tools heading.)

  • Right-click the icon of a hard drive in Windows Explorer; from the shortcut menu, choose Properties. In the Properties window, click the Tools tab, and then click Defragment Now.


    Note: The button may say Defragment Now, but it won't actually start defragmenting when you click the button. You'll first pay a visit to the main Disk Defragmenter screen.
  • In the Start menu's search box, or at a command prompt, type dfrgui.exe and press Enter.


    Tip: Throughout Windows, and throughout its book and magazine literature, disks are referred to as volumes . Usually, volume means disk. But technically, it refers to anything with its own disk icon in the Computer windowincluding disk partitions (page 601), DVDs, and so on.

You're asked to authenticate yourself (page 191), and then the Disk Defragmenter window opens (Figure 20-2). From here, you can either adjust the schedule or trigger defragmentation manually.

Figure 20-2. Unless there's a good reason you don't want to schedule defragmentation, it's a good idea to have Windows do it for you automaticallyit's like getting someone to take out your trash .


POWER USERS' CLINIC
Beyond Disk Defragmenter

Disk Defragmenter isn't the only tool for the defrag job; the world is full of disk-defragmenting programs that offer additional features.

For example, some of them track how often you use the various files on your drive, so they can store the most frequently used files at the beginning of the disk for quicker access. In some programs, you can even choose which files go at the beginning of the disk.

Do these additional features actually produce a measurable improvement over Windows Vista's built-in defragger? That's hard to say, especially when you remember the biggest advantage of Disk Defragmenterit's free.


  • Adjust the schedule. Click Modify Schedule. A screen appears, showing that Vista ordinarily defrags your disk late every Tuesday night (1:00 a.m., in fact). You can use the pop-up menus here to specify a Weekly, Daily, or Monthly schedule, complete with day-of-week and time-of-day options. Click OK and then OK again.

  • Manually. Click Defragment Now; the defragmenter does its work. Depending on the size of your hard disk, your processor speed, and the amount of fragmentation, it will take anywhere from several minutes to several hours.


    Tip: During the defragmentation process, Windows picks up pieces of your files and temporarily sets them down in a different spot, like somebody trying to solve a jigsaw puzzle. If your hard drive is very full, defragmenting will take a lot longer than if you have some empty space availableand if there's less than 15 percent free, Windows can't do the job completely. Before you run Disk Defragmenter, use Disk Cleanup and make as much free disk space as possible.



Windows Vista. The Missing Manual
Windows Vista: The Missing Manual
ISBN: 0596528272
EAN: 2147483647
Year: 2006
Pages: 284
Authors: David Pogue

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