Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2012 16:17:52 +0300
From:      Vitaly Magerya <vmagerya@gmail.com>
To:        Mark Linimon <linimon@lonesome.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Replacing rc(8) (Was: FreeBSD Boot Times)
Message-ID:  <4FE1CD80.2060108@gmail.com>
In-Reply-To: <20120620073920.GA5300@lonesome.com>
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> <CAGH67wRidMZrzjzTSdwud%2BZ5V--wOTN8CHXOWcOr%2BE5XHYo2rA@mail.gmail.com> <4FE0F773.1080403@gentoo.org> <CAGH67wQdb-c0Kf=60rkaJSH8Hd0OjwCi=rQQMzGq8xfp2q7b=Q@mail.gmail.com> <4FE100F9.2050009@funtoo.org> <20120620073920.GA5300@lonesome.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mark Linimon wrote:
> fwiw, from previous discussions on FreeBSD boot time, ISTR that there
> are other places where more time is spent.  Some analysis to prove that
> indeed the rc subsystem is the dominant term would be a good starting
> place.

While I don't want to proliferate this thread or advocate any kind of
change, I want to address the sentiment that time spent in rc during
boot is small or insignificant relative to the kernel time.

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).



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