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-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 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: wired memory - again!

2012-06-13 Thread Ian Lepore
On Tue, 2012-06-12 at 23:45 +0300, Konstantin Belousov wrote: > On Tue, Jun 12, 2012 at 08:51:34AM -0600, Ian Lepore wrote: > > On Sat, 2012-06-09 at 22:45 +0200, Wojciech Puchar wrote: > > > > > > > > First, all memory allocated by UMA and consequently malloc(9) is > > > > wired. In other words, a

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: boot menu option to disable graphics mode

2012-06-13 Thread Andriy Gapon
on 09/06/2012 19:17 Doug Barton said the following: > If this were a problem we didn't already have a solution for, I'd be > much more interested in what you're proposing. I wonder if you were in the same mindset when you worked on service(8). This is not to doubt service(8) usefulness, of course.

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: Upcoming release schedule - 8.4 ?

2012-06-13 Thread John Baldwin
On Tuesday, June 12, 2012 8:01:00 pm Adrian Chadd wrote: > hi, > > You don't need to change the FreeBSD culture. We'd love to do an 8.4 > release. And an 8.5 release, and 8.6 release, etc. The problem is one > of resources and time, not of culture/desire. I disagree. The pace of X.0 releases is

Re: Upcoming release schedule - 8.4 ?

2012-06-13 Thread Garrett Cooper
On Wed, Jun 13, 2012 at 5:53 AM, John Baldwin wrote: > On Tuesday, June 12, 2012 8:01:00 pm Adrian Chadd wrote: >> hi, >> >> You don't need to change the FreeBSD culture. We'd love to do an 8.4 >> release. And an 8.5 release, and 8.6 release, etc. The problem is one >> of resources and time, not o

Re: Upcoming release schedule - 8.4 ?

2012-06-13 Thread Adrian Chadd
On 13 June 2012 05:53, John Baldwin wrote: >> You don't need to change the FreeBSD culture. We'd love to do an 8.4 >> release. And an 8.5 release, and 8.6 release, etc. The problem is one >> of resources and time, not of culture/desire. > > I disagree.  The pace of X.0 releases is a deliberate ch

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: Upcoming release schedule - 8.4 ?

2012-06-13 Thread John Baldwin
On Wednesday, June 13, 2012 11:52:28 am Adrian Chadd wrote: > On 13 June 2012 05:53, John Baldwin wrote: > > >> You don't need to change the FreeBSD culture. We'd love to do an 8.4 > >> release. And an 8.5 release, and 8.6 release, etc. The problem is one > >> of resources and time, not of cultur

Re: Upcoming release schedule - 8.4 ?

2012-06-13 Thread Frank Mitchell
Hey, I'm a Desktop User and I wish FreeBSD v8.3 worked for me. I can't get a Dialup Internet Connection without setting up a complicated script. And my Porn Videos crash halfway through. Yours frustratedly: Frank Mitchell On Wednesday 13 June 2012 00:08:08 Jerry McAllister wrote: > > Well, 8.3

Re: wired memory - again!

2012-06-13 Thread Konstantin Belousov
On Wed, Jun 13, 2012 at 07:14:09AM -0600, Ian Lepore wrote: > On Tue, 2012-06-12 at 23:45 +0300, Konstantin Belousov wrote: > > On Tue, Jun 12, 2012 at 08:51:34AM -0600, Ian Lepore wrote: > > > On Sat, 2012-06-09 at 22:45 +0200, Wojciech Puchar wrote: > > > > > > > > > > First, all memory allocated

Re: Upcoming release schedule - 8.4 ?

2012-06-13 Thread Mark Saad
I'll share my 2 cents here, as someone who maintains a decent sided FreeBSD install. 1. FreeBSD needs to make end users more comfortable with using a Dot-Ohh release; and at the time of the dot-ohh release a timeline for the next point releases should be made. * 2. Having three supported releases

Re: wired memory - again!

2012-06-13 Thread Nathan Whitehorn
On 06/13/12 13:22, Konstantin Belousov wrote: On Wed, Jun 13, 2012 at 07:14:09AM -0600, Ian Lepore wrote: On Tue, 2012-06-12 at 23:45 +0300, Konstantin Belousov wrote: On Tue, Jun 12, 2012 at 08:51:34AM -0600, Ian Lepore wrote: On Sat, 2012-06-09 at 22:45 +0200, Wojciech Puchar wrote: First,

Rtld object tasting [Was: Re: wired memory - again!]

2012-06-13 Thread Konstantin Belousov
On Wed, Jun 13, 2012 at 07:14:09AM -0600, Ian Lepore wrote: > http://lists.freebsd.org/pipermail/freebsd-arm/2012-January/003288.html The map_object.c patch is step in the almost right direction, I wanted to remove the static page-sized buffer from get_elf_header for long time. It works because rt

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: Rtld object tasting [Was: Re: wired memory - again!]

2012-06-13 Thread Alan Cox
On Wed, Jun 13, 2012 at 2:12 PM, Konstantin Belousov wrote: > On Wed, Jun 13, 2012 at 07:14:09AM -0600, Ian Lepore wrote: > > http://lists.freebsd.org/pipermail/freebsd-arm/2012-January/003288.html > > The map_object.c patch is step in the almost right direction, I wanted > to remove the static pa

Re: Rtld object tasting [Was: Re: wired memory - again!]

2012-06-13 Thread Konstantin Belousov
On Wed, Jun 13, 2012 at 03:17:56PM -0500, Alan Cox wrote: > On Wed, Jun 13, 2012 at 2:12 PM, Konstantin Belousov > wrote: > > > On Wed, Jun 13, 2012 at 07:14:09AM -0600, Ian Lepore wrote: > > > http://lists.freebsd.org/pipermail/freebsd-arm/2012-January/003288.html > > > > The map_object.c patch

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 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 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 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 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 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: Upcoming release schedule - 8.4 ?

2012-06-13 Thread Damien Fleuriot
On 13 Jun 2012, at 19:27, John Baldwin wrote: > On Wednesday, June 13, 2012 11:52:28 am Adrian Chadd wrote: >> On 13 June 2012 05:53, John Baldwin wrote: >> You don't need to change the FreeBSD culture. We'd love to do an 8.4 release. And an 8.5 release, and 8.6 release, etc. The pro

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: boot menu option to disable graphics mode

2012-06-13 Thread Doug Barton
On 06/13/2012 06:50 AM, Andriy Gapon wrote: > on 09/06/2012 19:17 Doug Barton said the following: >> If this were a problem we didn't already have a solution for, I'd be >> much more interested in what you're proposing. > > I wonder if you were in the same mindset when you worked on service(8). >

Re: Upcoming release schedule - 8.4 ?

2012-06-13 Thread Rick Macklem
Mark Saad wrote: > I'll share my 2 cents here, as someone who maintains a decent sided > FreeBSD install. > > 1. FreeBSD needs to make end users more comfortable with using a > Dot-Ohh release; and at the time of the dot-ohh release > a timeline for the next point releases should be made. * > > 2

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 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 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 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: BIO_DELETE equivalent for file on FFS filesystem

2012-06-13 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 05/26/12 08:06, Wojciech Puchar wrote: > is it possible. suppose i have 1GB file with my data and 100 1 > megabyte parts of it is no longer needed. i could reorganize that > file to take 900MB or... can i call some system function to "punch" > hol

Upcoming release schedule - 8.4 ?

2012-06-13 Thread grarpamp
Realized my earlier related post was a bit misplaced in questions@. So I just refer to it here by link, ok then that is all. http://docs.freebsd.org/cgi/getmsg.cgi?fetch=968504+0+current/freebsd-questions ___ freebsd-hackers@freebsd.org mailing list http

Re: Upcoming release schedule - 8.4 ?

2012-06-13 Thread Mark Linimon
On Wed, Jun 13, 2012 at 08:50:24AM -0700, Garrett Cooper wrote: > The only way that this would really work is if there were dedicated > sustaining engineers working on actively backporting code, testing it, > committing it, etc. I'm going to agree with Garrett here. IMHO we've reached (or surpass

Re: Upcoming release schedule - 8.4 ?

2012-06-13 Thread Adrian Chadd
On 13 June 2012 21:26, Mark Linimon wrote: > On Wed, Jun 13, 2012 at 08:50:24AM -0700, Garrett Cooper wrote: >> The only way that this would really work is if there were dedicated >> sustaining engineers working on actively backporting code, testing it, >> committing it, etc. > > I'm going to agre

Re: BIO_DELETE equivalent for file on FFS filesystem

2012-06-13 Thread Wojciech Puchar
file to take 900MB or... can i call some system function to "punch" holes? I think you can only truncate the file at this time, pretty much like brk() works for memory. BAD. suppose i keep windoze VM image on filesystem which takes 10GB but uses 5GB. i could write simple program to find ou

Re: Upcoming release schedule - 8.4 ?

2012-06-13 Thread Wojciech Puchar
Friends, I am looking at the upcoming release schedule, and I only see 9.1 listed - can anyone confirm or deny 8.4 ? does it matter. cvsup RELENG_8 and you see updates are done constantly. just sometime somebody decide to change number :) ___ freebsd

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 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: Upcoming release schedule - 8.4 ?

2012-06-13 Thread Royce Williams
On Wed, Jun 13, 2012 at 8:30 PM, Adrian Chadd wrote: > On 13 June 2012 21:26, Mark Linimon wrote: >> On Wed, Jun 13, 2012 at 08:50:24AM -0700, Garrett Cooper wrote: >>> The only way that this would really work is if there were dedicated >>> sustaining engineers working on actively backporting cod

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

Solving the great resource problem, take 42 (Re: Upcoming release schedule - 8.4 ?)

2012-06-13 Thread Garrett Cooper
On Wed, Jun 13, 2012 at 10:25 PM, Royce Williams wrote: > On Wed, Jun 13, 2012 at 8:30 PM, Adrian Chadd wrote: >> On 13 June 2012 21:26, Mark Linimon wrote: >>> On Wed, Jun 13, 2012 at 08:50:24AM -0700, Garrett Cooper wrote: The only way that this would really work is if there were dedicate

Re: Solving the great resource problem, take 42 (Re: Upcoming release schedule - 8.4 ?)

2012-06-13 Thread Royce Williams
Resending to list, forgot to hit reply-all. On Wed, Jun 13, 2012 at 10:06 PM, Garrett Cooper wrote: > On Wed, Jun 13, 2012 at 10:25 PM, Royce Williams > wrote: >> On Wed, Jun 13, 2012 at 8:30 PM, Adrian Chadd wrote: >>> On 13 June 2012 21:26, Mark Linimon wrote: On Wed, Jun 13, 2012 at 08