Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Defragmentation FAT32 volumes (Users)

posted by Rugxulo Homepage, Usono, 06.07.2008, 17:04

> > However it works very good. I run it on 2GB FAT32 partition and it took
> > about 35-40 minuts. It can also handle LFNs even without DOSLFN loaded.
> > (it was a full defragmetnation - files and free space too)
>
> IMO that's a bit slow, but the time might depend to a large degree on how
> "full" the HD is (if it is a "safe" defrag). Therefore better test cases
> are 8, 20, 40 GB HDs with at least 1-2 GB free space.
>
> For example, on a modern PC with 1 GB memory, the "min" time for a full
> and safe defrag of 20 GB, transfer speed 50 MB/s:
>
>
> read  20 GB * 2: 400s * 2: 800s
> +write 20 GB * 2: 400s * 2: 800s
> --------------------------------
> 1600s = 27 min


I think that's a bit optimistic, to say the least. And from my experience, it is always (falsely) suggested to defrag upon clean boot. But things like UDMA really do help speed a lot (and I mean really really really help). But I don't use FAT32 as much as FAT16. Yes, I'm aware of the size limitation, but it's inherently faster than FAT32 anyways, and you can always have/use more than one partition.

To be honest, I don't know of any huge reason why FAT32 defragging would be slow (memory limitations due to larger FAT in memory??). If you have the free space, it might? be easier to just copy everything over to a newly-created FAT32 partition, then "format /u" the old and "xcopy /s" it right back. Remember that WinXP etc. only let you create < 32 GB FAT32 partitions because it's (supposedly) very slow doing anything on sizes greater than that. FAT32 doesn't waste as much cluster space as FAT16, so it's alleged to be better on > 512 MB partitions, but the speed isn't as good. Of course, you're not limited to 2 GB total partition size, and individual files can (theoretically, but not in FreeDOS?!) be max. 4 GB.

BTW, why defrag at all? Aren't newer machines "fast enough"?? (Gotta love how that gets bandied around so much, heh.)

(Corrections welcome, I'm no pro on this junk.)

 

Complete thread:

Back to the forum
Board view  Mix view
22752 Postings in 2119 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum