Linux Benchmarking

Walter Dnes waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org
Fri Aug 26 23:07:44 UTC 2005


On Wed, Aug 24, 2005 at 06:29:08PM -0400, Jason Carson wrote
> 
> > Walter Dnes wrote:
> >
> >>   I'm working on putting together YAF (Yet Another FAQ) for Gentoo
> >> newbies.  It's almost as much of a HOW_NOT_TO as it is a HOW_TO.  It
> >> will mention stuff like...
> >>   - *NOT* unrolling every last single loop or implementing every last
> >>     single exotic generic compiler "optimization"
> >>   - *NOT* exceeding -O2
> 
> My gentoo optimizations are the following and everything works fine
> 
> -O3 -march=athlon-xp -fomit-frame-pointer -funroll-loops -pipe -m3dnow
> -mmmx -msse

  Change the the "-O3" to "-O2" and drop "-funroll-loops", and you'll be
stable.  You can add "-mfpmath=sse", unless you have one of the early,
buggy AMDs.

-- 
Walter Dnes <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org>
My musings on technology and security at http://tech_sec.blog.ca
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list