From owner-freebsd-current@FreeBSD.ORG Mon Nov 24 17:43:16 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 EA35016A4CE for ; Mon, 24 Nov 2003 17:43:15 -0800 (PST) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5539543FDD for ; Mon, 24 Nov 2003 17:43:13 -0800 (PST) (envelope-from doconnor@gsoft.com.au) Received: from localhost (localhost [127.0.0.1]) by cain.gsoft.com.au (8.12.9/8.12.8) with ESMTP id hAP1h1hk054112; Tue, 25 Nov 2003 12:13:01 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: frank@exit.com Date: Tue, 25 Nov 2003 12:12:59 +1030 User-Agent: KMail/1.5.3 References: <200311250106.hAP16qNp018512@realtime.exit.com> In-Reply-To: <200311250106.hAP16qNp018512@realtime.exit.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200311251212.59933.doconnor@gsoft.com.au> X-Spam-Score: -3.6 () CARRIAGE_RETURNS,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_05_08,USER_AGENT,USER_AGENT_KMAIL X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) cc: freebsd-current@freebsd.org cc: Andrew Gallatin 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: Tue, 25 Nov 2003 01:43:16 -0000 On Tuesday 25 November 2003 11:36, Frank Mayhar wrote: > Daniel O'Connor wrote: > > What _REAL WORLD_ task does this slow down? > > I think the point was that, in this particular "worst" case, it's a forty > percent performance hit. What's the average case? What's the case for a > "real world" pipeline with a lot of tiny little static binaries? > > I dislike this decision enough that I'm actually considering going away > from FreeBSD, something I really had never for a moment thought possible. > It's even worse that you deride someone who tried to shed a little light > on the discussion. It is _trivial_ to buildworld with a static root. > The performance hit is real. Even if it's not forty percent it's worth > consideration, no matter how much you may want to shout down those who > disagree. Of course it's real! I am not disputing that. It's just that I believe most people don't run /bin/sh so much it matters. If they do, then building it static is simple. > > My production systems don't spin in infinite loops spawning shell > > processes which die straight away. > > Uh, _huh_. Well, can you _imagine_ a scenario in which a "production > system" might actually do something along those lines? _I_ can. Think a > system of shell scripts. Sigh. Surely you don't run /bin/sh so frequently it has an appreciable impact.. Again, if you do, buildworld with static binaries. System shell scripts run mostly at boot, this is not what the PC spends most of it's time doing. If you have a file, web, mail, database, etc server it's predominant application is already dynamically linked. > I can guarantee you that you have no idea _at all_ what is "of relevance to > most users of FreeBSD." It is nearly axiomatic that developers cannot > imagine the uses to which their users put their systems. I'm not a committer, I use FreeBSD and I submit PRs. Perhaps we should run a survey to determine what > > If it is for you then just build your world with static root. > > Kind of defeats the purpose, don't you think? ?! Not really, if you want the performance back, then build statically. > Feh. This is utterly ridiculous. Yeah, I understand why you guys made > the decision. It's the same set of reasons a lot of other people in the > past have made the same or similar decisions. We'll see if you get burned > by it, as many of those other people were. Why didn't you pipe up when this was discussed _long_ ago? I don't understand why you can't buildworld with static slash if you feel so strongly about it. If you are deploying FreeBSD on servers you should build your own release anyway (which is hardly an onerous task). -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5