Date: Tue, 12 Jun 2012 20:17:14 -0400 From: Brandon Falk <bfalk_bsd@brandonfa.lk> To: Hans Petter Selasky <hselasky@c2i.net> Cc: freebsd-hackers@freebsd.org, Andriy Gapon <avg@freebsd.org> Subject: Re: FreeBSD Boot Times Message-ID: <CAGSJxJ73PG07vh0H9Ligh3CdbZAEpQEC5S9n0AtMD1AmTW7rig@mail.gmail.com> In-Reply-To: <201206120926.33947.hselasky@c2i.net> References: <4FD66F7E.2060404@brandonfa.lk> <4FD6E065.6040601@FreeBSD.org> <201206120926.33947.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Ill do some profiling tonight and get back to you then. On Jun 12, 2012 3:27 AM, "Hans Petter Selasky" <hselasky@c2i.net> wrote: > 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?CAGSJxJ73PG07vh0H9Ligh3CdbZAEpQEC5S9n0AtMD1AmTW7rig>