From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QtzXl-0004G0-HI for garchives@archives.gentoo.org; Thu, 18 Aug 2011 10:09:45 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 694A821C308; Thu, 18 Aug 2011 10:09:31 +0000 (UTC) Received: from mail-qw0-f53.google.com (mail-qw0-f53.google.com [209.85.216.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 0D5EC21C2FD for ; Thu, 18 Aug 2011 10:08:30 +0000 (UTC) Received: by qwb7 with SMTP id 7so1492871qwb.40 for ; Thu, 18 Aug 2011 03:08:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=CNHAWycLqVHmZYchUJWgZHvHTRucqq0+VMxM/XuQ+2Y=; b=TZ4L/HtAmAemNIeHsSPSPQhrDnGzXKSANehkIBwpAMsazkHFmC0qBlU7rggjXwpn7X h6PVihJWS1Mnh58RJny14wLQuGlVr6LoRVOnM+V2VYwOvP/hXXAhM/WMLPikRqaKvoRo 1Cnlj1ijaMuj5F0b1JFVPduhbG5Un6oISKb3U= Received: by 10.224.197.66 with SMTP id ej2mr445863qab.398.1313662110143; Thu, 18 Aug 2011 03:08:30 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.229.86.202 with HTTP; Thu, 18 Aug 2011 03:08:10 -0700 (PDT) In-Reply-To: <4E4CCC1D.7080709@smash-net.org> References: <201108170959.50645.peter@humphrey.ukfsn.org> <4561713.Q5X3SpEkrt@eve> <4E4C98DA.8000608@smash-net.org> <4E4CCC1D.7080709@smash-net.org> From: James Broadhead Date: Thu, 18 Aug 2011 11:08:10 +0100 Message-ID: Subject: Re: [gentoo-user] OT: but cool - NASDAQ is gentoo powered To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 3ab6e79297586e6ea2a543c08c145d99 On 18 August 2011 09:23, Norman Rie=C3=9F wrote: > Am 08/18/11 09:11, schrieb Matthew Finkel: >> Just out of curiosity, how long does it take to compile gcc? >> >> - Matt > > Atom: > > genlop -t sys-devel/gcc-4.4.5 > =C2=A0* sys-devel/gcc > > =C2=A0 =C2=A0 Sat Feb 26 13:06:08 2011 >>> sys-devel/gcc-4.4.5 > =C2=A0 =C2=A0 =C2=A0 merge time: 1 hour, 12 minutes and 27 seconds. > > =C2=A0 =C2=A0 Wed Mar 23 23:01:12 2011 >>> sys-devel/gcc-4.4.5 > =C2=A0 =C2=A0 =C2=A0 merge time: 1 hour, 10 minutes and 22 seconds. I have an Atom 330 machine which is getting significantly worse build-times than you. What make.conf options are you using? (Or are you using something else to improve build times?) Wed Mar 16 04:49:09 2011 >>> sys-devel/gcc-4.4.5 merge time: 2 hours, 56 minutes and 20 seconds. Thu May 5 22:07:36 2011 >>> sys-devel/gcc-4.3.4 merge time: 2 hours, 14 minutes and 15 seconds. Fri May 6 00:35:53 2011 >>> sys-devel/gcc-4.4.5 merge time: 2 hours, 28 minutes and 17 seconds. Admittedly, my machine runs xbmc, which is a resource hog, and has a fair bit of disk activity. My CFLAGS are: CFLAGS=3D"-O2 -march=3Dcore2 -mtune=3Dgeneric -fomit-frame-pointer -pipe -mssse3 -mfpmath=3Dsse" which date to before -march=3Datom, and having read a performance article suggesting these. I note that the only practical difference between the resultant gcc options is that setting -mtune to core2 adds "#define __tune_core2__ 1". I wonder what the practical difference is. echo | gcc -dM -E - -O2 -march=3Dcore2 -mtune=3Dgeneric -fomit-frame-pointer -pipe -mssse3 -mfpmath=3Dsse I suppose, having looked into it this far, I'll merge gcc-4.5 to see what effect -mtune=3Datom has. (I'm not particularly interested in build times, but whether they're a sign of poor overall performance ... ) JB