Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jun 2003 18:04:56 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        arch@freebsd.org
Subject:   Re: Making a dynamically-linked root
Message-ID:  <20030603080456.GA57773@cirb503493.alcatel.com.au>
In-Reply-To: <200306022125.h52LPhhc002291@apollo.backplane.com>
References:  <20030602171942.GA87863@roark.gnf.org> <xzp4r3844eb.fsf@flood.ping.uio.no> <xzpznl02nry.fsf@flood.ping.uio.no> <200306022125.h52LPhhc002291@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030603080456.GA57773>