Subject: Re: build.sh safe with -j4 ?
To: NetBSD Users <netbsd-users@netbsd.org>
From: George Georgalis <george@galis.org>
List: netbsd-users
Date: 11/21/2007 12:04:28
On Wed, Nov 21, 2007 at 01:06:05PM +0000, Matthias Scheler wrote:
>On Wed, Nov 21, 2007 at 08:31:35AM +0200, Jukka Marin wrote:
>> I'm running the following on a quad core i386 cpu, NetBSD 4.0 RC4:
>> 
>> ./build.sh -j 4 -O /test/tmp/obj -T /test/tmp/tools -R /test/nb4/release -D \
>> /test/tmp/dst -X ../xsrc -r -x tools release iso-image
>
>"-j 4" is not enough for a quad core CPU, you need "-j 8".

The OP didn't say he had dual quads... I use

-j$(sysctl -n hw.ncpu)

is that correct or should I double it?

// George


-- 
George Georgalis, information system scientist <IXOYE><