Re: 7+ days of dogfood

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Mon, 11 Feb 2013 14:22:21 -0800
On Mon, Feb 11, 2013 at 01:29:12PM +0000, David Chisnall wrote:
> On 11 Feb 2013, at 10:48, Fabian Keil <freebsd-listen_at_fabiankeil.de> wrote:
> 
> > It's unfortunate that the builworld time roughly trippled since
> > 2010 but I guess that's progress and a more powerful system
> > should fix it. I certainly welcome clang in general, though.
> 
> In that case, it's worth noting that you can shave a fair bit off
> the build time by not building gcc.  WITHOUT_GCC=yes in src.conf
> is worthwhile.
> 

While not building a part of the base system will obviously
speed up bulidworld, it seems to me that you're being a
little too generous here.  The buildworld-speed issue is
clearly a problem with clang/llvm.  On my very lightly
loaded, 4-core opteron system with 16 GB of memory, I see

WITH_CLANG="YES"
WITH_GCC="YES"

rm -rf /usr/obj/*
time make -j4 buildworld
3634.55 real      9784.21 user      1286.08 sys

WITH_CLANG="YES"
WITHOUT_GCC="YES"

rm -rf /usr/obj/*
time make -j4 buildworld
3489.40 real      9413.90 user      1324.72 sys

WITHOUT_CLANG="YES"
WITH_GCC="YES"

rm -rf /usr/obj/*
time make -j4 buildworld
1928.38 real      5254.85 user      1075.68 sys

-- 
Steve
Received on Mon Feb 11 2013 - 21:22:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:34 UTC