From owner-freebsd-arch@FreeBSD.ORG Fri Nov 24 00:07:18 2006 Return-Path: X-Original-To: arch@freebsd.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B595116A417 for ; Fri, 24 Nov 2006 00:07:18 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id C451243D68 for ; Fri, 24 Nov 2006 00:06:39 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by nf-out-0910.google.com with SMTP id x37so990114nfc for ; Thu, 23 Nov 2006 16:07:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=kszQ83hn1Dzmn8T7Qtt6urjkJiGfyY35RA+MR0WQuFpCniBP4MMsdHL5Fd0VJnmBqmZRLXaQIIClVcm0FVr6dmi2/kYwFCYFT3R+GfKBpZUm159a4PA3p6mrvERA6e39+Jg9evXDFBbTTYyZoBMY4herX/PodI1b9Ma2Jd+Tm0U= Received: by 10.78.69.7 with SMTP id r7mr9655033hua.1164326835771; Thu, 23 Nov 2006 16:07:15 -0800 (PST) Received: by 10.78.167.16 with HTTP; Thu, 23 Nov 2006 16:07:15 -0800 (PST) Message-ID: Date: Fri, 24 Nov 2006 03:07:15 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: "John Birrell" In-Reply-To: <20061123232035.GA56985@what-creek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061123232035.GA56985@what-creek.com> X-Google-Sender-Auth: 379c6526b9393844 Cc: arch@freebsd.org Subject: Re: Proposed change to make -j X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Nov 2006 00:07:18 -0000 On 11/24/06, John Birrell 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.