From owner-freebsd-current@FreeBSD.ORG Tue Nov 25 21:43:41 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 4FF8916A4CE for ; Tue, 25 Nov 2003 21:43:41 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 353EB43FCB for ; Tue, 25 Nov 2003 21:43:40 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.9p2/8.12.9) with ESMTP id hAQ5hdlg045101; Tue, 25 Nov 2003 22:43:39 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 25 Nov 2003 22:43:19 -0700 (MST) Message-Id: <20031125.224319.118629587.imp@bsdimp.com> To: kutulu@kutulu.org From: "M. Warner Losh" In-Reply-To: <20031126052626.GI15294@wombat.localnet> References: <00a701c3b33c$f798c5e0$b9844051@insultant.net> <20031125.100653.28845083.imp@bsdimp.com> <20031126052626.GI15294@wombat.localnet> X-Mailer: Mew version 2.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: boyd@insultant.net 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:43:41 -0000 In message: <20031126052626.GI15294@wombat.localnet> Michael Edenfield writes: : * M. Warner Losh [031125 12:07]: : > In message: <00a701c3b33c$f798c5e0$b9844051@insultant.net> : > "boyd, rounin" writes: : > : 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. : > : > make buildworld slows down < 1% when you switch from static /bin/sh to : > dynamic. : : I'm all for dynamic / and dynamic /bin/sh, but this doesn't even come : close to what I observed on my systems. I see anywhere from 15% to 20% : slowdown in buildworld, depending on how bad my hardware already is. I : posted my most recent numbers earlier. My dual athlon make -j 4 buildworld differed by about 16-20 seconds on a 36 minute buildworld. : It's difficult to get lots of these numbers, unfortunately, because it : takes a good 6-8 hours just to complete one build. But the numbers are : fairly consistant across the different degrees of old crappy hardware I : have. So you are seeing a about an hour slowdown (16% slowdown on 6 hours is 1 hour) from before/after? Or are you seeing an hour slowdown from 4.x -> 5.2-beta? Also, so we can characterize where the suckage happens, how much RAM/CPU does your system have? Warner