Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jun 2011 06:11:22 +0000
From:      Eir Nym <eirnym@gmail.com>
To:        Doug Barton <dougb@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: rc.d script to load kernel modules
Message-ID:  <BANLkTimhtz81=uGjJZfHzXW86LGGf562dA@mail.gmail.com>
In-Reply-To: <4DF3E98B.40108@FreeBSD.org>
References:  <4DF3E98B.40108@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11 June 2011 22:17, Doug Barton <dougb@freebsd.org> 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 crea=
ted
> the attached script to kldload modules that don't need to be in loader.co=
nf.
> It cut quite a bit of time off my boot, so hopefully it will be useful to
> others as well.
>
> To use it just put everything that is being _load'ed in loader.conf into
> kld_list in rc.conf[.local]. For example, mine has:
>
> kld_list=3D'umass coretemp ichwd linux nvidia if_wpi'
>
> If there is agreement that this is a good direction to go I'll be happy t=
o
> commit this along with the relevant /etc/defaults/rc.conf and rc.conf.5
> changes.
>

How do you would suggest set tunables, which are readonly or have no
sysctl(8) equivalent after boot-time? AFAIK loader can't set tunable
if module is not loaded at boot-time.

>
> hth,
>
> Doug
>
> --
>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0Nothin' ever doesn't change, but nothin' chang=
es much.
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0-- OK Go
>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0Breadth of IT experience, and depth of knowled=
ge in the DNS.
> =C2=A0 =C2=A0 =C2=A0 =C2=A0Yours for the right price. =C2=A0:) =C2=A0http=
://SupersetSolutions.com/
>
>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org=
"
>



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