Le vendredi 21 septembre 2012 à 17:21 +0200, Lars Müller a écrit :
On Fri, Sep 21, 2012 at 12:01:17PM -0300, Claudio Freire wrote:
On Fri, Sep 21, 2012 at 5:34 AM, Michal Kubeček <mkubecek@suse.cz> wrote:
On Thursday 20 of September 2012 15:02EN, Frederic Crozat wrote:
build kernel with autofs4 built-in (systemd will modprobe it anyway, but we could save some boot time by not having to do so).
What I always liked on (Open)SuSE kernel is the modularity. If you don't use a device or a filesystem, you don't waste memory and time with its driver as it is built as a module. Building something like autofs hard into the image would go exactly against this philosophy.
Not really, if systemd will modprobe it at early boot, not having statically linked is just a waste of time.
Do you have numbers?
Have you compared them forcing the load at boot time via /etc/sysconfig/kernel MODULES_LOADED_ON_BOOT ?
I'm wondering, though, how big that time saving can be, and how big should it be to justify such a move. Not even a second would compel me to change the kernel (and a second for a modprobe would be excessive already).
Measure it. Compare the dynamic approch, vs MODULES_LOADED_ON_BOOT, vs static build. Then we know for sure.
well, MODULES_LOADED_ON_BOOT also implies starting /lib/systemd/systemd-modules-load which will then use kmod to do the modprobe. So, you should get similar numbers in both case, since kmod is involded.. -- Frederic Crozat <fcrozat@suse.com> SUSE -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org