Date: Fri, 24 Nov 2006 03:07:15 +0300 From: "Andrew Pantyukhin" <infofarmer@FreeBSD.org> To: "John Birrell" <jb@what-creek.com> Cc: arch@freebsd.org Subject: Re: Proposed change to make -j Message-ID: <cb5206420611231607r4e9194a4td99b083f0c90fe71@mail.gmail.com> In-Reply-To: <20061123232035.GA56985@what-creek.com> References: <20061123232035.GA56985@what-creek.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/24/06, John Birrell <jb@what-creek.com> wrote: > Currently 'make -j' reports an error if the number of jobs > isn't specified. > > I'd like to change make(1) to treat -j (without a number) as > meaning "set the number of jobs to the number of processors". > > On sun4v, each processor isn't too powerful and system performance > is only decent when you use all the processors - 32 in my case. > > I've been working on a parallel 'make release' process which > would benefit from having -j set by default. At the moment I > set MAKEFLAGS=j32 in my environment and this achieves the desired > result, but -j would be more general. > > Thoughts? Sounds very nice. It wouldn't make much difference to me, but (number of cpu's + 1) seems like a good value, too.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cb5206420611231607r4e9194a4td99b083f0c90fe71>