Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Speed differences - be more specific (Miscellaneous)

posted by tom Homepage, Germany (West), 06.12.2007, 17:59
(edited by tom on 06.12.2007, 18:17)

> Reading is always significantly faster than writing. I'm quite certain
> that FreeDOS is a bit stupid with regards to how it handles file IO.

Dear enlightened Sol, would you care to share your deep insights into FreeDOS
internals that makes you say so ?

> Even if it appears fast, internal hard drive caches and the like can make it
> appear faster than it is.

BLAH BLAH BLAH.

> Besides, why would FreeDOS have a intelligent algorithms to read files,
> but a really stupid method to write them?

Because I optimized *read* operations, and don't care much about write operations.

> The concept behind writing intelligently is similar. It should write as
> many clusters as possible at once, and choose a contiguous free area. It
> should have an intelligent method for searching for free space, etc. Any
> stupidity here is more evident since the hard disk is much less likely to
> cache writes as much, since it leaves the HD in an unknown state if
> there's a power outage, etc (though some HDs have been known to...an OS
> programmer's bane).

Wow. This guy has *really* good knowledge of a filesystem.
Now sit down, grab your copy of the FreeDOS kernel source, and show the
rest of the world how it should be done. talk is cheap.

 

Complete thread:

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