Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Dec 2006 14:34:51 +0100
From:      Andrzej Tobola <ato@iem.pw.edu.pl>
To:        freebsd-hackers@freebsd.org
Subject:   Re: [PATCH] "automated" make -j value
Message-ID:  <20061214133451.GA22897@amper.iem.pw.edu.pl>
In-Reply-To: <20061214041952.GA7513@dragon.NUXI.org>
References:  <20061214041952.GA7513@dragon.NUXI.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello David,

I was using hw.ncpu. Which one is better ?

% sysctl -n kern.smp.cpus hw.ncpu
1
1
% ssh vol sysctl -n kern.smp.cpus hw.ncpu
2
2
% ssh vol2 sysctl -n kern.smp.cpus hw.ncpu
4
4


cheers,
-a

On Wed, Dec 13, 2006 at 08:19:52PM -0800, David O'Brien wrote:
> With multi-socket systems becoming more prevalent, and the continued
> increase in cores per processors, I thought it would be nice for
> 'make -j' to gain some automation.
> 
> Attached is a patch that makes "-j-" be the same as
> "-j `sysctl -n kern.smp.cpus`" and "-j=" be twice that.



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