[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dragonfly-kernel
Subject:    Re: Why does it take so long to compile a module
From:       Matthew Dillon <dillon () apollo ! backplane ! com>
Date:       2010-10-20 20:05:16
Message-ID: 201010202005.o9KK5Gm1054899 () apollo ! backplane ! com
[Download RAW message or body]


:
: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>
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic