HOME

ABOUT US CONTACT DOWNLOADS FORUMS

SEARCH

HELP  

 

Defragmentation Programs

for

Windows XP, 2000, & NT

header_top1

 


 

header_top1

 

Register Software

 

Defrag Information

 

DIRMS

Details

 

Buzzsaw Details

 

Why these programs exist?

DirMS

 

There are 2 versions of DirMS available.  DirMS-S and DirMS-CL.

 

DirMS-CL is a command-line program.

 

DirMS-S uses a normal Windows GUI and runs as a Windows Service.

 

Both programs perform the following functions:

 

Defragment Hard Drives

Move non-contiguous "fragments" of a file to a single contiguous location.

 

Full Drive Defragmentation

DirMS can decrease fragmentation in large files by using a partial defragmentation algorithm and will also compact files to rid your system of the dreaded interstice problem.   The operation of DirMS similar to Diskeeper, but has some differences, like moving files not just from the bottom of the drive to the top, but actually finding the largest free space that is achievable and moving files to both the front and end of the drive to get the biggest possible free space in which to defragment.


Partially Defragment
Suppose you have a huge file that contains several hundred fragments. You might find that some defragmentor programs will not even touch it, since there is no free area large enough to put the contiguous file. That is silly! Un-fragmenting it into a dozen large fragments gives you most of the benefit! If the drive is nearly full, this will be the case for most files. But dirms can partially defragment a file, the best it can under the circumstances, and still provide improvement.


Squish out small gaps between files
Other programs actually leave little gaps between files. These do not show up on their interactive displays, so you might not know you even have them! Though you might wonder why a disk that's only 80% full has no visible free areas.

A dreaded problem that we have found with drives that are 2/3 full or so is little gaps, or file
interstices. They are between 1 and 15 clusters in size (always less than 16), and sit between most files. This eats up a great deal of free space, and NTFS, in its infinite stupidity, will start sticking files in there when a larger free space is available, causing files with hundreds of fragments.  Yet all (as of the time this was written) other defragmentation programs make such interstices when defragmenting!

The reason has to do with the way NTFS works. After using the defrag API functions in the operating system to move clusters, the destination area is internally rounded up to a multiple of 16 clusters. The little gap thus created cannot immediately be used as the destination of another move, so programs like Diskeeper just skip ahead to the next available spot. After a few seconds, these clusters become available for writing in the normal way. We believe this has to do with the NTFS journal commitment. Anyway, if you don't wait it out, you leave little gaps.

Knowing this, dirms will pack files tight with no gaps. You can ask it to simply slide each file to the left as far as it can, thus incrementally consolidating your free space. Or you can move files into holes without causing these gaps. More on these options in the following sections.

The big problem is that waiting it out is slow. Several seconds is not bad, but magnify it by several thousand files, and you're looking at several days to do a complete defragmentation! So, thoughtful use of dirms will let you make incremental improvements each night, or perform more modest cleanups without adding to the interstice count.

Moving Files
Suppose you have numerous free spaces on your drive but no files actually fragmented. You can still move a few files to consolidate the free space into even bigger chunks. dirms will do this for you.