A particularly important cause of poor performance in Windows is the fragmentation of files across your hard drive. When the machine is new and the disk not completely filled, files will tend to be written on the disk such that they can be accessed with minimal effort by the hard drive. However, as your use of the machine continues, files will be written and deleted all across the surface of the hard drive, and this can result in your files being 'fragmented'. Although this sounds dangerous or painful, the major consequence will just be slow file access. The reason for this is that the reading head of the hard disk drive has to move around more to retrieve all the parts of your file when requested. Imagine that your file is the complete works of Shakespeare and the reading head is a librarian in a library. In the interests of saving the librarian time and space when saving Shakespeare's plays (your file), each volume is placed wherever there is a space on the bookshelves. Now when you want to access the complete file, the librarian visits each of the carefully recorded shelves in the library to reassemble the complete works.
While this is not problematic, it can be slow. If you have small files, and reading files from disk is not a bottleneck for you, then file fragmentation may not be a significant concern.
But, fragmentation can affect everything on your PC too. The temporary files which Windows needs can become excessively fragmented, as well as files that are parts of program installations, and so on.
Fortunately, you can easily reverse the effects of file fragmentation by 'defragmenting' your hard drive. The procedure is straightforward, in principle at least! In effect, you shuffle the books in the library so that you can place each file's parts sequentially.
The officially recommended approach to defragmentation is to find your hard drive in the Windows Explorer, right-click on it and select Properties, then under Tools, select DeFragment Now...
I have to admit that I have not had much success with this approach. For me, the problem has simply been that this basic defragmentation process takes too long to complete. If you have a faster hard drive than I, then you may find that this built-in Windows defragmentation is all that you need.
I prefer to use JkDefrag (http://www.kessels.com/JkDefrag). This is a free open source program that makes use of the standard operating system calls to defragment files on your hard disk. If you visit the site you will find a downloadable zip file for your specific type of Windows (either 32 or 64 bit) and once you have that zip file on your machine you will find within it several simple executable files. The simplest approach is to simply run JkDefrag.exe. This will run the defragmentation process, no installation is required, and you will see a graphical window indicating the state of progress. The defaults work very well for the program, but if you are interested there is also good documentation, so you can delve into the details of the algorithm and its strategy and the tune the defragmentation for your particular needs.
You will probably want to turn off virus scanners prior to conducting the defragmentation, as these programs monitor disk access and will magnify the amount of work that your machine will need to do during defragmentation. As you are going to be without virus protection, you should probably also take the machine off the internet, not check email and so on while the defragmentation is underway.
At this point you might want to reflect on the fact that file fragmentation is significantly less problematic for Linux and Mac users. This is because the file systems in use in these operating systems do not store files in close proximity to one another making the likelihood of having to separate parts of a given file much lower. This effects performance a little, but makes fragmentation unlikely. As always there is a tradeoff and the consequence of the tradeoff for Windows users is the need to occasionally defragment.
However, JkDefrag is fast, and you will soon have your disk and files neatly organized, and your PC running faster.
Published by ZZ Thompson
- Solid State Drive Vs. Conventional Hard Disk Drive: Which is Right for You?A contrast and comparison of solid state drives (SSD) and tried and true hard disk drives when making a computer purchase
- Fantec: Hard Disk Player with Admission FunctionHard disk player with admission function
- All About the Reiser FS Hard Disk File SystemThere are many different hard disk file systems around these days. I will investigate the benefits of using the little known ReiserFS file system.
- Lost a File in Your Hard Disk? Here's How to Find it Fast Here are some tips on how to quickly find a lost file in the hard disk.
- How to Maintain a Healthy Hard Disk?A computer is a complicated, irregular piece of equipment, and every now and then things can, and do, go wrong.
- How to Load New Programs on Your Computer
- Improving Windows Performance
- Computers: How to Reduce Hard Disk Thrashing & Noise
- My JVC Everio Hard Disk Camcorder Brings Me Back in Time
- Sony PS3 to Feature Larger Hard Disk Drive
- Toshiba to Make Industry's Largest Hard Disk Drive
- Panasonic SDR-H18: Hard Disk Drive and SD Memory Card Video Recording




5 Comments
Post a CommentThanks for the feedback Jackheath - good to know JkDefrag performed for you - don't neglect the T it helps in the avoidance of scurvy!
It Worked! I went for a quick G&T, & when I got back it was complete!
Great. Now I can fit a defrag in with gin consuption, what could be finer!
I have been looking for a good (free) defrag tool for ages. Some take ages. I will run this & report tomorrow.
Thanks for your kind words DD!
This is very useful and very clearly explained - thank you! I will certainly try it when my PC starts slowing down, which it inevitably will.