Joseph <[EMAIL PROTECTED]> writes: > On Sat, 2004-03-06 at 23:16, Brian Nelson wrote: >> Karol Czachorowski <[EMAIL PROTECTED]> writes: >> >> > On Fri, Mar 05, 2004 at 01:47:01PM +1300, [EMAIL PROTECTED] >> > wrote: >> >> I'm starting to wonder how much difference gentoo's optimization >> >> actually makes. >> > Gentoo is much faster than debian. > > Somebody did some comparison recently between Debian, Gentoo and RedHat > I think (though I don't know the link anymore) and it turns out that > Gentoo is not much faster at all and in some cases it was ever slower > than Debian.
Yes, because many higher level optimizations can actually make code run significantly slower. Whether you can get any benefit at all largely depends on the specific code you're compiling. Having globally configurable optimization settings makes absolutely no sense--they should only be used on a per-application basis. Per-processor optimizations are largely useless as well, probably since GCC is not able to take advantage of the additional instructions in an effective way. See http://www.coyotegulch.com/acovea/ for an interesting study of GCC optimizations. -- Don't worry, it's *in*-flammable. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

