From owner-freebsd-current@FreeBSD.ORG Tue Apr 27 08:07:56 2010 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9677106566C for ; Tue, 27 Apr 2010 08:07:56 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (lev.vlakno.cz [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id 758F78FC0C for ; Tue, 27 Apr 2010 08:07:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id F31869CB0D6; Tue, 27 Apr 2010 10:05:21 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NmtRsvRBz5H5; Tue, 27 Apr 2010 10:05:18 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 8D20B9CB16D; Tue, 27 Apr 2010 10:05:18 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id o3R85Ilb032133; Tue, 27 Apr 2010 10:05:18 +0200 (CEST) (envelope-from rdivacky) Date: Tue, 27 Apr 2010 10:05:18 +0200 From: Roman Divacky To: Dominic Fandrey Message-ID: <20100427080518.GA31918@freebsd.org> References: <4BD68275.6020509@bsdforen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BD68275.6020509@bsdforen.de> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@FreeBSD.org Subject: Re: ClangBSD build failures X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2010 08:07:56 -0000 On Tue, Apr 27, 2010 at 08:21:41AM +0200, Dominic Fandrey wrote: > Hello, > > I wanted to make some performance comparisons, building ClangBSD > with different compilers. > > The host system is: > FreeBSD mobileKamikaze.norad 8.0-STABLE FreeBSD 8.0-STABLE #0: Mon Apr 5 12:45:41 CEST 2010 root@mobileKamikaze.norad:/usr/obj/HP6510b-8/amd64/usr/src/sys/HP6510b-8 amd64 > > An interesting result is that buildkernel with clang takes longer: > CC=clang > time -l make buildkernel > 921.31 real 802.25 user 114.93 sys > time -l make buildkernel -j3 > 645.17 real 838.46 user 143.03 sys > > CC=cc > time -l make buildkernel > 877.14 real 757.42 user 115.11 sys > time -l make buildkernel -j3 > 628.32 real 798.03 user 149.52 sys fwiw.. these are my times: clang: 403.342u 42.516s 6:53.30 107.8% 21957+2248k 33+56671io 364pf+0w gcc: 451.952u 42.860s 7:23.16 111.6% 6564+2012k 78+43200io 3pf+0w note that clang build had more page faults thus would be a little faster without them