From owner-freebsd-current@FreeBSD.ORG Wed Nov 26 06:44:43 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D24FE16A4CE for ; Wed, 26 Nov 2003 06:44:43 -0800 (PST) Received: from basement.kutulu.org (pcp03610121pcs.longhl01.md.comcast.net [68.49.239.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61EEF43F75 for ; Wed, 26 Nov 2003 06:44:40 -0800 (PST) (envelope-from kutulu@kutulu.org) Received: from wombat.localnet (wombat.localnet [192.168.69.3]) by basement.kutulu.org (Postfix) with ESMTP id E6987A904; Wed, 26 Nov 2003 09:44:39 -0500 (EST) Received: by wombat.localnet (Postfix, from userid 1001) id EBEB5B855; Wed, 26 Nov 2003 09:43:58 -0500 (EST) Date: Wed, 26 Nov 2003 09:43:57 -0500 From: Michael Edenfield To: Garance A Drosihn Message-ID: <20031126144357.GK15294@wombat.localnet> Mail-Followup-To: Garance A Drosihn , freebsd-current@freebsd.org References: <200311251214.23290.doconnor@gsoft.com.au> <00a701c3b33c$f798c5e0$b9844051@insultant.net> <20031126052320.GH15294@wombat.localnet> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="g4MvFqI7wmANiPDo" Content-Disposition: inline In-Reply-To: X-Mailer: Mutt http://www.mutt.org/ X-Accept-Language: en X-PGP-Key: http://www.kutulu.org/pgp/kutulu.asc X-PGP-Fingerprint: 1CE0 3C31 7013 D529 406D 37DC 09CC CD84 A46C 878F User-Agent: Mutt/1.5.5.1i cc: freebsd-current@freebsd.org Subject: Re: 40% slowdown with dynamic /bin/sh X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 26 Nov 2003 14:44:44 -0000 --g4MvFqI7wmANiPDo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Garance A Drosihn [031126 06:56]: > At 12:23 AM -0500 11/26/03, Michael Edenfield wrote: > > > >Just to provide some real-world numbers, here's what I got > >out of a buildworld: >=20 > I have reformatted the numbers that Michael reported, > into the following table: >=20 > >Static /bin/sh: Dynamic /bin/sh: > > real 385m29.977s real 455m44.852s =3D> 18.22% > > user 111m58.508s user 113m17.807s =3D> 1.18% > > sys 93m14.450s sys 103m16.509s =3D> 10.76% > > user+sys =3D> 5.53% Since I forgot to include this information (sorry!): Both runs were done by doing: rm -rf /usr/obj sync script cp -f /bin/sh.{dynamic,static} /bin/sh file /bin/sh time make -j 4 buildworld They were on a single CPU Athlon 500 with 320MB of RAM. I actually don't normally do -j 4 on this system, only -j 2, but I'm use to building on the dual Athlons we use to make production kernels and it slipped in. Since it takes hours to run once it's started I just let it run. :) --Mike --g4MvFqI7wmANiPDo Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/xLwtCczNhKRsh48RAt/6AJ424f3bavQj+EC2jVB0oIjPJ8qSWgCgsWQS l822Jo0T8MhIAgRXoTokaS0= =4jPs -----END PGP SIGNATURE----- --g4MvFqI7wmANiPDo--