Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Question: best performance of hard disk reading (Users)

posted by RayeR Homepage, CZ, 22.07.2010, 00:14

> As I understand it with FAT16 it is 512 in a root directory (seen this many
> times), 65536 max but also
> depends on
> the size of the disk.

FAT16 can manage up to near 65536 clusters (cluster size is max 32kB [NT hack 64kB]) but there are some reserved values si this number is little bit smaller. Every FAT16 entry is 16bit number (index to next cluster in chain) so the FAT size is up to 128kB. There are usually 2 identical FAT copies on HDD that must be synchronized so it's enough to have one copy in memory. I doubt that DOS woul load entire FAT, it would fit but takes a lot of free mem. Of course cache program can put it in XMS :)
I don't understand the note about 512 root dir entries, it's small enough but larger dirs with thousands of files wil take several kBs. Directories are placed on verious places of HDD compared to FAT which is on stable place (no fragments) and it may take a long time to scan and load entire directory structure to RAM...

---
DOS gives me freedom to unlimited HW access.

 

Complete thread:

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