1 |
On Mon, 21 Aug 2006 22:51:43 +0200, Stefan G. Weichinger wrote: |
2 |
|
3 |
> Now I read about the fact that -O3 results in bigger binaries and isn't |
4 |
> at all guaranteed to give me a faster system. The bigger files result in |
5 |
> more load on IO, so this tells me that it puts the load on the |
6 |
> (relatively slow) 5400 rpm HDD I have in my laptop. OTOH I have "only" |
7 |
> 512 MB RAM in there so it seems interesting to me to go the -O2 way of |
8 |
> doing Gentoo ... |
9 |
|
10 |
I agree with Richard's response to the other other parts of your mail, but |
11 |
I'd also add that -O2 may not be the best setting for your system. -Os |
12 |
applies some of the optimisations of -O3 but also optimises for size. It |
13 |
is often the best setting for systems with slow memory and disk I/O, i.e. |
14 |
laptops. |
15 |
|
16 |
|
17 |
-- |
18 |
Neil Bothwick |
19 |
|
20 |
A bug in the hand is better than one as yet undetected. |