Re: FreeBSD Boot Times

2012-06-15 Thread Peter Jeremy
On 2012-Jun-13 21:55:22 +0200, Hans Petter Selasky wrote: >Try setting: > >sysctl hw.usb.no_boot_wait=1 Note that this is a tunable and will need to be specified in /boot/loader.conf to have any effect. -- Peter Jeremy pgpojiOBCDYfk.pgp Description: PGP signature

Re: FreeBSD Boot Times

2012-06-14 Thread Richard Yao
That is a fairly common response. I would appreciate suggestions on how I can convey that OpenRC is a good init system. Also, I am certain that the OpenRC developers would be thrilled if FreeBSD adopted OpenRC. If FreeBSD core is interested in OpenRC, feel free to contact the OpenRC and/or the Gen

Re: FreeBSD Boot Times

2012-06-14 Thread Wojciech Puchar
Linux does this by keeping a list of driver id's and corresponding driver modules. The installers can then generate of list of modules to load based on a scan done at install time. what a problem to compile custom kernel? ___ freebsd-hackers@freebsd.o

Re: FreeBSD Boot Times

2012-06-14 Thread Dieter BSD
Brandon writes: > Booting into Ubuntu minimal or my own custom Linux distro, > literally takes 0.5-2 seconds to boot up to shell 0.5-2 seconds from power-on to a shell prompt?  How do you get through the firmware that fast, much less firmware plus an OS? Which reminds me, back when I was triple-b

Re: FreeBSD Boot Times

2012-06-14 Thread Russell Cattelan
On 6/13/12 6:29 PM, Mehmet Erol Sanliturk wrote: > > > On Wed, Jun 13, 2012 at 3:49 PM, Russell Cattelan > wrote: > > On 6/13/12 2:16 AM, Poul-Henning Kamp wrote: > > In message > >

Re: FreeBSD Boot Times

2012-06-14 Thread Nathan Whitehorn
Thanks for the information -- I got scared by "SysV init". This actually does look very nice. -Nathan On 06/13/12 13:35, Richard Yao wrote: The OpenRC is sysvinit compatible, but it has few of sysvinit's flaws. It has named runlevels, the presence of an init script does not cause it to start an

Re: FreeBSD Boot Times

2012-06-13 Thread Lars Engels
On Thu, Jun 14, 2012 at 07:13:23AM +0200, Hans Petter Selasky wrote: > On Wednesday 13 June 2012 23:35:17 Mel Flynn wrote: > > On 13-6-2012 23:16, claudiu vasadi wrote: > > > If you simplky do "sysctl -d hw.usb.no_boot_wait" you will see the > > > explanation ;) > > > > Probably why Eitan asked as

Re: FreeBSD Boot Times

2012-06-13 Thread Eitan Adler
On 13 June 2012 22:13, Hans Petter Selasky wrote: > It's not dangerous. It only means that you can't boot off a USB disk for > example, because the USB stack will then not wait for the BOOT device at > mount-root time, if you set this options. This is what I expected, but it should be documented

Re: FreeBSD Boot Times

2012-06-13 Thread Hans Petter Selasky
On Wednesday 13 June 2012 23:35:17 Mel Flynn wrote: > On 13-6-2012 23:16, claudiu vasadi wrote: > > If you simplky do "sysctl -d hw.usb.no_boot_wait" you will see the > > explanation ;) > > Probably why Eitan asked as that description: > a) means nothing to people unfamiliar with device enumeratio

Re: FreeBSD Boot Times

2012-06-13 Thread Darren Pilgrim
On 2012-06-13 14:18, Eitan Adler wrote: On 13 June 2012 14:16, claudiu vasadi wrote: If you simplky do "sysctl -d hw.usb.no_boot_wait" you will see the explanation ;) No, you see a one liner that only explains things if you already understand what is going on: I believe it pertains to mount

Re: FreeBSD Boot Times

2012-06-13 Thread Mehmet Erol Sanliturk
On Wed, Jun 13, 2012 at 3:49 PM, Russell Cattelan wrote: > On 6/13/12 2:16 AM, Poul-Henning Kamp wrote: > > In message , > Wojci > > ech Puchar writes: > > > > One of the major slowdowns is that we do all the device drivers > > serially & synchronously. > Yes definitely. > > I have been looking in

Re: FreeBSD Boot Times

2012-06-13 Thread Mel Flynn
On 12-6-2012 0:51, Garrett Cooper wrote: > On Mon, Jun 11, 2012 at 3:21 PM, Brandon Falk 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 t

Re: FreeBSD Boot Times

2012-06-13 Thread Russell Cattelan
On 6/13/12 2:16 AM, Poul-Henning Kamp wrote: > In message , > Wojci > ech Puchar writes: > > One of the major slowdowns is that we do all the device drivers > serially & synchronously. Yes definitely. I have been looking into how to potentially defer or parallelize device_attach'es. Defer is tur

Re: FreeBSD Boot Times

2012-06-13 Thread Warren Block
On Tue, 12 Jun 2012, Warren Block wrote: On Tue, 12 Jun 2012, Richard Yao wrote: Gentoo FreeBSD shares OpenRC with Gentoo Linux. OpenRC is a BSD 2-clause licensed System V init system replacement that supports parallel boot. Its boot performance is competitive with systemd and Ubuntu's upstart

Re: FreeBSD Boot Times

2012-06-13 Thread Mel Flynn
On 13-6-2012 23:16, claudiu vasadi wrote: > > If you simplky do "sysctl -d hw.usb.no_boot_wait" you will see the > explanation ;) Probably why Eitan asked as that description: a) means nothing to people unfamiliar with device enumerations b) does not point to a manual page that explains how USB

Re: FreeBSD Boot Times

2012-06-13 Thread claudiu vasadi
On Wed, Jun 13, 2012 at 8:35 PM, Richard Yao wrote: > The OpenRC is sysvinit compatible, but it has few of sysvinit's flaws. > It has named runlevels, the presence of an init script does not cause it > to start and it is in my opinion a joy to use. > > I suggest that you try OpenRC before drawing

Re: FreeBSD Boot Times

2012-06-13 Thread Eitan Adler
On 13 June 2012 14:16, claudiu vasadi wrote: > If you simplky do "sysctl -d hw.usb.no_boot_wait" you will see the > explanation ;) No, you see a one liner that only explains things if you already understand what is going on: hw.usb.no_boot_wait: No USB device enumerate waiting at boot. Does set

Re: FreeBSD Boot Times

2012-06-13 Thread Richard Yao
The OpenRC is sysvinit compatible, but it has few of sysvinit's flaws. It has named runlevels, the presence of an init script does not cause it to start and it is in my opinion a joy to use. I suggest that you try OpenRC before drawing conclusions. You can install Gentoo FreeBSD in a jail. There a

Re: FreeBSD Boot Times

2012-06-13 Thread claudiu vasadi
On Wed, Jun 13, 2012 at 10:58 PM, Eitan Adler wrote: > On 13 June 2012 12:55, Hans Petter Selasky 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 t

Re: FreeBSD Boot Times

2012-06-13 Thread Eitan Adler
On 13 June 2012 12:55, Hans Petter Selasky 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

Re: FreeBSD Boot Times

2012-06-13 Thread Hans Petter Selasky
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,

Re: FreeBSD Boot Times

2012-06-13 Thread Brandon Falk
On 6/13/2012 10:19 AM, Nathan Whitehorn wrote: On 06/12/12 18:00, Richard Yao wrote: On 06/11/12 18:51, Garrett Cooper wrote: On Mon, Jun 11, 2012 at 3:21 PM, Brandon Falk wrote: Greetings, I was just wondering what it is that FreeBSD does that makes it take so long to boot. Booting into U

Re: FreeBSD Boot Times

2012-06-13 Thread Nathan Whitehorn
On 06/12/12 18:00, Richard Yao wrote: On 06/11/12 18:51, Garrett Cooper wrote: On Mon, Jun 11, 2012 at 3:21 PM, Brandon Falk 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, liter

Re: FreeBSD Boot Times

2012-06-13 Thread Ian Lepore
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, wh

Re: FreeBSD Boot Times

2012-06-13 Thread Poul-Henning Kamp
In message , Wojci ech Puchar writes: One of the major slowdowns is that we do all the device drivers serially & synchronously. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribut

Re: FreeBSD Boot Times

2012-06-13 Thread David Wolfskill
On Wed, Jun 13, 2012 at 09:10:04AM +0200, Wojciech Puchar wrote: > > mostly kernel time. > >Note: This isn't really an issue, moreso a curiosity. > > true. system that never crash are not often booted > ... I'd rather not get into a long discussion about this, but the above reflects a perce

Re: FreeBSD Boot Times

2012-06-13 Thread Wojciech Puchar
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

Re: FreeBSD Boot Times

2012-06-12 Thread Warren Block
On Tue, 12 Jun 2012, Richard Yao wrote: Gentoo FreeBSD shares OpenRC with Gentoo Linux. OpenRC is a BSD 2-clause licensed System V init system replacement that supports parallel boot. Its boot performance is competitive with systemd and Ubuntu's upstart. If FreeBSD's init system is serializing

Re: FreeBSD Boot Times

2012-06-12 Thread Richard Yao
On 06/11/12 18:51, Garrett Cooper wrote: > On Mon, Jun 11, 2012 at 3:21 PM, Brandon Falk 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 t

Re: FreeBSD Boot Times

2012-06-12 Thread Brandon Falk
Ill do some profiling tonight and get back to you then. On Jun 12, 2012 3:27 AM, "Hans Petter Selasky" 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 d

Re: FreeBSD Boot Times

2012-06-12 Thread Hans Petter Selasky
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 take

Re: FreeBSD Boot Times

2012-06-11 Thread Andriy Gapon
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 ab

Re: FreeBSD Boot Times

2012-06-11 Thread Mark Saad
On Jun 11, 2012, at 6:21 PM, Brandon Falk 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 1

Re: FreeBSD Boot Times

2012-06-11 Thread Mark Felder
They have a lot of manpower and can spend a lot of time replacing the boot subsystems and all startup scripts every 2 releases. For FreeBSD it's not a big issue as most people don't reboot often. If it's an itch you want to scratch you're more than welcome to look into it; that seems to be th

Re: FreeBSD Boot Times

2012-06-11 Thread Garrett Cooper
On Mon, Jun 11, 2012 at 3:21 PM, Brandon Falk 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 >