On Sat, 2004-01-10 at 20:07, Bill Roberts wrote: > On 13:24 Sat 10 Jan , Sean Johnson wrote: > > > What size cache would be relevant to this distinction, and is there any other > > > factor that makes -O2 preferable to -O3? I have a 600MHz PIII (Coppermine) > > > with 256kB cache, and am using CFLAGS="-march=pentium3 -O3 -pipe > > > -fomit-frame-pointer". Would I be better off with -O2? > > I read some good stuff on optimization in the GMANE archives, and > came to the conclusion that -O2 is best in most situations.
Although people seem to have come to that conclusion I recently moved from -O2 to -O3 and my system is definitely faster. Mine is a dual Athlon, so may be different to the Pentium above. Also, I found that mounting /tmp as tmpfs quite drastically boosted my machine... -- Tom Wesley
signature.asc
Description: This is a digitally signed message part
