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

看板DFBSD_kernel作者時間15年前 (2010/11/19 21:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/3 (看更多)
: :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>
文章代碼(AID): #1Cvdnd91 (DFBSD_kernel)
文章代碼(AID): #1Cvdnd91 (DFBSD_kernel)