From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 20 14:20:43 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 698BF106567B for ; Wed, 20 Jun 2012 14:20:43 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id CA68C8FC08 for ; Wed, 20 Jun 2012 14:20:42 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q5KEKdPB082516; Wed, 20 Jun 2012 16:20:39 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q5KEKdPw082495; Wed, 20 Jun 2012 16:20:39 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 20 Jun 2012 16:20:39 +0200 (CEST) From: Wojciech Puchar To: Vitaly Magerya In-Reply-To: <4FE1CD80.2060108@gmail.com> Message-ID: References: <4FDF6177.5050608@unsane.co.uk> <4FDF6586.9060501@gentoo.org> <4FDFB166.2040709@FreeBSD.org> <4FDFB44D.9090308@gentoo.org> <4FE0ADCD.9010109@FreeBSD.org> <4FE0C123.8030301@gentoo.org> <4FE0F773.1080403@gentoo.org> <4FE100F9.2050009@funtoo.org> <20120620073920.GA5300@lonesome.com> <4FE1CD80.2060108@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Wed, 20 Jun 2012 16:20:39 +0200 (CEST) Cc: Mark Linimon , freebsd-hackers@freebsd.org Subject: Re: Replacing rc(8) (Was: FreeBSD Boot Times) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jun 2012 14:20:43 -0000 > The last time concurrent rc patches where proposed I measured boot time > on my laptop (running 8.2-RELEASE i386 IIRC): out of 45 seconds from > power on to login prompt, 20-25 where spent in rc, and parallel > execution of it shaved off 7 seconds from boot time. > > I'm also seeing similar breakdown on VirtualBox: rc subsystem > consistently takes about 40-50% of boot time. This is on a system with a > static IP and where only sshd is started (even sendmail is disabled). strange but with static IP it takes maybe 3 seconds without any modifications.