Date: Mon, 20 Feb 2012 14:44:09 +0000 From: Tom Evans <tevans.uk@googlemail.com> To: Doug Barton <dougb@freebsd.org> Cc: hackers@freebsd.org Subject: Re: 8 to 9: Kernel modularization -- did it change? Message-ID: <CAFHbX1KO7mc0zhOGMHrKmAt%2BBnuqUM14RKCaug8RvaeCYnXAzw@mail.gmail.com> In-Reply-To: <4F3EFB70.5000102@FreeBSD.org> References: <CAOjFWZ6WM1bLEwaBiUE50Gj4MrwxefDWFb85ecRtYkSDuZ0erg@mail.gmail.com> <mailpost.1329495670.7246668.67851.mailing.freebsd.hackers@FreeBSD.cs.nctu.edu.tw> <4F3E8225.9030501@FreeBSD.org> <E1RyRKJ-000Ioa-Ec@hans3> <4F3E8C26.3080900@FreeBSD.org> <E1RyRq0-000Iqy-3l@hans3> <4F3EA5F2.9070804@gmail.com> <E1RyTZo-000J0R-0Y@hans3> <4F3EAE5F.6070903@gmail.com> <E1RyUv6-000J5e-0E@hans3> <20120217.220802.988.2@DOMY-PC> <4F3EDEBC.7040703@gmail.com> <4F3EFB70.5000102@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 18, 2012 at 1:14 AM, Doug Barton <dougb@freebsd.org> wrote: > Because loading modules through loader.conf is > veeeeeerrrrryyyyyy sssssllllloooooowwwwww I added an rc.d script called > kld that will load the specified modules after disks are mounted. This > is at least an order of magnitude faster. Come off it, loading modules from loader.conf takes seconds off disk, out of the 2+ minute total boot up. There may be benefit on slow media, but in the general case I see no benefit (which might explain why not many people are bothering to change their working configs to save <2s on bootup). wrt to sound drivers no longer being built as modules, I wonder why this change has been made. I don't recall a mass of people complaining that they couldn't load drivers, or adding 'sound_enable=3D"YES"' to loader.conf being particularly onerous. As has been pointed out, this change makes it hard to load/unload the snd_hda code, which is useful to wire the outputs to the appropriate pins. I suppose if we have to "boot, test, change, reboot, test change, reboot=E2=80=A6" ad infinitum to do this in future, saving 2s on bo= ot would be *super* useful. Whatever happened to POLA? This change surprised me, wasn't mentioned in /usr/src/UPDATING, and I still don't understand what benefits this change is supposed to bring. Cheers Tom
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFHbX1KO7mc0zhOGMHrKmAt%2BBnuqUM14RKCaug8RvaeCYnXAzw>