Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-performance
Navigation:
Lists: gentoo-performance: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-performance@g.o
From: William Kenworthy <billk@...>
Subject: Re: inline considered harmful
Date: Fri, 23 Jul 2004 06:23:10 +0800
A while back I ran a large number of tests on optimisations across an
athlon t-bird 1.4g, pentium4M (dell laptop) and a cyrix 200 (for fun!). 
The applications were scientific, some home scripts and gimp
manipulations.

I was mainly interested in routines that run for many hours/days as this
was what was causing me the most grief at the time.  Basicly, ~10% gains
can be be seen between -Os (s must be for for slowest!) and -O2 (-O3 is
almost always slower than -O2)

Of course, results were highly variable, and application dependent.

I came to the conclusion that for me, compiling the system with
"-march=athlon-xp -O2 -pipe -fomit-frame-pointer -falign-functions=4"
gave the best general gain.  My next step was to be to compile all the
gui stuff with -Os to speed up startup - but I never got around to it.

Per package optimisations would be nice, but I can imagine it getting
into a far greater mess than USE flags are at the moment - getting
unusable.

BillK

On Thu, 2004-07-22 at 19:06, Jerry McBride wrote:
> On Thursday 22 July 2004 02:35 pm, Bart Alewijnse wrote:
> > I'm curious as to how many of you have considered and tried using -Os



--
gentoo-performance@g.o mailing list

Replies:
Re: inline considered harmful
-- William Kenworthy
References:
inline considered harmful
-- Mario Domenech Goulart
Re: inline considered harmful
-- Ervin NĂ©meth
Re: inline considered harmful
-- Bart Alewijnse
Re: inline considered harmful
-- Jerry McBride
Navigation:
Lists: gentoo-performance: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: inline considered harmful
Next by thread:
Re: inline considered harmful
Previous by date:
Re: inline considered harmful
Next by date:
Re: inline considered harmful


Updated Jun 17, 2009

Summary: Archive of the gentoo-performance mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.