From owner-freebsd-current@FreeBSD.ORG Wed Feb 13 14:27:19 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44C0416A417 for ; Wed, 13 Feb 2008 14:27:19 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 1E32613C458 for ; Wed, 13 Feb 2008 14:27:18 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.ws.pitbpa0.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id 1F918EBC3B; Wed, 13 Feb 2008 09:08:43 -0500 (EST) Date: Wed, 13 Feb 2008 09:08:42 -0500 From: Bill Moran To: Ed Schouten Message-Id: <20080213090842.65b240e6.wmoran@potentialtech.com> In-Reply-To: <20080213073155.GA1340@hoeg.nl> References: <20080213073155.GA1340@hoeg.nl> X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Ian FREISLICH , current@freebsd.org Subject: Re: Testing box available. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2008 14:27:19 -0000 In response to Ed Schouten : > * Ian FREISLICH wrote: > > As an aside, a 64 way parallel make buildworld doesn't saturate the CPU. > > I'm not sure, but I think if you do this: > > make -j64 > > it only spawns 64 processes to handle the top level make process. This > would mean we've got a couple of processes doing this: > > make -C bin > make -C lib > make -C sbin > make -C usr.bin > make -C usr.sbin > > and the other processes will just quit, because they don't have anything > to do. Right? :-) Basically, -j tells make the _maximum_ number of jobs to run in parallel. I frequently do -j99, but I've never seen more than about 20. You can't just look at it for a second, either. Certain parts of the build process have more parallelism available than others, so you might look at it at a point where there are only a few. If you really want to saturate it, copy the src tree a few times and start a make -j99 buildworld in all of them simultaneously :D -- Bill Moran http://www.potentialtech.com