Why does it take so long to compile a module
dillon at apollo.backplane.com
Wed Oct 20 13:07:27 PDT 2010
:I just wrote a simple module. In declare module i wrote SI_ORDER_MIDDLE, wrote a
:Makefile and included .include <bsd.kmod.mk>.
:Its almost 40 min compiling with verbose display. Is their a mechanism to speed
:it up? or a work around.
Honestly, I just don't know what you guys are doing that is causing
things to take so long. On real hardware it takes around ~25 minutes
to build the world, ~6-8 minutes to build the kernel and all of its
modules, and maybe a few seconds to build a kernel module.
On a hardware supported kvm it shouldn't take much longer, double the
time worst case.
If things are taking longer than that look for cockpit trouble
somewhere.... the kvm configuration, or its memory configuration,
or something else. I don't know what.
<dillon at backplane.com>
More information about the Kernel