On Jun 19, 2013, at 10:50 AM, Jeroen van der Ham <jeroen@dckd.nl> wrote:
> Hi,
>
> On 19 Jun 2013, at 18:15, Justin T. Gibbs <gibbs@FreeBSD.org> wrote:
>>
>> I''ve never seen a kernel build take 2 hours, much less 2 hours
*longer*. Are you talking about buildworld? It would be interesting to know
your results building stable/9 sources in your 10 environment to see if this is
just due to "build bloat" or a true performance regression.
>>
>
> I copy/pasted the command from the wiki:
>
>> # make kernel-toolchain && make buildkernel KERNCONF=XENHVM
&& make installkernel KERNCONF=XENHVM
>
> On the stable/9 I only did
>
>> make buildkernel KERNCONF=XENHVM && make installkernel
KERNCONF=XENHVM
>
>
> I guess the kernel-toolchain takes a long time to build…and from what I can
see it does a clean before rebuilding also.
>
> I''m doing the kernel-toolchain step only now and will report how
long it took.
>
> Jeroen.
Oh. Without any parallelism (-j X), the build will take a really long time.
Even with only one core, you''ll get a large speedup by performing a
parallel build since many steps of the build are I/O bound.
--
Justin