Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Oct 2004 08:11:21 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        Brian Bobowski <bbobowski@cogeco.ca>
Cc:        FreeBSD User Questions List <freebsd-questions@freebsd.org>
Subject:   Re: make buildworld.........24 hours????
Message-ID:  <418384E9.8010601@mac.com>
In-Reply-To: <41838096.2080902@cogeco.ca>
References:  <1099096228.18749.149.camel@aaron.proficuous.com> <20041030003606.GA60037@xor.obsecurity.org> <41838096.2080902@cogeco.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Brian Bobowski wrote:
[ ... ]
>    One thing I have to wonder - how compatible is 'make buildworld' with
>    multiple build processes(e.g. 'make -j4 buildworld')? I know some
>    makefiles don't get along well with the -j parameter, but if
>    buildworld is okay with it, this may offer a way to keep the processor
>    busy rather than waiting for disk access all the time, which could
>    make things faster, especially on such low-memory machines.

Using -j is recommended only when you have lots of memory and can keep all of 
the processes resident in memory.  Trying to run a parallel build on a 
low-memory machine is almost certainly going to be much slower, since you are 
going to swap more, not less.

Time it for yourself and see...

-- 
-Chuck



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?418384E9.8010601>