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 1Qu13c-0003uc-G7 for garchives@archives.gentoo.org; Thu, 18 Aug 2011 11:46:44 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2060C21C06B; Thu, 18 Aug 2011 11:46:30 +0000 (UTC) Received: from der-root.de (der-root.de [78.46.36.110]) by pigeon.gentoo.org (Postfix) with ESMTP id 49D9A21C043 for ; Thu, 18 Aug 2011 11:45:21 +0000 (UTC) Received: from [78.46.36.110] (der-root [78.46.36.110]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by der-root.de (Postfix) with ESMTPSA id 2F607220C2BD for ; Thu, 18 Aug 2011 13:45:12 +0200 (CEST) Message-ID: <4E4CFB46.80908@smash-net.org> Date: Thu, 18 Aug 2011 13:45:10 +0200 From: =?UTF-8?B?Tm9ybWFuIFJpZcOf?= User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:5.0) Gecko/20110624 Thunderbird/5.0 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] OT: but cool - NASDAQ is gentoo powered References: <201108170959.50645.peter@humphrey.ukfsn.org> <4561713.Q5X3SpEkrt@eve> <4E4C98DA.8000608@smash-net.org> <4E4CCC1D.7080709@smash-net.org> In-Reply-To: X-Enigmail-Version: 1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 00ade850bfeb3062e8d556287d988b01 Am 08/18/11 12:08, schrieb James Broadhead: > 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 >> * sys-devel/gcc >> >> Sat Feb 26 13:06:08 2011 >>> sys-devel/gcc-4.4.5 >> merge time: 1 hour, 12 minutes and 27 seconds. >> >> Wed Mar 23 23:01:12 2011 >>> sys-devel/gcc-4.4.5 >> merge time: 1 hour, 10 minutes and 22 seconds. >=20 > 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?) >=20 > Wed Mar 16 04:49:09 2011 >>> sys-devel/gcc-4.4.5 > merge time: 2 hours, 56 minutes and 20 seconds. >=20 > Thu May 5 22:07:36 2011 >>> sys-devel/gcc-4.3.4 > merge time: 2 hours, 14 minutes and 15 seconds. >=20 > Fri May 6 00:35:53 2011 >>> sys-devel/gcc-4.4.5 > merge time: 2 hours, 28 minutes and 17 seconds. >=20 > 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 -pip= e > -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 >=20 > I suppose, having looked into it this far, I'll merge gcc-4.5 to see > what effect -mtune=3Datom has. >=20 > (I'm not particularly interested in build times, but whether they're a > sign of poor overall performance ... ) >=20 > JB >=20 Well i use an Atom D510, the core features seems to be quite similar to yours, with the only difference, that D510 has a graphics unit added. Here is my make.conf... how many threads are you using in gcc? CFLAGS=3D"-O2 -pipe -march=3Dcore2 -mssse3 -mfpmath=3Dsse" CXXFLAGS=3D"${CFLAGS}" CHOST=3D"x86_64-pc-linux-gnu" MAKEOPTS=3D"-j5" USE=3D"-X -gtk -gtk2 -qt3 -qt4 -gnome -kde unicode nls -mysql mmx sse sse= 2 ssse3 acpi hddtemp threads iproute2" LINGUAS=3D"de" AUTOCLEAN=3D"yes" FEATURES=3D"parallel-fetch" Norman