delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/01/22:39:17

From: Damian Yerrick <DONT DOT YOU DOT DAREd_yerrick AT hotmail DOT comSEND DOT SPAM>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: rhide compile..
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <3knqbs0anek0kk172olksu40ojbrnulpio@4ax.com>
References: <Pine DOT LNX DOT 4 DOT 10 DOT 10002290538530 DOT 1008-100000 AT darkstar DOT grendel DOT net> <89j7gv$rme$1 AT antares DOT lu DOT erisoft DOT se>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 38
X-Trace: /b4C/HO/t9GKv56Bw1p0lAjMpRqyd95nRD20+sXk0oFvpso+lPOeLBZgD/xHuiQHNOF9Z/7K+LkN!/RNmDfPChe7P7CeoAbdugAca3NnGyC7Q1ocXv9gYsYOpEIfq3qtaiy6F+Em84IK4/u+q+Rh3lpBv!aIc=
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Wed, 01 Mar 2000 18:23:51 GMT
Distribution: world
Date: Wed, 01 Mar 2000 18:23:52 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019