DragonFly BSD
DragonFly kernel List (threaded) for 2010-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Why does it take so long to compile a module


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 20 Oct 2010 13:05:16 -0700 (PDT)

:
: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.
:
:Pratyush.

    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.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]