Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jun 2011 15:05:11 -0400
From:      Jason Hellenthal <jhell@DataIX.net>
To:        Doug Barton <dougb@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: rc.d script to load kernel modules
Message-ID:  <20110612190511.GB15184@DataIX.net>
In-Reply-To: <4DF50AA1.9080607@FreeBSD.org>
References:  <4DF3E98B.40108@FreeBSD.org> <20110612085649.GA11503@DataIX.net> <4DF50AA1.9080607@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--/NkBOFFp2J2Af1nK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


Doug,

On Sun, Jun 12, 2011 at 11:51:13AM -0700, Doug Barton wrote:
> On 6/12/2011 1:56 AM, Jason Hellenthal wrote:
>=20
> > 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.
>=20
> Loading modules via loader.conf is many times slower than doing it from=
=20
> disk after the system is partially booted. (As in, 2-3 seconds per=20
> module vs. nearly instantaneous for all 6.)
>=20
> I didn't offer my list as an example of what to do, I offered it as a=20
> syntax example. I would of course expect people to use appropriate=20
> discretion to load things in loader.conf that are necessary for boot.=20
> (Of course, the fact that people can easily get this wrong is a strike=20
> against the technique.)
>=20

Yes and such I was just using that as a basis for the discussion, agreed
technique is key.

Any opposition for keeping the syntax of loader.conf ?

nullfs_load=3D"YES"

I think this makes it easier for people to adjust their configs without
having to edit the list. Certainly less confusion if you say you can use
the same syntax for modules in loader.conf in rc.conf...

> There is no point in having an _enable for this script because if the=20
> kld_list is empty, nothing happens.
>=20

Yeah very true.

>=20
> --=20
>=20
> 	Nothin' ever doesn't change, but nothin' changes much.
> 			-- OK Go
>=20
> 	Breadth of IT experience, and depth of knowledge in the DNS.
> 	Yours for the right price.  :)  http://SupersetSolutions.com/

--=20

"Unity can only be manifested by the Binary. Unity itself and the idea of U=
nity are already two." -- Buddha

 Regards, (jhell)
 Jason Hellenthal


--/NkBOFFp2J2Af1nK
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)
Comment: http://bit.ly/0x89D8547E

iQEcBAEBAgAGBQJN9Q3mAAoJEJBXh4mJ2FR+tuAIAIcQiG8rcWrGSEXhP+Yo9/Nr
goXIzpuALrRvrQSCQmq5ZfCM1rg6d/p0sFylmKzeQ2FAXFrkPUKGbgdKvgTlIICh
ategRCrIZpMisp6791pOyw/GKKrHVeh8Baq8etFclUHzVxITx0lGMTpj/uYFiV8z
JSclUnY73aykyCIdfabYU8q5cA5BQ3gG+aUaLGSAh0pgqjanh6cCBKR2W01OTUf3
hDMOBq7jnNnxFAWiIyKql+Et0Gp9Ud8JyfWqyrvmqsGFn5OqW91It5EWch6kn9X3
rODcO6BOjd5uC3Ks0M1QFdDLT++HAdqIXV/1kiBZnsGJwkKpRS0043JkFEXYE7s=
=kNKU
-----END PGP SIGNATURE-----

--/NkBOFFp2J2Af1nK--



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