Subject: Re: Is gcc slow? Or is our gcc slow?
To: None <thorpej@nas.nasa.gov, current-users@NetBSD.ORG>
From: H. J|ngst, ISKP, Bonn <juengst@saph1.physik.uni-bonn.de>
List: current-users
Date: 04/09/1996 03:02:58
> On Mon, 8 Apr 1996 00:40:30 +0200
>  juengst@saph1.physik.uni-bonn.de (H. J|ngst, ISKP, Bonn) wrote:
> 
>  > It is amusing to see that "-pipe" is still missing in sys.mk. Is the one
>  > SX386/4Mbyte crate still alive which prevents the usage of "-pipe" as
>  > default? ;-)
> 
> My MVME-147 would certainly rather not run the cpp, cc1, and as processes
> at the same time :-)

Sounds like the best environment for a multitasking/multiuser operation
system. :^)

Serious, I think it is time to make the change. Most systems have enough
memory today (but unixes can not handle it - oops :-). Disk I/O is a real
neck of a bottle in multiuser systems and therefore "-pipe" makes cc faster.
What's about the idea to make cc a little bit more intelligent and let it
decide alone if it should use pipes instead of disk I/O or not depending
on the remaining physical memory? Some statistics about the static and
dynamic memory usage calculated by the kernel would be very useful.

> 
> --------------------------------------------------------------------------
> Jason R. Thorpe                                       thorpej@nas.nasa.gov
> NASA Ames Research Center                               Home: 408.866.1912
> NAS: M/S 258-6                                          Work: 415.604.0935
> Moffett Field, CA 94035                                Pager: 415.428.6939

Henry