From owner-freebsd-stable@FreeBSD.ORG Sun Jul 7 08:50:39 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1735F635; Sun, 7 Jul 2013 08:50:39 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id C1D241AEB; Sun, 7 Jul 2013 08:50:38 +0000 (UTC) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by kabab.cs.huji.ac.il with esmtp id 1Uvkft-0007jb-O6; Sun, 07 Jul 2013 11:50:29 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3 To: Jeremy Chadwick Subject: Re: make buildworld is now 50% slower In-reply-to: <20130705145839.GB5449@icarus.home.lan> References: <20130705145839.GB5449@icarus.home.lan> Comments: In-reply-to Jeremy Chadwick message dated "Fri, 05 Jul 2013 07:58:39 -0700." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 07 Jul 2013 11:50:29 +0300 From: Daniel Braniss Message-ID: Cc: "freebsd-stable@freebsd.org Stable" , Dimitry Andric 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: Sun, 07 Jul 2013 08:50:39 -0000 > On Fri, Jul 05, 2013 at 02:39:00PM +0200, Dimitry Andric wrote: > > [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? > > > > > > before: > > > buildwordl: 26m4.52s real 2h28m32.12s user 36m6.27s sys > > > buildkernel: 7m29.42s real 23m22.22s user 4m26.26s sys > > > > > > 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= in > > your /etc/src.conf, and you can shave off some build time. > > I just built world/kernel (stable/9 r252769) 5 hours ago. Results: > > time make -j4 buildworld = roughly 21 minutes on my hardware > time make -j4 buildkernel = roughly 8 minutes on my hardware > It's been a long time since I saw such numbers, maybe it's time to see where time is being spent, I will run it without clang to compare with your numbers. > These numbers are about the norm for me, meaning I do not see a > substantial increase in build times. > > Key point: I do not use/build/grok clang, i.e. WITHOUT_CLANG=true is in > my src.conf. But I am aware of the big clang change in r252723. > > If hardware details are wanted, ask, but I don't think it's relevant to > what the root cause is. > from what you are saying, I guess clang is not responsible. looking for my Sherlock Holmes hat. thanks, danny > -- > | Jeremy Chadwick jdc@koitsu.org | > | UNIX Systems Administrator http://jdc.koitsu.org/ | > | Making life hard for others since 1977. PGP 4BD6C0CB | >