You are invited to Log in or Register a free Frihost Account!

What is this defragmentation??

I hope all of u guys r familiar with defragmentation utility of windows. Most of u might have defragmented ur drives for faster access. I will tell this stuff with some details. We have FAT32 file system supported by windows. FAT32 is designed to handle the dynamic nature of files. Files may grow & shrink. The disk space needs to be maintained in such circumstances. I will explain with an example. Let us suppose u have created two files temp1.txt & temp2.txt. initially temp1.txt occupies say a cluster (i.e. 4 KB) & its located at 100th cluster, temp2.txt spans 2 clusters(8 KB) & that file is located at 101st & 102nd clusters. Now u add another 4 KB of contents to temp1.txt. The file size increases but there is no space to include the enhanced contents at the next cluster (Bcoz the next cluster, 101 is occupied by temp2.txt). So, the enhanced contents of temp1.txt will be placed at some other free cluster, say 500th cluster & a linked list will be maintained in the table called File Allocation Table (FAT) using which we can track down the chain of clusters occupied by temp1.txt. The list looks like the following

100 -> 500 -> NULL.

That means the first part of temp1.txt is stored at 100th cluster, the second part is stored at 500th cluster & the 500th cluster is the end of this chain (last part of the file).

The splitting of files is called fragmentation. Fragmentation has a disadvantage of slow access time due to the movement of heads to another sector. That's why Microsoft has given the utility called "Defragmentation". A drive after defragmentation has all its files arranged in a sequential clusters (or some order of clusters through which maximum speed is achieved) so that the whole file can be read with minimum head seeks. That speeds up ur system.
Here a easier way:
The process of rewriting parts of a file to contiguous sectors on a hard disk to increase the speed of access and retrieval. When files are updated, the computer tends to save these updates on the largest continuous space on the hard disk, which is often on a different sector than the other parts of the file. When files are thus fragmented, the computer must search the hard disk each time the file is opened to find all of the file's parts, which slows down response time.
Sorry, what is the question again?
are you asking question? or explaining something?
it looks like the author of the thread is trying to explain what is defragmentation, rather than enquiring about what it is... Very Happy
Yeah. I think he should change the title. I was even thinking of the answer I'm going to give him but when I entered this thread, he gave me the answer instead.
Related topics
Slow startup
This is how to convert Ntfs to FAT32
slow start up
Memory (RAM) Problem
How much music do you have?
Formating & the Hard disk
how long does it take to defrag my HDD
Speeding Up Your PC
Linux Quotes [:d]
Increase XP NTFS Performance
For Defragmentation
Reply to topic    Frihost Forum Index -> Computers -> Software

© 2005-2011 Frihost, forums powered by phpBB.