1 |
On Thursday 15 December 2005 19:38, John Myers wrote: |
2 |
> On Thursday 15 December 2005 04:48, Patrick Lauer wrote: |
3 |
> > Hi all, |
4 |
> > |
5 |
> > I was wondering if there are any sane ways to optimize the performance |
6 |
> > of a Gentoo system. |
7 |
> > Overoptimization (the well known "-O9 -fomgomg" CFLAGS etc.) tends to |
8 |
> > make things unstable, which is of course not what we want. The "easy" |
9 |
> > way out would be buying faster hardware, but that is usually not an |
10 |
> > option ;-) |
11 |
> > |
12 |
> > So ... what can be done to get the stable maximum out of your hardware? |
13 |
> |
14 |
> This should be obvious, but don't USE=debug globally. Last time I did that, |
15 |
> it made my Athlon64 3400+ with 1G of RAM feel like the 300MHz PII with 192M |
16 |
> of RAM I have. |
17 |
|
18 |
Just to add. This is not so much related to debugging information in the |
19 |
library files (what gdb can use). That information never makes it from disk |
20 |
so is not that much of a speed issue (esp. if it is split out). It is however |
21 |
related to the debug use flag enabling various kinds of debugging checks, |
22 |
output and whatnot in software. Those tests are useful for debugging, but in |
23 |
the case of tests are normally disabled because of the performance hit they |
24 |
carry. |
25 |
|
26 |
Paul |
27 |
|
28 |
-- |
29 |
Paul de Vrieze |
30 |
Gentoo Developer |
31 |
Mail: pauldv@g.o |
32 |
Homepage: http://www.devrieze.net |