Defragging in XP - Yea or Nea

G

Guest

A colleague and myself have recently begun a heated
discussion on the benefits of defragging Win XP. He is
using the Inside Microsoft Windows 2000 by David
Solomon. To prove it is worthless. David is formerly a
Consulting Software Engineer at Digital Equipment
Corporation, David worked for over 9 years as a project
leader and developer in the VMS operating system
development group. He developed the Windows NT in OpenVMS
Terms seminar series, which he delivered to over 1000
students worldwide. In addition to organizing and
teaching seminars, David has served as technical chair
for three past Windows NT conferences and has spoken at
WinDev, Windows World, Software Development, four
Microsoft Professional Developers Conferences (PDC), many
Microsoft TechEd's, MSJ Developers Academy, and DECUS. He
was a recipient of the 1993 Microsoft Most Valuable
Professional (MVP) award for Win32 support.

He states in his book that until your Split I/O is above
10 - 20% while running the application of choice,
defragmentation gains you nothing. NTFS creates files
with fragmentation on purpose for better performance.
NTFS expects files to grow, thus putting a 4KB buffer on
each side of the file to allow it to grow, otherwise
fragmentation would be horrid (like FAT12/16/32). It is
a rare event indeed when the disk gets to read or write
contiguously for a long time. It is normal for the heads
to move around as Windows NT reads and writes to
different files in the normal course of its business.
Defragmentation is basically useless.

My argument:
In the Microsoft site under the title of Disk
Defragmenter in Windows 2000: Maintaining Peak
Performance Through Defragmentation, Microsoft virtually
rewrote file system defrag support for Windows XP to
remove the dependency on compressed-file routines and the
Cache Manager. This means that data movement works at
granularity of a single cluster for uncompressed files
and that defragmentation works on NTFS volumes with
cluster sizes larger than 4KB. Also, defragmentation is
now supported on encrypted files.
The other big enhancement is support for online
defragmentation of the MFT and most directory and file
metadata. Finally, there are a number of odd special
cases in the Windows 2000 defragmentation interface that
made writing a defragmenter especially challenging. In
Windows XP, while the defragmentation API interface has
remained unchanged, the way you can use it has improved
enormously, which means better defragmentation that will
result in better system performance. My underline... the
Conclusion states "File fragmentation can negatively
affect operating system speed and performance. To
maintain peak performance when using Windows 2000, the
condition of your disks should be analyzed on a regular
basis-preferably once a week for moderate-to-heavy use;
less frequently for intermittent use-and defragmentation
performed as needed."

Which side has the preponderance of supporting evidence?
Thanks for the long read.
 
G

Geoff

Defragging basically takes any files that your computer
uses rarely in a deeper level than ones that are used
more often. Doing this allows for your computer to
recover the files you use often much quicker. Just a
question but why would they put defragmenting in windows
if it doesn't do anything. That seems kind of redundant.
 
N

null

Geoff said:
Defragging basically takes any files that your computer
uses rarely in a deeper level than ones that are used
more often. Doing this allows for your computer to
recover the files you use often much quicker. Just a
question but why would they put defragmenting in windows
if it doesn't do anything. That seems kind of redundant.

Redundant? No, I would say wasteful.

--
-the small one

All postings carry no guarantee or warranty, expressed or implied.
Proceed at your own risk, and perform system and data backups prior to
making changes to your system, and on a regular basis, to protect your
system.
 
V

Vaughn McMillan - Executive Software

Hi -

David Solomon is indeed a well-respected engineer. (I've met him and
crossed paths with him a number of times over the years.) That said,
the statement about NTFS allocating 4KB of free space on either side
of a file (for expansion) hasn't been in done by the file system since
the early days of Windows NT. (3.51 as I recall, but I could be off by
a version or two.)

In short, your colleague is relying on outdated information. I'd
strongly recommend defragging periodically if the computer is used for
anything more than a doorstop.

I hope this helps -

Vaughn McMillan
Executive Software
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top