Subject: Re: -pipe significantly boosts up kernel compile speed
To: None <email@example.com>
From: Izumi Tsutsui <firstname.lastname@example.org>
Date: 07/05/2002 04:43:12
In article <20020705042304.A201@krishna>
> I have just tested with a plain old Pentium 166 machine that has
> 64MB of memory:
> Obviously, -pipe was effective on a slow machine as well.
The Pentium 166 is still much faster machine for me ;-)
My news68k is 25MHz 68030 with 16MB memory.
> One thing interesting here is, with -pipe swap size grew up to 10MB
> during build, while without -pipe no swapping occurred.
Then it might cause thrashing on machines with less memory.
The penalty on such machines would be much bigger than
advantage on faster machines.
Instead of making it default, you could specify COPTS="-O2 -pipe"
in kernel config files.
> Why don't you just mount /var/tmp as MFS?
See hier(7) man pages:
> /tmp/ temporary files, usually a mfs(8) memory-based filesystem (the
> contents of /tmp are usually NOT preserved across a system re-
> /var/ multi-purpose log, temporary, transient, and spool files
> tmp/ temporary files that are not discarded between sys-
> tem reboots