From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 12 06:23:38 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 43D05106566B for ; Tue, 12 Jun 2012 06:23:38 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 8B4498FC08 for ; Tue, 12 Jun 2012 06:23:37 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id JAA05572; Tue, 12 Jun 2012 09:23:35 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1SeKVq-0006y3-NQ; Tue, 12 Jun 2012 09:23:34 +0300 Message-ID: <4FD6E065.6040601@FreeBSD.org> Date: Tue, 12 Jun 2012 09:23:33 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120503 Thunderbird/12.0.1 MIME-Version: 1.0 To: Brandon Falk References: <4FD66F7E.2060404@brandonfa.lk> In-Reply-To: <4FD66F7E.2060404@brandonfa.lk> X-Enigmail-Version: 1.5pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org Subject: Re: 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, 12 Jun 2012 06:23:38 -0000 on 12/06/2012 01:21 Brandon Falk said the following: > Greetings, > > I was just wondering what it is that FreeBSD does that makes it take so long to > boot. Booting into Ubuntu minimal or my own custom Linux distro, literally takes > 0.5-2 seconds to boot up to shell, where FreeBSD takes about 10-20 seconds. I'm > not sure if anything could be parallelized in the boot process, but Linux > somehow manages to do it. The Ubuntu install I do pretty much consists of a > shell and developers tools, but it still has a generic kernel. There must be > some sort of polling done in the FreeBSD boot process that could be parallelized > or eliminated. > > Anyone have any suggestions? Do you have a breakdown of the boot time between pre-loader, loader, kernel and rc stages? > Note: This isn't really an issue, moreso a curiosity. Ditto. :-) -- Andriy Gapon