From owner-freebsd-arch@FreeBSD.ORG Tue Jun 3 01:05:13 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 7203E37B401 for ; Tue, 3 Jun 2003 01:05:13 -0700 (PDT) Received: from cirb503493.alcatel.com.au (c18609.belrs1.nsw.optusnet.com.au [210.49.80.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id D388F43F3F for ; Tue, 3 Jun 2003 01:05:11 -0700 (PDT) (envelope-from peterjeremy@optushome.com.au) Received: from cirb503493.alcatel.com.au (localhost.alcatel.com.au [127.0.0.1])h53850p9057807; Tue, 3 Jun 2003 18:05:00 +1000 (EST) (envelope-from jeremyp@cirb503493.alcatel.com.au) Received: (from jeremyp@localhost) by cirb503493.alcatel.com.au (8.12.8/8.12.8/Submit) id h5384v1o057806; Tue, 3 Jun 2003 18:04:57 +1000 (EST) Date: Tue, 3 Jun 2003 18:04:56 +1000 From: Peter Jeremy To: Matthew Dillon Message-ID: <20030603080456.GA57773@cirb503493.alcatel.com.au> References: <20030602171942.GA87863@roark.gnf.org> <200306022125.h52LPhhc002291@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200306022125.h52LPhhc002291@apollo.backplane.com> User-Agent: Mutt/1.4.1i cc: arch@freebsd.org 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: Tue, 03 Jun 2003 08:05:13 -0000 On Mon, Jun 02, 2003 at 02:25:43PM -0700, Matthew Dillon wrote: > start!). Running certain daemon startups in the background might yield > a significant overall improvement in startup times. > > e.g. instead of running 'sshd' you would run sshd in a subshell, aka > (sshd &), so the RC script can continue on with the next thing without > having to wait for sshd to fault-in from disk. Same goes for sendmail > and many other daemons. This isn't a definite win. I know in the past it used to actually slow things down: To take your example, having both sshd and sendmail attempting to fault-in from disk in parallel will thrash both the disk and cache far more than sshd and sendmail sequentially faulting in. A very large number of daemons trying to start in parallel will also stress the scheduler. Peter