Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2012 23:16:20 +0200
From:      claudiu vasadi <claudiu.vasadi@gmail.com>
To:        Eitan Adler <lists@eitanadler.com>
Cc:        Ian Lepore <freebsd@damnhippie.dyndns.org>, freebsd-hackers@freebsd.org, Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>, Hans Petter Selasky <hselasky@c2i.net>
Subject:   Re: FreeBSD Boot Times
Message-ID:  <CAM-i3ig2QSDRqu-eTNEjdBFURVCQ7qFom=Utg-_XbkzNoMh5gA@mail.gmail.com>
In-Reply-To: <CAF6rxgng%2BY=egdiZ_kT4UTt5nVbEAA1-TsmmvZh7WpOLc40dwg@mail.gmail.com>
References:  <4FD66F7E.2060404@brandonfa.lk> <alpine.BSF.2.00.1206130909310.73934@wojtek.tensor.gdynia.pl> <1339593689.73426.8.camel@revolution.hippie.lan> <201206132155.22111.hselasky@c2i.net> <CAF6rxgng%2BY=egdiZ_kT4UTt5nVbEAA1-TsmmvZh7WpOLc40dwg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 13, 2012 at 10:58 PM, Eitan Adler <lists@eitanadler.com> wrote:

> On 13 June 2012 12:55, Hans Petter Selasky <hselasky@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>

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

-- 
Best regards,
Claudiu Vasadi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAM-i3ig2QSDRqu-eTNEjdBFURVCQ7qFom=Utg-_XbkzNoMh5gA>