Subject: Re: tmp in mfs and swap
To: None <michaelv@HeadCandy.com>
From: Gordon W. Ross <gwr@mc.com>
List: current-users
Date: 02/05/1996 11:13:34
> Date: Sun, 04 Feb 1996 11:37:47 -0800
> From: "Michael L. VanLoon -- HeadCandy.com" <michaelv@HeadCandy.com>
> > I've moved to use /tmp in memory file system (BTW, I've
> >seen a great performance gain, specially when compiling).
>
> Have you ever tried using the -pipe flag as a default build flag? It
> should nullify any need to run mfs /tmp, at least for compiling. I'd
> be curious if it makes a difference in your case. (Is there any
> reason -pipe isn't default in sys.mk? Does it use up *that* much more
> memory while building?)
Yes, absolutely! Running cc -pipe uses about twice as much memory,
and most of it is an active part of the VM working set. Machines
with small-ish memory size will loose badly with swap thrashing.
Gordon