From owner-freebsd-current@FreeBSD.ORG Tue Nov 25 21:24:05 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 1D77316A4CE for ; Tue, 25 Nov 2003 21:24:05 -0800 (PST) Received: from basement.kutulu.org (pcp03610121pcs.longhl01.md.comcast.net [68.49.239.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id C28AC43FE0 for ; Tue, 25 Nov 2003 21:24:03 -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 D5053A904; Wed, 26 Nov 2003 00:24:02 -0500 (EST) Received: by wombat.localnet (Postfix, from userid 1001) id 869D4B855; Wed, 26 Nov 2003 00:23:21 -0500 (EST) Date: Wed, 26 Nov 2003 00:23:20 -0500 From: Michael Edenfield To: "boyd, rounin" Message-ID: <20031126052320.GH15294@wombat.localnet> Mail-Followup-To: "boyd, rounin" , freebsd-current@freebsd.org References: <200311251214.23290.doconnor@gsoft.com.au> <00a701c3b33c$f798c5e0$b9844051@insultant.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MP5ln1Rcf9Bvi+ZW" Content-Disposition: inline In-Reply-To: <00a701c3b33c$f798c5e0$b9844051@insultant.net> 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 05:24:05 -0000 --MP5ln1Rcf9Bvi+ZW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline * boyd, rounin [031125 05:16]: > i see that there some doubt about whether running lots of > shell scripts ever happens. what happens when you > use make? lots of shells get run and they run small > (one line?) scripts. Just to provide some real-world numbers, here's what I got out of a buildworld: Static /bin/sh: real 385m29.977s user 111m58.508s sys 93m14.450s Dynamic /bin/sh: real 455m44.852s user 113m17.807s sys 103m16.509s The dynamic /bin/sh caused just over an 18% performance hit on the make process, everything else being equal (the rest of my / is dynamically linked). It may seem like a pretty large performance hit, but to my the difference between a 6-hour and a 7-hour world build is just an extra hour of Quake :\ --Mike --MP5ln1Rcf9Bvi+ZW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/xDjHCczNhKRsh48RAupFAJ0bRrGV3L98HDi0+5WC7umwkwKKHgCeLAfs EYwQAMK/we1VT01UIZNhK24= =9512 -----END PGP SIGNATURE----- --MP5ln1Rcf9Bvi+ZW--