From owner-freebsd-arch@FreeBSD.ORG Mon Mar 31 04:19:48 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BE2737B401; Mon, 31 Mar 2003 04:19:48 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0559C43FBD; Mon, 31 Mar 2003 04:19:47 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from katana.zip.com.au (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id WAA04330; Mon, 31 Mar 2003 22:19:44 +1000 Date: Mon, 31 Mar 2003 22:19:43 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Ruslan Ermilov In-Reply-To: <20030331112420.GA9806@sunbay.com> Message-ID: <20030331221454.S18507@gamplex.bde.org> References: <20030329.163343.53040416.imp@bsdimp.com> <20030331042628.GA65700@sunbay.com> <20030331075623.GA82512@sunbay.com><20030331112420.GA9806@sunbay.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: arch@freebsd.org cc: "M. Warner Losh" Subject: Re: depend + all vs dependall X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2003 12:19:51 -0000 On Mon, 31 Mar 2003, Ruslan Ermilov wrote: > On Mon, Mar 31, 2003 at 09:06:07PM +1000, Bruce Evans wrote: > > On Mon, 31 Mar 2003, Ruslan Ermilov wrote: > > > On a Celeron 800 system with ATA100 disk using -j4 -DNOCLEAN buildworld > > > of RELENG_4 a friend reported the following times: > > > > > > Without patch With patch > > > real 69m43.271s 69m26.722s > > > user 38m22.009s 38m19.384s > > > sys 10m45.273s 10m41.596s > > > > > > Further reports show that on single-CPU systems with large CPU > > > cache the real time win was near what I have reported for 2-CPU > > > box, and it had no effect on small cache single-CPU systems and > > > -j builds. > > > > I think I understand why it often makes little difference: it saves > > a tree traversal, but costs an extra make process for each leaf > > directory. > > > Hardly so. My patch doesn't affect leaf directories; only > level 1 bsd.subdir.mk makefiles (*bin*/Makefile, etc.) are > affected by this parallelization. I thought that the above times were for dependall and was trying to explain why the optimization was so small. Bruce