Re: Optimizing RCng execution speed ?

From: Tim Kientzle <tim_at_kientzle.com>
Date: Wed, 14 Apr 2004 10:45:15 -0700
Colin Percival wrote:
> Out of the total 4.88 seconds the major consumers are:
> 
> syslogd         0.89 s
> mountcritlocal          0.70 s
> fsck                    0.53 s
> sshd                    0.29 s
> initrandom              0.24 s
> 
> Also note that the 35 conecutive scripts {savecore ... LOGIN} which
> do nothing take under 0.01 seconds each 

Two questions come to mind:

  1) If you delete those 35 do-nothing scripts,
     what does that do to the boot time?

     (I've often wondered whether it was worth
     putting smarts into rcorder to simply
     skip do-nothing scripts.)

  2) What is syslogd doing for 0.89 seconds?

     I understand why mountcritlocal and fsck might
     take a while, but syslogd doesn't strike me
     as an obvious slow point.  (Unless it's waiting
     on a DNS lookup?  Can that be avoided with
     appropriate /etc/hosts entries?)

Tim
Received on Wed Apr 14 2004 - 08:45:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:51 UTC