I am going to clear up for you all what exactly a defragment does for all of you. If you get confused on terms just google them like so:
Define: track
Of course you do this in google and it will define them. Make sure you find the ones related to computing.
Your hard drive is made up of tracks, clusters, and sectors. Sectors are like peices of a pie, tracks are like rings around the pie/hdd, and clusters are small peices of data in all of the sectiors and tracks.
When you add data to your hdd, your computer finds the nearest available cluster for storing data. Cluster size is set up by your OS most of the time and avg. 1 KB on modern drives. Most files you store are more than 1 KB so they take up multiple clusters. If you have a file that is going to take up 5 clusters and the first cluster your comp finds only has 2 consecutive clusters, your computer will place data in the first 2 clusters and continue scanning for the next nearset available cluster. When it finds the next it will place the data there also. We will keep it simple and say that this newer empty cluster had 3+ consecutive clusters so the rest of the file is written to these clusters. Now you have what is called a fragmented file. This just means that the file is not all together but rather fragmented across your hdd.
When you go to open this file, your computer will open up the first 2 clusters into memory, and then move to the next set of 3+ where it wrote the other part. Then it will read all of the file into memory and do what it needs to. With a small file like this, you need not worry too much about the length it will take to open; but when you go to open say photoshop, which may be fragmented over 35 sectors and 12 tracks to make up 12,867 clusters, you can count on getting a bowl of ice creame and watching your favorite movie. (maybe not really that long but you get the point.)
Now over time, especially with people who like to download 100 things and then install them all at the same time, and then throw 98 if them out, the drive gets cluttered all up. Reading files becomes a chore for your hdd which must go all over the place running in circles to get your programs.
Defragmenting is going to do a lot for you. First off, it is going to check frequency of use of your files. More recent files will take priority over all of your other less used files. Once your comp has decided the waiting list of files and ranked everyone on that list, it begins to perform surgery.
First off, it will move your files on the inside of your hdd to the outside to allow consecutive write clusters on the inside of the drive. (why the inside you may ask: the inside requires the drive to spin less believe it or not. Usually the opposte is true but hdd are very complex)
Second, it will take your most often used files, like your OS, your favorite game, and that love letter your girlfriend wrote you that you still cant get over, and it will place them in the first section. It will continue moving closer files to the outside of the drive to allow consecutive clusters. It will also continue moving those files from the outside into organised clumps on the inside. This way all of your files are together on the inside of your drive.
Now that the hdd has a bunch of files on the outside it must move everything into the middle again and leave all of the space on the outside open to help make the drive stay cleaner longer.
That unfolds why it takes so long! It is like trying to clean out 5 filing cabinets at a time and never taking more than one file out at a time. (Im talking the 4 drawer high ones that are crammed with stuff).
Now for why this improves your life and your hdd's: Well it is pretty obvious that it is going to make your hdd work faster for retrieving files into memory for you. But doesnt it seem like you will run your hdd out faster by making it work so hard? It Doesnt!!!! Microsoft isnt totally stupid and I dont think they would do that. Especially considering they dont sell hdds! The amount of work your hdd does behind your back is amazing. Between opening and closing files, using temp files, running your OS, even letting your computer idle!!! (That uses your swap file like mad!)
I hope this has explained a little better as to what a defragment does. Sorry for any unclarities but it is 1:30 Am and i am not a night person.
Email me with any comments at
corey@truceco.com .
This post copyright (c) 2004 Truce Co. and Corey Ward.
(Makes sure nobody copies it to other forums to get more hits. Its all about Ozzu!)
PS: I do go after copyright violators!!!! COPYRIGHTED MATERIAL PROTECTED IS BY FEDERAL LAW AND INTERNATIONAL TREATIES!!!