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.
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to