Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jun 2012 09:26:33 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-hackers@freebsd.org
Cc:        Brandon Falk <bfalk_bsd@brandonfa.lk>, Andriy Gapon <avg@freebsd.org>
Subject:   Re: FreeBSD Boot Times
Message-ID:  <201206120926.33947.hselasky@c2i.net>
In-Reply-To: <4FD6E065.6040601@FreeBSD.org>
References:  <4FD66F7E.2060404@brandonfa.lk> <4FD6E065.6040601@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 12 June 2012 08:23:33 Andriy Gapon wrote:
> 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. :-)

BTW: Booting over USB is slow because many small chuncks of data is read 
instead of a few big chunks when loading the kernel and modules at the loader 
time.

--HPS



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