From owner-freebsd-stable@FreeBSD.ORG Fri Jul 5 12:39:05 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CF278963 for ; Fri, 5 Jul 2013 12:39:05 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) by mx1.freebsd.org (Postfix) with ESMTP id 985811ABC for ; Fri, 5 Jul 2013 12:39:05 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::55fe:86b3:1ee:6af5] (unknown [IPv6:2001:7b8:3a7:0:55fe:86b3:1ee:6af5]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 84CA05C43; Fri, 5 Jul 2013 14:39:03 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: make buildworld is now 50% slower From: Dimitry Andric In-Reply-To: Date: Fri, 5 Jul 2013 14:39:00 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Daniel Braniss X-Mailer: Apple Mail (2.1508) Cc: "freebsd-stable@freebsd.org Stable" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jul 2013 12:39:05 -0000 [redirecting to the correct mailing list, freebsd-stable@ ...] On Jul 5, 2013, at 10:53, Daniel Braniss wrote: > after today's update of 9.1-STABLE I noticed that make = build[world|kernel] are > taking conciderable more time, is it because the upgrade of clang? > and if so, is the code produced any better? >=20 > before: > buildwordl: 26m4.52s real 2h28m32.12s user 36m6.27s sys > buildkernel: 7m29.42s real 23m22.22s user 4m26.26s sys >=20 > today: > buildwordl: 34m29.80s real 2h38m9.37s user 37m7.61s sys > buildkernel: 15m31.52s real 22m59.40s user 4m33.06s sys Ehm, your user and sys times are not that much different at all, they add up to about 5% slower for buildworld, and 1% faster for build = kernel. Are you sure nothing else is running on that machine, eating up CPU time while you are building? :) But yes, clang 3.3 is of course somewhat larger than 3.2. You might especially notice that, if you are using gcc, which is very slow at compiling C++. In any case, if you do not care about clang, just set WITHOUT_CLANG=3D = in your /etc/src.conf, and you can shave off some build time. -Dimitry