Re: [PATCH] "automated" make -j value

2006-12-14 Thread Garance A Drosehn
At 1:52 PM -0500 12/14/06, Kurt J. Lidl wrote: On Wed, Dec 13, 2006, 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

Re: [PATCH] "automated" make -j value

2006-12-14 Thread Kurt J. Lidl
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 > "-

Re: [PATCH] "automated" make -j value

2006-12-14 Thread Andrzej Tobola
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 becom

[PATCH] "automated" make -j value

2006-12-13 Thread David O'Brien
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. I've also thought th