On Thursday 15 December 2005 19:38, John Myers wrote: > On Thursday 15 December 2005 04:48, Patrick Lauer wrote: > > Hi all, > > > > I was wondering if there are any sane ways to optimize the performance > > of a Gentoo system. > > Overoptimization (the well known "-O9 -fomgomg" CFLAGS etc.) tends to > > make things unstable, which is of course not what we want. The "easy" > > way out would be buying faster hardware, but that is usually not an > > option ;-) > > > > So ... what can be done to get the stable maximum out of your hardware? > > This should be obvious, but don't USE=debug globally. Last time I did that, > it made my Athlon64 3400+ with 1G of RAM feel like the 300MHz PII with 192M > of RAM I have.
Just to add. This is not so much related to debugging information in the library files (what gdb can use). That information never makes it from disk so is not that much of a speed issue (esp. if it is split out). It is however related to the debug use flag enabling various kinds of debugging checks, output and whatnot in software. Those tests are useful for debugging, but in the case of tests are normally disabled because of the performance hit they carry. Paul -- Paul de Vrieze Gentoo Developer Mail: [EMAIL PROTECTED] Homepage: http://www.devrieze.net
pgp7qVfWu615u.pgp
Description: PGP signature