Defrag hard disk partitions to speed up file operations
1 January 2000 by Snakefoot | Comment » | Trackback OffA partition consist of a long chain of clusters.
When a new file is created, then Windows searches the partition to find
a subchain of free clusters, which is large enough to contain the entire file.
If no cluster-chain is large enough, then the file is fragmented over several
smaller chains of clusters.
It will take longer time to read a whole file when it is fragmented, because the HDD has to make several seeks to read all the cluster-chains that contains the file. Defragmentation Tools will try to rearrange the data of the fragmented files so the file is contained in a single cluster-chain.
Checks before starting defragmentation of a partition :
Note a new feature was added with Windows 98/Windows XP, which monitors the launch of applications. The defragmenter uses this information to group the files used by the application close together to minimize seek time.
It will take longer time to read a whole file when it is fragmented, because the HDD has to make several seeks to read all the cluster-chains that contains the file. Defragmentation Tools will try to rearrange the data of the fragmented files so the file is contained in a single cluster-chain.
Checks before starting defragmentation of a partition :
- Scan the partition for errors (Using Scandisk or Chkdsk /f).
- Empty directory with temporary files which might reside on the partition (Recycle Bin, Temporary Internet Files, TMP).
- Make sure there is enough free space on the partition to move files around (15 %).
- Stop any unnecessary programs that writes to the partition (Ex. filesharing programs).
- Disable any screen saver which might take all the resources from the defrag process.
Note a new feature was added with Windows 98/Windows XP, which monitors the launch of applications. The defragmenter uses this information to group the files used by the application close together to minimize seek time.
- Win98/WinMe - Configure monitoring of application startup
- WinXP - Configure the logical prefetcher
Tags:
Category:
Updated: 23 September 2007
Comment by john gladman - 25 March 2003 @ 15:21 Reply
Although I have performed defrag many times in past I am now getting following message if I try defrag on any of my drives (windows 2000).
I have lots of disc space on all drives. Have just installed/removed a Ramdisk product from Cenatek.
Anyone have any ideas??