Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jan 2017 17:49:07 +0100
From:      =?UTF-8?B?0JXQstCz0LXQvdC40Lkg0JEuINCh0L/QsNC80LDQutC+0LLRgdC60LjQuQ==?= <spamakowski@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: buildworld build times 10-stable vs. 11-stable
Message-ID:  <CAMUQELDZfB9V3OmtF2iOSYA_Y4Q87vuASZTdSR3a4JDN8VWuOA@mail.gmail.com>
In-Reply-To: <6820bd62-dacb-b804-f540-ea1357e15331@ShaneWare.Biz>
References:  <alpine.GSO.2.11.1701151033290.58251@localhost.local> <20170115171318.GC58505@zxy.spb.ru> <6820bd62-dacb-b804-f540-ea1357e15331@ShaneWare.Biz>

next in thread | previous in thread | raw e-mail | index | archive | help
As a matter of habit, when I rebuild stuff (which I do semi-regularly,
not scripted etc.) I make sure to log the times with time(1) and print
the rusage struct (-l option.)

That is, essentially
$ /usr/bin/time -l make -j 15 buildworld > buildworld2.log 2>&1 &

The tail end of my latest 11.0-STABLE:
--------------------------------------------------------------
>>> World build completed on Thu Jan  5 18:04:23 CET 2017
--------------------------------------------------------------
     2203.56 real     14713.24 user      1314.18 sys
    509812  maximum resident set size
     42475  average shared memory size
       355  average unshared data size
       193  average unshared stack size
 146541269  page reclaims
    359399  page faults
         0  swaps
    350298  block input operations
   2710588  block output operations
         0  messages sent
         0  messages received
     84248  signals received
   6695336  voluntary context switches
   5581828  involuntary context switches

Ironically I can't provide you with historic ones (from 10.3, 10.1, 9
etc) because some weeks ago I finally garbage-collected old source
trees.


On Mon, Jan 16, 2017 at 6:24 AM, Shane Ambler <BSD@shaneware.biz> wrote:
> On 16/01/2017 03:43, Slawa Olhovchenkov wrote:
>>
>> On Sun, Jan 15, 2017 at 10:40:42AM -0600, Dan Mack wrote:
>>
>>> I have a system which builds world, kernel, install, boot, installworld,
>>> reboot several times per week.   I just noticed that my build times
>>> increased from about (just cherry picking a couple build logs):
>>>
>>>    Starting build of FreeBSD SVN [309852]  10.3-STABLE
>>>    Kernel will be GENERIC
>>>      building world ...         90:35 0
>>>
>>>
>>>    Starting build of FreeBSD SVN [312099]  11.0-STABLE
>>>    Kernel will be GENERIC
>>>      building world ...         146:23 0
>>>
>>> before I start bisecting the log files, is there something obvious
>>> introduced in 11 that I missed that would explain the roughly 50 minute
>>> difference in my build times?   clang?  additional subsystems?
>>
>>
>> lldb/clang and related.
>
>
> +1
>
> Try adding WITHOUT_CLANG_EXTRAS WITHOUT_CLANG_FULL WITHOUT_LLDB
> to src.conf and see what build times you get.
>
> --
> FreeBSD - the place to B...Software Developing
>
> Shane Ambler
>
>
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMUQELDZfB9V3OmtF2iOSYA_Y4Q87vuASZTdSR3a4JDN8VWuOA>