From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: Q: Compile speed increase from 4MB to 8MB RAM Date: Tue, 17 Mar 1998 06:39:48 -0500 Organization: Cornell University (http://www.cornell.edu/) Lines: 31 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <350E6104.D67B4D8C@cornell.edu> References: <350e5279 DOT 14920980 AT 192 DOT 168 DOT 1 DOT 250> NNTP-Posting-Host: cu-dialup-1407.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk David Vrabel wrote: > > I currently have a 386sx20Mhz (Don't laugh I can't afford anything > better) with 4MB of RAM. I have configured the computer according to > the instructions in the FAQ. I am using DJGPP v2.01 and GCC 2.8.0. > > The problem is the incredibly long comple times (about 20 minutes) > particularly when using any part of the STL (ie. lots of templates). > > How much difference would an extra 4MB of RAM make to the compile > speed? (Actual figures would be nice if possible) i can't give you exact figures, but i can only tell you that it would be worth it. i would give smartdrv 1 MB cache, as opposed to the default 2 MB. (you don't mention which version of dos you are using and there are performance differences between the various versions of smartdrv.) i would also either not use emm386 at all, or at the very least, use it with the noems option. totally off the top of my head, i think you should see a two or three-fold improvement. also, how fragmented is your hard disk and is there enough room on it? if most of that time is spent with the heads moving all over the place, you may not get too much of an improvement. -- ---------------------------------------------------------------------- A. Sinan Unur Department of Policy Analysis and Management, College of Human Ecology, Cornell University, Ithaca, NY 14853, USA mailto:sinan DOT unur AT cornell DOT edu http://www.people.cornell.edu/pages/asu1/