Mail Archives: opendos/2000/05/01/07:27:46
Joseph Morris wrote:
>The problematic task is loading approx 6MB of data into memory from a number
>of files in a directory tree. For development purposes each file can come
>from one of three locations and each must be checked in turn before deciding
>which version of the file to load, since files from some locations can
>override others.
>
>So there is not only the loading but also checking for existence of files
>(which the profiler claimed was a bottleneck).
>
>With this in mind, what would be the optimum caching arrangement?
A disk cache that can handle more than 7 MB would probably help (SmartDrv
from Win95 OSR2 has a max at ca 36.5M). Another thing you can do is to put
your temp directory on a ramdrive, with 96MB of RAM allocating 32MB for a
ramdrive (and 36.5 for disk cache) you'll still have plenty of memmory left.
Putting command.com on the ramdrive (and changing the comspec setting) will
also speed up things (if you often exit programs that have made command.com
being unloaded or the program uses comspec).
To increase the speed for finding files you should remove all files that
you don't need.
//Bernie
http://bernie.arachne.cz/ DOS programs, Star Wars ...
- Raw text -