FreeBSD Boot Times

claudiu vasadi claudiu.vasadi at gmail.com
Wed Jun 13 21:16:21 UTC 2012


On Wed, Jun 13, 2012 at 10:58 PM, Eitan Adler <lists at eitanadler.com> wrote:

> On 13 June 2012 12:55, Hans Petter Selasky <hselasky at c2i.net> wrote:
> > On Wednesday 13 June 2012 15:21:29 Ian Lepore wrote:
> >> On Wed, 2012-06-13 at 09:10 +0200, Wojciech Puchar wrote:
> >> > > 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,
> >> >
> >> > mostly kernel time.
> >> >
> >> > > Note: This isn't really an issue, moreso a curiosity.
> >> >
> >> > true. system that never crash are not often booted
> >>
> >> An embedded system may be booted or powered cycled dozens of times a
> >> day, and boot time can be VERY important.  Don't assume that the way you
> >> use FreeBSD is the only way.
> >>
> >> -- Ian
> >
> > Try setting:
> >
> > sysctl hw.usb.no_boot_wait=1
>
> Can you explain in a bit more detail what this does and why it isn't
> default?
>
>
> --
> Eitan Adler
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>

If you simplky do "sysctl -d hw.usb.no_boot_wait" you will see the
explanation ;)

-- 
Best regards,
Claudiu Vasadi


More information about the freebsd-hackers mailing list