From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 19 05:06:22 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 CF42B1065673; Tue, 19 Jun 2012 05:06:22 +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 6C1D18FC15; Tue, 19 Jun 2012 05:06:22 +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 88FA91B4030; Tue, 19 Jun 2012 05:06:20 +0000 (UTC) Message-ID: <4FE0086F.4000507@gentoo.org> Date: Tue, 19 Jun 2012 01:04:47 -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: Wojciech Puchar 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: 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 11:05:42 +0000 Cc: Doug Barton , "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: Tue, 19 Jun 2012 05:06:22 -0000 On 06/19/2012 12:39 AM, Wojciech Puchar wrote: > - delay at rc.d scripts - there are some delays inserted. > >> 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. > > grep sleep /etc/rc.d/* usr/local/etc/rc.d/* > >> >> 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 > > it is unimportant as FreeBSD don't crash. OpenRC init scripts lack such delays. They store dependency information, which enables OpenRC to start them as soon as their dependencies are ready.