Re: rc.d script to load kernel modules

2011-06-13 Thread Daniel Braniss
> On 6/12/11 11:20 PM, Daniel Braniss wrote: > >> On 6/12/2011 1:56 AM, Jason Hellenthal wrote: > >> > >>> Cutting modules out of the kernel in general does help speed up booting > >>> but loading those same modules later in the boot process will just lead > >>> you back to the same boot time. > >>

Re: rc.d script to load kernel modules

2011-06-13 Thread Garrett Cooper
On Mon, Jun 13, 2011 at 10:40 AM, Chris Rees wrote: > > On 13 Jun 2011 18:24, "Garrett Cooper" wrote: >> >> On Mon, Jun 13, 2011 at 10:00 AM, Chris Rees wrote: >> > On 13 Jun 2011 17:24, "Julian Elischer" wrote: >> >> >> >> On 6/12/11 11:20 PM, Daniel Braniss wrote: >> >> On 6/12/2011

Re: rc.d script to load kernel modules

2011-06-13 Thread Chris Rees
On 13 Jun 2011 18:24, "Garrett Cooper" wrote: > > On Mon, Jun 13, 2011 at 10:00 AM, Chris Rees wrote: > > On 13 Jun 2011 17:24, "Julian Elischer" wrote: > >> > >> On 6/12/11 11:20 PM, Daniel Braniss wrote: > > On 6/12/2011 1:56 AM, Jason Hellenthal wrote: > > > Cutting modules

Re: rc.d script to load kernel modules

2011-06-13 Thread Garrett Cooper
On Mon, Jun 13, 2011 at 10:00 AM, Chris Rees wrote: > On 13 Jun 2011 17:24, "Julian Elischer" wrote: >> >> On 6/12/11 11:20 PM, Daniel Braniss wrote: On 6/12/2011 1:56 AM, Jason Hellenthal wrote: > Cutting modules out of the kernel in general does help speed up booting > bu

Re: rc.d script to load kernel modules

2011-06-13 Thread Chris Rees
On 13 Jun 2011 17:24, "Julian Elischer" wrote: > > On 6/12/11 11:20 PM, Daniel Braniss wrote: >>> >>> On 6/12/2011 1:56 AM, Jason Hellenthal wrote: >>> Cutting modules out of the kernel in general does help speed up booting but loading those same modules later in the boot process will ju

Re: rc.d script to load kernel modules

2011-06-13 Thread Julian Elischer
On 6/12/11 11:20 PM, Daniel Braniss wrote: On 6/12/2011 1:56 AM, Jason Hellenthal wrote: Cutting modules out of the kernel in general does help speed up booting but loading those same modules later in the boot process will just lead you back to the same boot time. Loading modules via loader.co

Re: rc.d script to load kernel modules

2011-06-13 Thread Eir Nym
On 13 June 2011 06:32, Garrett Cooper wrote: > On Sun, Jun 12, 2011 at 11:11 PM, Eir Nym wrote: >> On 11 June 2011 22:17, Doug Barton wrote: >>> Howdy, >>> >>> Per discussion on -arch and the svn list about improving boot time and >>> stripping down the kernel to just that-which-cannot-be-modula

Re: rc.d script to load kernel modules

2011-06-12 Thread Daniel Braniss
> On 6/12/2011 1:56 AM, Jason Hellenthal wrote: > > > Cutting modules out of the kernel in general does help speed up booting > > but loading those same modules later in the boot process will just lead > > you back to the same boot time. > > Loading modules via loader.conf is many times slower th

Re: rc.d script to load kernel modules

2011-06-12 Thread Garrett Cooper
On Sun, Jun 12, 2011 at 11:11 PM, Eir Nym wrote: > On 11 June 2011 22:17, Doug Barton wrote: >> Howdy, >> >> Per discussion on -arch and the svn list about improving boot time and >> stripping down the kernel to just that-which-cannot-be-modularized I created >> the attached script to kldload mod

Re: rc.d script to load kernel modules

2011-06-12 Thread Eir Nym
On 11 June 2011 22:17, Doug Barton wrote: > Howdy, > > Per discussion on -arch and the svn list about improving boot time and > stripping down the kernel to just that-which-cannot-be-modularized I created > the attached script to kldload modules that don't need to be in loader.conf. > It cut quite

Re: rc.d script to load kernel modules

2011-06-12 Thread Gustau Pérez
> Yeah his message was around what I was thinking was wrong with loader or > not neccesarily wrong but what it was limited to that was similiar to > one of my previous messages stating contention, limitation, etc... Sorry if my post was understood wrong. I did mean to say the culprit was zfs,

Re: rc.d script to load kernel modules

2011-06-12 Thread Doug Barton
On 6/12/2011 1:43 PM, Jason Hellenthal wrote: Doug, On Sun, Jun 12, 2011 at 12:46:58PM -0700, Doug Barton wrote: On 6/12/2011 12:42 PM, Jason Hellenthal wrote: Yes I agree. I was just stating that simply for the previous post implying where ZFS was slower than UFS. No, it wasn't. You compl

Re: rc.d script to load kernel modules

2011-06-12 Thread Kevin Oberman
> Date: Sun, 12 Jun 2011 12:42:28 -0700 > From: Doug Barton > Sender: owner-freebsd-curr...@freebsd.org > > On 6/12/2011 12:34 PM, Garrett Cooper wrote: > > On Sun, Jun 12, 2011 at 12:24 PM, Gary Palmer wrote: > >> On Sun, Jun 12, 2011 at 02:56:31PM -0400, Jason Hellenthal wrote: > >>> So techni

Re: rc.d script to load kernel modules

2011-06-12 Thread Doug Barton
On 6/12/2011 12:42 PM, Jason Hellenthal wrote: Yes I agree. I was just stating that simply for the previous post implying where ZFS was slower than UFS. No, it wasn't. You completely fail to understand the problem. Stop writing, and start reading. As in, read the threads on both -arch and th

Re: rc.d script to load kernel modules

2011-06-12 Thread Doug Barton
On 6/12/2011 12:34 PM, Garrett Cooper wrote: On Sun, Jun 12, 2011 at 12:24 PM, Gary Palmer wrote: On Sun, Jun 12, 2011 at 02:56:31PM -0400, Jason Hellenthal wrote: So technically here a ZFS only install is lacking the speed in which modules are loaded. I would prefer to find out why and fix th

Re: rc.d script to load kernel modules

2011-06-12 Thread Garrett Cooper
On Sun, Jun 12, 2011 at 12:24 PM, Gary Palmer wrote: > On Sun, Jun 12, 2011 at 02:56:31PM -0400, Jason Hellenthal wrote: >> So technically here a ZFS only install is lacking the speed in which >> modules are loaded. I would prefer to find out why and fix that before >> we go about adding new funct

Re: rc.d script to load kernel modules

2011-06-12 Thread Doug Barton
On 6/12/2011 12:16 PM, Jason Hellenthal wrote: Doug, On Sun, Jun 12, 2011 at 12:00:56PM -0700, Doug Barton wrote: Absolutely not. That would not fit into the way we do things at all, and would essentially require /etc/rc to do the processing, which is a huge step in the wrong direction. Ok

Re: rc.d script to load kernel modules

2011-06-12 Thread Gary Palmer
On Sun, Jun 12, 2011 at 02:56:31PM -0400, Jason Hellenthal wrote: > So technically here a ZFS only install is lacking the speed in which > modules are loaded. I would prefer to find out why and fix that before > we go about adding new functionality to rcNG. As I believe Doug has already said, its

Re: rc.d script to load kernel modules

2011-06-12 Thread Doug Barton
On 6/12/2011 12:05 PM, Jason Hellenthal wrote: Any opposition for keeping the syntax of loader.conf ? nullfs_load="YES" Yes, see my other message on this point. -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experien

Re: rc.d script to load kernel modules

2011-06-12 Thread Doug Barton
On 6/12/2011 11:56 AM, Jason Hellenthal wrote: So technically here a ZFS only install is lacking the speed in which modules are loaded. It has nothing to do with zfs. It has to do with how the kernel and modules are loaded at boot time, vs. after the disks are up. Please read the threads on

Re: rc.d script to load kernel modules

2011-06-12 Thread Doug Barton
On 6/12/2011 1:56 AM, Jason Hellenthal wrote: Cutting modules out of the kernel in general does help speed up booting but loading those same modules later in the boot process will just lead you back to the same boot time. Loading modules via loader.conf is many times slower than doing it from

Re: rc.d script to load kernel modules

2011-06-12 Thread Gustau Pérez
Al 12/06/11 10:56, En/na Jason Hellenthal ha escrit: > > umass for one I could see how it would speed up your boot since you > would not have to probe for USB devices to possibly mount root from but > not a big show stopper for those who don't need that so this would come > in handy in that case bu

Re: rc.d script to load kernel modules

2011-06-12 Thread Buganini
If kldload could work in parallel, this https://github.com/buganini/brackets may help. --Buganini ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-un