From owner-freebsd-current@FreeBSD.ORG Wed Apr 14 10:45:21 2004 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 C1C1616A4D1 for ; Wed, 14 Apr 2004 10:45:21 -0700 (PDT) Received: from kientzle.com (h-66-166-149-50.snvacaid.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B26643D5C for ; Wed, 14 Apr 2004 10:45:21 -0700 (PDT) (envelope-from tim@kientzle.com) Received: from kientzle.com (p54.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id i3EHjK90030283; Wed, 14 Apr 2004 10:45:21 -0700 (PDT) (envelope-from tim@kientzle.com) Message-ID: <407D78AB.1000700@kientzle.com> Date: Wed, 14 Apr 2004 10:45:15 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20031006 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Colin Percival References: <11095.1081621779@critter.freebsd.dk> <407B1EBC.6050405@freebsd.org> <407B234D.7070209@kientzle.com> <20040413160331.GM6308@numachi.com> <20040413200013.GC53327@cirb503493.alcatel.com.au> <6.0.1.1.1.20040414065121.039cde20@imap.sfu.ca> In-Reply-To: <6.0.1.1.1.20040414065121.039cde20@imap.sfu.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Peter Jeremy cc: current@freebsd.org Subject: Re: Optimizing RCng execution speed ? 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: Wed, 14 Apr 2004 17:45:21 -0000 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