From owner-freebsd-arch@FreeBSD.ORG Mon Mar 31 05:27:05 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 8EDAD37B401 for ; Mon, 31 Mar 2003 05:27:05 -0800 (PST) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8C4043F3F for ; Mon, 31 Mar 2003 05:27:01 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h2VDQjAP023293 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 31 Mar 2003 16:26:46 +0300 (EEST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.8/8.12.8/Submit) id h2VDQgTg023284; Mon, 31 Mar 2003 16:26:42 +0300 (EEST) (envelope-from ru) Date: Mon, 31 Mar 2003 16:26:42 +0300 From: Ruslan Ermilov To: Bruce Evans Message-ID: <20030331132642.GA21700@sunbay.com> References: <20030329.163343.53040416.imp@bsdimp.com> <20030331042628.GA65700@sunbay.com> <20030331165732.Q17731@gamplex.bde.org> <20030331075623.GA82512@sunbay.com> <20030331203247.F18282@gamplex.bde.org> <20030331112420.GA9806@sunbay.com> <20030331221454.S18507@gamplex.bde.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dDRMvlgZJXvWKvBx" Content-Disposition: inline In-Reply-To: <20030331221454.S18507@gamplex.bde.org> User-Agent: Mutt/1.5.4i 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 13:27:06 -0000 --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 31, 2003 at 10:19:43PM +1000, Bruce Evans wrote: > On Mon, 31 Mar 2003, Ruslan Ermilov wrote: >=20 > > 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 buildw= orld > > > > 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. >=20 > I thought that the above times were for dependall and was trying to > explain why the optimization was so small. >=20 No, they were for my 2-lines patch to Makefile.inc1 that adds par-all. Warner's change uses par-dependall, so to make the time comparison fair, I asked him to re-test with my patch (par-depend + par-all). Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --dDRMvlgZJXvWKvBx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+iEISUkv4P6juNwoRAq8SAJ4sULXD3LvljHygFYQg3OGd0c6DxQCfZyqC JkaJyxkxh6F0lHRO7sn6F6E= =3E1L -----END PGP SIGNATURE----- --dDRMvlgZJXvWKvBx--