their are 2 main reasons for this...
1) The file system, NTFS is FAT32 are seriously out dated. reiserfs, Xfs and Jfs would be much better solutions, but unfortunatly, microsoft are planning on sticking with NTFS for longhorn.
there is nothing we can do about this.
2) The SWAP file !
first a definition of the swap file (sometimes called virtual memory)
All running programs need to be stored in RAM. to keep the RAM clean, and maximise the amount of programs you can have running, RAM which hasnt been accessed fro a while is removed from ram, and swapped onto the hard disk, when it is next needed, it swapped back in. basically, it allows you to use a much slower, but larger hard disk, asif it were RAM memory.
now, the porblem.
the swap file is a single file which can often grow upto a gigabyte in size. this file is constantly growing, shrinking, moving. which causes it, and all other files on your disk to become fragmented.
the swap file is a NIGHMARE.
the solution.
Other OS's like Unix, BSD and Linux have a simple yet highly efficiant way to completely prevent this kind of fragmentation...
they dont have a swap file, they have a swap partiton.
unlike a file within the main file system, a partiton is a seperate area of the disk, completely unrelated to the main root filesystem.
in the old days, a swap partiton was annoying because a partiton always takesa certain amount of space, it cannot grow or shrink like a file. so if you have a 1gig swap partiton, you will always have 1 gig missing from your disk, even if the swap is unused. however today, a singl;e gigabyte is nothing, hard drives are massive. the difference between a 40gig and80gig disk is £10.
implementing the solutions...
1)The easy solution would be to simply to turn the virtual memory / Swap Off in the memory management of the ocntrol panel, however unless you have alot or ram, you run the risk of crashing if your memory is dipleated.
2) add a second hard disk, prefferable ona different IDE channel an use that as purely swap.
3) the super fun cool hack way....
re-partiton your windows disk, and add a swap partiton.
to do this without having to format the disk you will need a liveCD called knoppix (http://knoppix.org)
burn the cd iso to a cdrom and boot it.
you need to do this because you cannot repartiton a mounted disk.
in the main menu once you have booted the disk is a porgram called qt-parted.
this is a graphical forontend to a free partiton tool called "parted"
its very simple to use, shrink your windows partiton by the amount of swap you want to use... 1Gb should be more than enough unlesss you do some hard core multimedia editing.
in the empty space at the end of your disk, add a new partiton and format is as "vfat" which is anouther name for "fat32" fat32 is flaster than NTFS, and because the partiton is only 1Gb in size, we dont needs NTFS's abilites to hold files greater than 4GB.
re-boot windows, in the cotrol panel, set the swap files ocation to the newly grated partiton (probably labeled D:/)
THEN boot knoppix again, and delete the old swap file from windows C:/ disk.
THEN defragment your both partitons.
you should now dotice then the main partiton needs defragmenting less often.


