Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jun 2011 12:42:28 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Garrett Cooper <yanegomi@gmail.com>
Cc:        Gary Palmer <gpalmer@freebsd.org>, Gustau P?rez <gperez@entel.upc.edu>, freebsd-current@freebsd.org
Subject:   Re: rc.d script to load kernel modules
Message-ID:  <4DF516A4.9040308@FreeBSD.org>
In-Reply-To: <BANLkTincRhq3GwKA7ESAo503FEG3_FQtjA@mail.gmail.com>
References:  <4DF3E98B.40108@FreeBSD.org> <20110612085649.GA11503@DataIX.net>	<4DF49181.1000007@entel.upc.edu>	<20110612185631.GA15184@DataIX.net>	<20110612192440.GB37735@in-addr.com> <BANLkTincRhq3GwKA7ESAo503FEG3_FQtjA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/12/2011 12:34 PM, Garrett Cooper wrote:
> On Sun, Jun 12, 2011 at 12:24 PM, Gary Palmer<gpalmer@freebsd.org>  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 functionality to rcNG.
>>
>> As I believe Doug has already said, its not just loading modules from ZFS.
>> In my experience, loading modules via loader.conf from UFS on i386 is
>> significantly slower than once the kernel has booted on both of my systems
>> here.  I think I've tried it and its not a disk thing as its slow loading from
>> flash media also.
>
>      Dumb questions:

0. Does anyone actually read what I write?

>      1. Has anyone benchmarked the two methods in parallel? If so
> what's the delta?

As I've said several times now ... Loading modules in the boot loader 
takes an average of 2 seconds per module. Loading 6 of them from disk 
happens so fast I can't read the probe messages in real time. (I.e., 
less than 1 second total for all 6.)

>      2. Has anyone tried to determine why it is that way?

Repeating myself again ... read the threads on -arch and the svn list. 
There you will find the answers from people a lot smarter than I. Short 
version, it's a known issue that cannot be changed.

-- 

	Nothin' ever doesn't change, but nothin' changes much.
			-- OK Go

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)  http://SupersetSolutions.com/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DF516A4.9040308>