Mail Archives: djgpp/2000/03/01/22:39:17
On 1 Mar 2000 13:55:43 GMT, eplmst AT lu DOT erisoft DOT se (Martin Stromberg)
wrote:
>Kalum Somaratna aka Grendel (kalum AT crosswinds DOT net) wrote:
>: Using your example if you can allocate 64mb just allocate a 64mb! smartdrv
>: with write caching enabled and after the first compile all the other
>: compiles will almost certainly be ligtning fast, since after the first
>: compile the disk cache would have cached all the gcc.exe and librarys etc.
>: And there will be more efficient memory usage as there is no need to
>: allocate memory as in a ramdisk for the whole tool chain, for how many of
>: the tools do we actually use?
>
>Alas SMARTDRV seems only to be able to use 37MiB of memory
That's all you'll need, even for about the largest sources.
>Which options to it gives the maximum of write caching?
C:\>smartdrv c+ 16384
Gives 16 MB of RAM, enough to hold rhide.exe, djgpp.env, gcc.exe,
cc1(plus).exe, *.h, as.exe, ld.exe, and libc.a, along with what
you're compiling.
Boot into plain DOS and try this:
C:\SRC\HELLO>smartdrv c+ 16384
C:\SRC\HELLO>gcc hello.c -o hello.exe
C:\SRC\HELLO>gcc hello.c -o goodbye.exe
and, on the second run, see if it even hits the disk until the very
end of the toolchain.
--
Damian Yerrick http://yerricde.tripod.com/
Comment on story ideas: http://home1.gte.net/frodo/quickjot.html
AOL is sucks! Find out why: http://anti-aol.org/faqs/aas/
View full sig: http://www.rose-hulman.edu/~yerricde/sig.html
This is McAfee VirusScan. Add these two lines to your .sig to
prevent the spread of .sig viruses. http://www.mcafee.com/
- Raw text -