From owner-freebsd-stable@freebsd.org Mon Jan 16 16:49:08 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9C92BCAF3BB for ; Mon, 16 Jan 2017 16:49:08 +0000 (UTC) (envelope-from spamakowski@gmail.com) Received: from mail-io0-x229.google.com (mail-io0-x229.google.com [IPv6:2607:f8b0:4001:c06::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 73A0919AA for ; Mon, 16 Jan 2017 16:49:08 +0000 (UTC) (envelope-from spamakowski@gmail.com) Received: by mail-io0-x229.google.com with SMTP id l66so95775698ioi.1 for ; Mon, 16 Jan 2017 08:49:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=X2+QRcv403UDWOgZhsKLUkTvrpjr1yTKNv8XkngE22I=; b=bkqfunvbow5vJGop+t5WmECeYZdsuPx49tVdnB7gijlEHfwraqGHJThQLQGGg1sA6W p9txL92lKutbRp4to0MSsGFWv9Wtor7K4GkMqem3xBEXrHcT8fu+NMPeUaNjSH/ZoT2I gHEAAGR4MfpAAKI4fXcfbBpQFsDjwPxNc7O9zQLlau0gL3uzpMjuG6/MtR3/ASxSSmfZ gAEmTvFUXVVX5qFfArYD9ziz8RMR8kn5idTQ9i2Erq5ybKO2RpwQ9am876/p8rmhSdva kTJ7IaBB+ueygcYxxUn7gG1PbZZ8vmY/ME9pdMjoY9ipWldUa0XQtFUqCb5KuSM6Uu4r zyRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=X2+QRcv403UDWOgZhsKLUkTvrpjr1yTKNv8XkngE22I=; b=VToHcSv1ai6HxIYwtuxCir5/82jh2jjRePjFXKfJJnh1zJ5/36hzO5D684rm4AK64a YZ9HwF8QnERHFy5JrCIzdC/HMG5dRmVWeMag0izSV6KWPLA/f1THa/c+mOGIS/+LSJsJ XXtRbFyIaHBK42wzBIDoMMCw0oV/EbWCvSOtX3HuJj9gCix7KjmF21qdoLAyya686xPb 5DPXEpEvEs1y+TOVZTAg/EQhDXVCbgACgF/WfN3761dUMxjWbN/fEJhDrBb8SAiGi3Xm T6FbneRD73tyFADS4pp6bO7K4sNcWTHq7+rr8Q+ZPPTTluFMok9hyP+IbDtWnMIxAB4U S7YQ== X-Gm-Message-State: AIkVDXKMpbLhClYCoCq2CLoJWSEwY9GjFqwPiwVci9RgixGdIVrJXnMLVan6F1EYRD6iV6sDOQgn+hqxWA712A== X-Received: by 10.107.133.85 with SMTP id h82mr37051614iod.134.1484585347654; Mon, 16 Jan 2017 08:49:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.112.216 with HTTP; Mon, 16 Jan 2017 08:49:07 -0800 (PST) In-Reply-To: <6820bd62-dacb-b804-f540-ea1357e15331@ShaneWare.Biz> References: <20170115171318.GC58505@zxy.spb.ru> <6820bd62-dacb-b804-f540-ea1357e15331@ShaneWare.Biz> From: =?UTF-8?B?0JXQstCz0LXQvdC40Lkg0JEuINCh0L/QsNC80LDQutC+0LLRgdC60LjQuQ==?= Date: Mon, 16 Jan 2017 17:49:07 +0100 Message-ID: Subject: Re: buildworld build times 10-stable vs. 11-stable To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2017 16:49:08 -0000 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 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"