delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/02/15:10:25

Date: Tue, 2 Jun 1998 19:04:39 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Gili <sl AT psycode DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: GCC for DOS and OS/2
In-Reply-To: <bWLoegW7sFse-pn2-XQVH0TCQMlWe@portE72.Generation.NET>
Message-ID: <Pine.SUN.3.91.980602190416.20326L-100000@is>
MIME-Version: 1.0

On 2 Jun 1998, Gili wrote:

> 	In GCC for OS/2, if you set the environment setting GCCLOAD=5, GCC 
> will remain in memory for 5 minutes after being run. This speeds up 
> compilation times drastically.. Is there a way to duplicate such 
> performance under GCC for DJGPP?

If you set up a disk cache that's large enough, you shouldn't need
this, as GCC will remain in the cache indefinitely (unless replaced by
a later load).

> It is extremely slow right now.. I am
> giving it 12MB ram to run under with 2MB diskcache. I don't understand
> why it loads from the HD so much.. Please clarify,

Please tell more about your system, including what CPU and OS do you
use.  Also, compare the compilation times with the table in chapter 7
of the FAQ and tell how does your system measure up.

In general, any reasonable machine with 12MB should be fast enough.  I
would suggest to bump up the cache to 3-4MB.  And make it use delayed
writes (see section 3.9 of the FAQ), it speeds up things quite a bit.

- Raw text -


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