Fragmentation on harddisks in Windows
I got this thought when I watched the defragmentation display:
I have 67 % free space on my C: drive. The 33 % which contains data seems to be one big mixture of fragmented and contigous files.
Is it possible to write the info to the harddisk in a way that does not fragment the content ?
I still have ca 13 GB of free space. Couldn't some of this space have been used to store the data as unfragmented files ?
Or is there any utils that make this possible ?
I have 67 % free space on my C: drive. The 33 % which contains data seems to be one big mixture of fragmented and contigous files.
Is it possible to write the info to the harddisk in a way that does not fragment the content ?
I still have ca 13 GB of free space. Couldn't some of this space have been used to store the data as unfragmented files ?
Or is there any utils that make this possible ?
Post edited by Pilsener on
Comments
so yes there is a way, its just windows crappy way
Looking at the many many posts around the net via google about people asking how to defrag hard drives in Linux would suggest that they DO get the same problem - possibly not as much (how much I do not know) as Windows users based on what filesystem they're using.
hmm i never knew they had to defrag on linux
If you want to do the same on Windows get Diskeeper. The newer versions can defrag automatically when the processor is idle.
I don’t think I have the stomach for it.
--Raziel (Legend of Kain: Soul Reaver 2)
https://www.youtube.com/user/VincentTSFP
Many, many people ask the question out of ignorance based on past experience and expectations. Having said that, fragmentation is a property of the filesystem, not the operating system. Generally, all filesystems get fragmentent in some way or another, and that is not necessarily a bad thing. The problem with filesystem fragmentation occurs when most files, small or large, does not get a continous set of blocks, which happens quite early on in FAT and NTFS filesystems, especially with concurrent use.
An extN filesystem found in Linux goes out of it's way to avoid fragmentation and does usually not require defragmentation. Even if one file gets fragmented, that is not necessarily true for the next files. As long as the filesystem is not full, extN will perform quite reasonable independent of fragmentation.
Doing "live" defragmentation isn't really an option on Linux or Mac OS, since neither has APIs for safe, low-level manipulation of the file system, unlike Windows. It's also why they don't do any kind of background defrag (unlike Vista or Windows 7) other than that which naturally happens as files are read and re-written.
Is it such a problem in Windows OS's from XP though? I thought the disc access routines they wrote from XP onwards made fragmentation a minor inconvenience - or so the M$ hyperbole made out. I still like to see my drives in an unfragmented state whatever claims M$ make.
Main problem with fragmentation and disk wear in recent times is to do with torrents and p2p file sharing coz it just writes bits to your drive whenever it downloads a random chunk instead of reserving space and filling in the blanks.
Windows has always been shit for disk allocating, surprised it was never properly fixed.
Preferences -> General.
Tick the box that says pre-allocate.
It writes the whole thing with blank data as soon as you start downloading. Saves a fair bit on defragging.
I don’t think I have the stomach for it.
--Raziel (Legend of Kain: Soul Reaver 2)
https://www.youtube.com/user/VincentTSFP