Hi Meka, On Sat, 8 Nov 2003 05:31:55 +0100 "Meka[ni]" <[EMAIL PROTECTED]> wrote:
> On Sat, 08 Nov 2003 11:32:00 +0800 > William Kenworthy <[EMAIL PROTECTED]> wrote: > > > How much faster, and under what circumstances? (startup? running?) > > > > mozilla filters some build flags out: its worth reading the top of the > > mozilla ebuild to see why. > > > > In any case, you will not likely see any gain whilst running an app like > > mozilla as its dependent on a lot of other things like network. > > > > BillK > > > > -O2 is better than -O3, but adding extra flags seems to produce at best > > only a couple of percent gain in most cases, and possibly at the cost of > > stability. Some processor intensive apps will benefit more, but mozilla > > is not one of them. > > As always, the flags depends on the architecture. and -O3 "realizes" that you have a lot of L1/L2 cache. if this is your case, -O3 will run fine. but the only way to test and maybe "guess" what is your faster combinations of CFLAGS is "test them yourself", like I did on my benchmark posted here and in the forums: http://forums.gentoo.org/viewtopic.php?p=613970#613970 Where you can see -finline-functions (of -O3) make things slower (in that program, and in my architecture). > I've mentioned mozilla just as an example of a big, CPU demanding program. I > have > poor CPU so what I would like to gain is a faster system. It is not a server of > something > that needs to be stable like a wall but I wouldn't like to have an applications that > crash > every minute. Thanx :o) > Mozilla is not only a "big CPU demanding program" Mozilla is also (and much more) "Memory demanding program" so the big bottleneck for this kind of programs is the ammoutn of memory that you have, also the L2 cache, for this kind of programs I would recomend to use -Os as the CFLAG of preference (and if you have a Celeron, you may need this for your whole system, as the Celerons have very little cache) but again, the only way to "discover" this is testing it by yourself. (povray would be a good CPU intensive benchmark, but not so intensive regarding memory benchmark, I used that because my AMD Barton core was good on, speaking of, cache sizes and 512Mb of RAM is enough for me. > ________ > Meka[ni] > > -- > [EMAIL PROTECTED] mailing list > > > -- [EMAIL PROTECTED] mailing list