Reply 360 of 364, by Grzyb
- Rank
- l33t
_Krille_ wrote on Yesterday, 22:36:Grzyb wrote on 2025-07-15, 12:54:It seems necessary to keep two versions of the driver (6,144 vs. 10,672 Bytes of memory used), eg. NDSMALL.SYS and NDFAST.SYS.
A better solution is to provide the read-ahead cache size as a parameter on the CONFIG.SYS command line. Then you can decide yourself exactly how much memory you want to spend on the read-ahead caching. In other words, a compromise between transfer speed and memory usage. The next (not yet released) version of my driver works this way.
Seems a good idea.
It is possible for a driver to allocate extra memory during initialization, but not after init, eg. when connecting the drive, right?
Kiełbasa smakuje najlepiej, gdy przysmażysz ją laserem!