共用方式為


Defrag in Vista - what's new?

There is a new article in the hard-to-discover https://support.microsoft.com world, about various improvements of defrag in Vista. In summary: defragmentation is now performed automatically by default (at 1 AM on every Wednesday - that is, if your laptop is not powered off) and it works nicely in an incremental manner - no need to restart a full new defrag every time.

Here is an excerpt:

 

Partial defragmentation

By default, the defrag tool only defragments files smaller than 64 megabytes (MB). Therefore, files larger than 64 MB are not moved unnecessarily. You can use the -w parameter to tell the defrag tool to defragment all files, regardless of size.

Cancellable defragmentation

In earlier versions of Windows operating systems, if the defrag engine was in the middle of a large move request, it could take lots of time to cancel defragmentation. In Windows Vista, the defrag engine processes input and output requests in smaller portions. Therefore, you can avoid situations where the defrag engine is busy with processing large move requests when you cancel a defragmentation session.

Low priority defragmentation

The defrag engine in Windows Vista does not affect the performance of other processes that are running on the computer. Other processes are not affected because defragmentation runs as a low priority process. And, defragmentation uses only minimal CPU resources and memory resources. If the system is using lots of CPU resources and memory resources, the defragmentation process may take a longer time to finish.

Ability to defragment volumes with less free space

You can defragment volumes in Windows Vista when volumes have less free space than is the case in earlier versions of Windows operating systems.

Faster defragmentation

In some defragmentation modes in Windows Vista, defragmentation of a volume is two or three times faster than defragmentation in earlier versions of Windows. Windows Vista uses significantly improved algorithms that move files toward the front of the hard disk. In earlier versions of the defrag engine, the defrag engine defragmented data at the end of the hard disk before the defrag engine defragmented the data toward the beginning of the hard disk.

Scheduled defragmentation

You can now use Task Scheduler to schedule defragmentation. Therefore, you do not have to manually start defragmentation. By default, a task is created and is set to run at 1 A.M. on every Wednesday. If the computer is turned off or if the task does not run at the scheduled time, the task will run the next time that the computer is idle.

Shadow-copy-aware defragmentation

In shadow-copy-aware defragmentation, defragmentation uses Volume Shadow Copy Service (VSS) in-box software to optimize defragmentation. The VSS software minimizes copy-on-write change blocks. Shadow-copy-aware optimization slows down filling the difference area. This kind of optimization also slows down the reclaiming of old snapshots during defragmentation.

Master File Table (MFT) defragmentation

If the MFT is spread into multiple fragments, the defrag engine can combine the MFT fragments during defragmentation.

Comments

  • Anonymous
    October 08, 2007
    PingBack from http://www.artofbam.com/wordpress/?p=6275

  • Anonymous
    October 08, 2007
    Before reading this, I thought Vista had gone backwards when it comes to defragmentation. One thing that's still a little annoying is that you can't choose which drives to defragment.

  • Anonymous
    October 08, 2007
    The comment has been removed

  • Anonymous
    October 08, 2007
    The comment has been removed

  • Anonymous
    October 08, 2007
    Is there a way to use Win32_ShadowCopy on 64-bit versions of Windows from a 32-bit application?

  • Anonymous
    October 08, 2007
    >>> Is there a way to use Win32_ShadowCopy on 64-bit versions of Windows from a 32-bit application? AFAIK - this should work - since this is a WMI class. Calling 64bit WMI providers from 32-bit clients (running in WOW mode) should work by default. Please see MSDN for more details: http://msdn2.microsoft.com/en-us/library/aa392895.aspx and http://msdn2.microsoft.com/en-us/library/aa390789.aspx

  • Anonymous
    October 09, 2007
    Windows Vista e la deframmentazione del disco

  • Anonymous
    October 09, 2007
    I like to SEE what is happening.  Vista is a huge step backwards.  Every time I try to do something, it treats me like a child asking me if I want to do it. And now the Defrag utility does not give me a picture of the hard drive that it's defragging. I'm getting ready to Dual Boot my system now.  I've got to keep Windoz for the office (small partition) and I'll use Linux for my personal use.

  • Anonymous
    October 10, 2007
    Totally second Stephen. My Vista is very slow and having ensured its nothing else, its probably fragmentation. I am contemplating switching to another utility before the sickness gets to my drives.

  • Anonymous
    October 10, 2007
    The comment has been removed

  • Anonymous
    October 25, 2007
    I'm downloading Diskeeper as we speak. i just tried to run the Vista defragger and cancelled when it appeared that I would have no control. I have 2 physical drives on my new laptop and I want to make sure that each is used as a scratch drive for defragging the other, and in the right order. Way faster that way. Microsoft is still trying to emulate Apple, but they just arent smart enough :-)