Why is fragmentation a problem on a disk




















For example, your system frequently crashes due to disk fragmentation. One of the most terrible outcomes in case of fragmentation is surely hard drive failure. Your hard drive components will experience accelerated wear, namely be degraded much faster, and fail thoroughly one day. At that time, all the hard drive data will vanish into air. Based on above, it is highly advisable and prudent to defrag your hard drive at regular intervals.

In an instance of Windows, you can configure an automatic disk defragmentation. Shirley Zhang is a data recovery expert in DataNumen, Inc. For more information visit www. Your email address will not be published. Share Now:. Although disk fragmentation doesn't affect too much of the normal work, it will significantly reduce running speed of hard disk. This is mainly because hard disk needs to jump between multiple pieces when it reads files. Latency of waiting for disc to rotate to the designated sector and seek time of head switching track are increased.

After computer has been used for a long time, disk holds a lot of files. These files are not saved on contiguous disk space but separately saved in some place. These pieces will lower overall performance of Windows. Disk contact needs to move back and forth each time it reads and writes files. This is a waste of time. So, Windows offers a defragging program. We also need to know disk read and write actions during program runtime after knowing the cause of disk fragmentation.

Generally, when we run one program, the head of the disk driver will do the following work: searching the files required to run this program, reading data, doing the reading processing and transferring data to disk cache and memory.

Search time is called average seek time on hard disk performance index. It is specified in milliseconds ms. The average seek time of disk is less than 9.

If the relevant documents of applications can be placed in continuous disk space, the search time of heads will be reduced a lot. It's the same with reading. When disk is read, system will check whether the data are in the cache. If they are, they will be directly read; if not, the disk will be accessed. This is called reading the disk. When the same data need to be read for multiple times, cache plays a great role. But if a file is read for the first time, cache can't do any thing.

Search time and read time largely affect efficiency of program execution. We carry out disk defragmentation, because Windows system can't put every file in the appropriate location of disk according to the principle of reducing search time of head. When an application is loaded, it knows searching and calling files during program start through monitoring disk access action.

When users perform disk defragmentation, the program will move related files of application into contiguous space on disk according to information in APP log.

Task Monitor only searches for file information during program loading process. It will adjust and optimize the order based on the loading frequency of the program.

This means that the software used the most times will be optimized best. Users need to repeatedly start common software, let Task Monitor track and record and then use Disk Defragment to sort. This can truly realize improving speed of application startup. But, if users change commonly used software, such as changing WinZip to ZipMagic, then for a long time, Disk Defragment will still move the files related to WinZip rather than ZipMagic into continuous space.

When the drive is being defragged the computer is moving the different parts and regrouping them in one location. The longer it has been since you last defragged the computer, the longer it will take to move the jumbled parts. The second thing the defrag processes worries about is where on the disk the files are being moved to.

A quick lesson in physics will show you that if you want on the outer edge of the disk you will be moving faster than if you stand on the inner edge, this is because the outer edge is longer and has to travel farther to make a full rotation.

This means that data that is near the outer rim can be accessed faster and thus the more often the file is accessed the higher priority it would have to be located on the outer edge. If you have a flash drive or a SSD Solid State Drive then you might be wondering if you should defrag them along with your hard drive. The answer is no, never. President of NSI, Tom has been helping small and medium businesses succeed in Connecticut for over 25 years.



0コメント

  • 1000 / 1000