From owner-freebsd-arch@FreeBSD.ORG Mon Jun 2 15:47:44 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 12D1537B401 for ; Mon, 2 Jun 2003 15:47:44 -0700 (PDT) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3E2743FA3 for ; Mon, 2 Jun 2003 15:47:42 -0700 (PDT) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by ns1.xcllnt.net (8.12.9/8.12.9) with ESMTP id h52MlZwk004284; Mon, 2 Jun 2003 15:47:35 -0700 (PDT) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.9/8.12.9) with ESMTP id h52MlZfA001600; Mon, 2 Jun 2003 15:47:35 -0700 (PDT) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.9/8.12.9/Submit) id h52MlZnV001599; Mon, 2 Jun 2003 15:47:35 -0700 (PDT) Date: Mon, 2 Jun 2003 15:47:34 -0700 From: Marcel Moolenaar To: Gordon Tetlow Message-ID: <20030602224734.GC1345@dhcp01.pn.xcllnt.net> References: <20030602171942.GA87863@roark.gnf.org> <20030602202947.GE87863@roark.gnf.org> <200306022125.h52LPhhc002291@apollo.backplane.com> <20030602214956.GG87863@roark.gnf.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030602214956.GG87863@roark.gnf.org> User-Agent: Mutt/1.5.4i cc: arch@freebsd.org cc: Matthew Dillon cc: Dag-Erling Smorgrav Subject: Re: Making a dynamically-linked root 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, 02 Jun 2003 22:47:44 -0000 On Mon, Jun 02, 2003 at 02:49:56PM -0700, Gordon Tetlow wrote: > On Mon, Jun 02, 2003 at 02:25:43PM -0700, Matthew Dillon wrote: > > > > In anycase, this is a convenience vs performance issue. I think a number > > of solutions should be investigated before people give up and start > > hacking dynamic vs static binaries. For example, a lot of startup delay > > is due to disk waiting (since nothing is in the disk cache at system > > start!). Running certain daemon startups in the background might yield > > a significant overall improvement in startup times. > > Actually, it was a diskless boot, so it was in the system cache. =) I > know this is a rigged demo, but the point is the same, yes, it's slower, > but we also have a huge gain from going to a dynamically linked world. > It would also serve as encouragement to get things like pre-binding and > caching working. Please do not rectify or relativate the performance loss of a 100% shared world by hinting towards pre-binding and/or caching. If the success of a 100% shared world depends on prebinding, then I suggest we abandon the attempt right here, right now. I don't think it is realized how big a wormhole prebinding really is. I support a 100% shared world, but we should not abandon staticly linked /bin and /sbin. Let's just create the mechanics to allow one to choose for whatever reason one might have to choose one way or the other and let's make sure that we nailed it completely. I don't want to see any entries in UPDATING to overcome switching from one to the other or to describe the steps required to do a trivial source upgrade. I suggest we get the functionality in without actually changing the default. We can change the default anytime after that when we are confident that we covered everything and have understanding of the overall impact of switching... My $0.02, FWIW ($0.02 presumably) -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net