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 1Rrbq4-0005ZQ-Vw for garchives@archives.gentoo.org; Sun, 29 Jan 2012 20:59:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 04CEDE0812; Sun, 29 Jan 2012 20:58:50 +0000 (UTC) Received: from mx.virtyou.com (mx.virtyou.com [178.33.32.244]) by pigeon.gentoo.org (Postfix) with ESMTP id 8D285E0710 for ; Sun, 29 Jan 2012 20:57:47 +0000 (UTC) Received: from weird.wonkology.org (xdsl-87-79-251-97.netcologne.de [87.79.251.97]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx.virtyou.com (Postfix) with ESMTPSA id 7180CDC04D for ; Sun, 29 Jan 2012 21:57:46 +0100 (CET) Date: Sun, 29 Jan 2012 21:57:44 +0100 From: Alex Schuster To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] About this graphite stuff Message-ID: <20120129215744.1f9ca9df@weird.wonkology.org> In-Reply-To: <4F25AA06.1090903@persimplex.net> References: <20120129202318.5d778af8@weird.wonkology.org> <4F25AA06.1090903@persimplex.net> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.8; x86_64-pc-linux-gnu) 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 3a80fe71-5d4a-4bb4-8e73-90d6f7a9cca4 X-Archives-Hash: 4b5d716b972d48f3e0cd2bcea8ffa91f victor romanchuk writes: > Alex Schuster wrote, at 01/29/2012 11:23 PM: > > What are your impressions on this? Is it fun? Will there be a > > noticeable speed difference? Do packages fail to build? We just had a > > 'Graphite causing trouble' thread here, the problem was that > > dev-libs/cloog-ppl has to be rebuilt when dev-libs/ppl has been > > updated. Can there be other problems, which would make me waste much > > more time than I could possibly gain by using these optimizations? > > i'm using graphite on core-i7 (950), x86_64 since the release of > gcc-4.4.5 and consider it as 'just fun' - i did not observe significant > speed difference but it should depend on a software you're going to > 'graphitize'. things installed on my desktop are mostly for development > (emacs, gdb, *sql, php, perl) with trivial multimedia (mplayer with > gnome frontend), a set of web browsers and ordinary office framework: > thunderbird, pidgin and libreoffice I'm a KDE user, and it always felt too slow, so I thought about giving graphite a try. Now, with the new machine, it is faster, and with 16 GB of RAM swapping no longer occurs. So there is no longer a need for more optimization, but I'm emerging -e @world anyway, so I think I'll just try it. > just for reference these are CFLAGS from my /etc/make.conf: > > CFLAGS="-O2 -g0 -march=core2 -msse4 -mcx16 -mpopcnt -msahf \ > -ftree-loop-distribution -ftree-loop-linear -mmmx \ > -floop-interchange -floop-strip-mine -floop-block -pipe" > > i do not use 'native' flag because that machine acts as distcc server > for several smaller core-i computers That won't be a problem, unless the machine will be a distcc _client_. In this case, your CFLAGS will be sent over to the distcc servers, and they will apply _their_ native settings. Just make sure the smaller computers don't have -march=native in their CFLAGS, as they would get code delivered compiled for the i7. > the only graphite incompatibility i've detected is x11-wm/compiz; > however this is easily worked around using portage environment quirks in > /etc/portage/env/x11-wm/compiz: > > CFLAGS="-O2 -g0 -march=core2 -msse4 -mmmx -pipe" > CXXFLAGS=${CFLAGS} I don't use that, but I guess in case I experience strange compile problems I can always try to avoid those special CFLAGS, and it might work. Thanks for your input on this, Wonko