From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 18 23:07:23 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 A79151065677; Mon, 18 Jun 2012 23:07:23 +0000 (UTC) (envelope-from ryao@gentoo.org) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by mx1.freebsd.org (Postfix) with ESMTP id 81D0D8FC1C; Mon, 18 Jun 2012 23:07:23 +0000 (UTC) Received: from [192.168.1.2] (pool-108-46-203-161.nycmny.fios.verizon.net [108.46.203.161]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: ryao) by smtp.gentoo.org (Postfix) with ESMTPSA id 5ACA21B4017; Mon, 18 Jun 2012 23:07:22 +0000 (UTC) Message-ID: <4FDFB44D.9090308@gentoo.org> Date: Mon, 18 Jun 2012 19:05:49 -0400 From: Richard Yao User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120613 Thunderbird/10.0.5 MIME-Version: 1.0 To: Doug Barton References: <20120615124849.GI96212@ass.kameli.org> <20120618081140.GK96212@ass.kameli.org> <4FDF6177.5050608@unsane.co.uk> <4FDF6586.9060501@gentoo.org> <4FDFB166.2040709@FreeBSD.org> In-Reply-To: <4FDFB166.2040709@FreeBSD.org> X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 19 Jun 2012 01:26:06 +0000 Cc: "freebsd-hackers@freebsd.org" , Vincent Hoffman , Nathan Whitehorn , Outback Dingo , openrc@gentoo.org, =?ISO-8859-1?Q?Atte_Peltom=E4ki?= 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: Mon, 18 Jun 2012 23:07:23 -0000 On 06/18/2012 06:53 PM, Doug Barton wrote: > It's unfortunate that this thread evolved into a discussion about > replacing rc.d, since that's almost certainly not relevant to the > original topic of improving the overall boot time. > > If you analyze the boot process thoroughly you should see that out of > the total time taken to boot, nearly 0 is spent by rc.d actually doing > something. Almost all of the actual time is spent waiting for other > stuff, either the kernel (primarily) or the services that the system is > running actually starting up. > > The latter item is the only place where making changes to rc.d is going > to help, and only then by parellelizing, and even then you are not > really going to gain much since most things at boot time are serial. > > So while talk of how to get your favorite boot-time manager into FreeBSD > may be entertaining, it's not likely to be productive, and almost > certainly isn't going to help the goal of actually making the boot time > faster. > > But, I'm willing to be proven wrong by someone who actually _implements_ > one of these systems and can demonstrate, in a statistically rigorous > fashion, how much the boot time is improved. > > Doug Doug, we already have OpenRC implemented. You can install Gentoo FreeBSD in a jail, install regular FreeBSD in another jail and do your own performance comparisons. Here are instructions: http://wiki.gentoo.org/wiki/Gentoo_FreeBSD#Howto_run_G.2FFBSD_in_vanilla_FreeBSD.27s_jail Is there anything else that you need?