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. Cheers, Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team + SUSE Labs SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany