Gentoo Archives: gentoo-performance

From: Ravi Pinjala <ravi@××××××××.net>
To: gentoo-performance@l.g.o
Subject: Re: [gentoo-performance] Advice for CFLAGS
Date: Fri, 08 Jun 2007 16:16:07
In Reply to: Re: [gentoo-performance] Advice for CFLAGS by Mike Spitzer
Hash: SHA1

Mike Spitzer wrote:
> On Fri, Jun 08, 2007 at 11:26:54AM +0200, Florian Philipp wrote: >> In other words, there is no clear answer but my chances are quiet bad. >> >> I think I'll try around a bit. I'll prepare three images on my desktop, one >> Os, one O2 and one O3. >> >> Then I'll post my experience... > > Just from personal experience: I once compiled everything using O3 and > couldn't tell any appreciable difference in speed on most applications. > It also seemed to cause some applications to behave oddly or crash at > weird times. Booting off of a boot cd and recompiling the whole system > with O2 fixed all of the problems. > > That was with a PIII, though. I understand many apps now that have > trouble with O3 are force to O2 with their ebuild, so your experience > may end up being a lot different. It hasn't been worth it for me to try > it again.
I don't think it's just P3; I've heard of -O3 causing instability, crashes, or whatnot on other archs too. The best thing is probably to use -O2 in general, and use higher optimizations for specific applications that you want to tune. - --Ravi -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - iD8DBQFGaYAgsDgfoknqAqMRAi6cAJ9GeQB9b/teXJfLryaphs7oMcD86gCg2CPF DDuJ8i09alnSxao84lLwcik= =vYOn -----END PGP SIGNATURE----- -- gentoo-performance@g.o mailing list