rule-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RULE] Is it worth rebuilding from source RPMs for a specific CPU ty


From: M. Fioretti
Subject: Re: [RULE] Is it worth rebuilding from source RPMs for a specific CPU type?
Date: Tue, 29 Apr 2003 23:39:07 +0200
User-agent: Mutt/1.4i

On Tue, Apr 29, 2003 17:06:07 at 05:06:07PM -0400, C David Rigby 
(address@hidden) wrote:
> Above and beyond the issue of the lack of an "i386" kernel in later
> versions of RedHat, I am wondering if there is any significant
> performance advantage to compiling the source RPMs (SRPMS) for a
> specific processor. 
I have read several times that this makes a difference only for those
programs and libs that can use the instructions and capabilities of
those better processors, and that usually this means multimedia
stuff. In other words, a recompiled find, grep, or emacs may show no
difference at all, xine or xmms may (may!) go sensibly faster.

> 
> I am assuming that the rpm "--rebuild" option or rpmbuild, depending on
> the version of rpm used, actually cares about and optimizes for a
> particular Intel CPU family, depending on the CPU installed in the
> computer.

My understanding is that you have to write it in the makefile, ie that
rpm is not so smart and daring to jump over you and say "lemme
optimize this". Which, if confirmed, sounds much more sensible if you
ask me.

I think that you should check the shrike archives, and then ask
there. IIRC, there are people trying and discussing this very issue
for any release of every distro since when the Pentium appeared, but
I've never followed them really closely.

     Ciao,
                Marco Fioretti

-- 
Marco Fioretti                 m.fioretti, at the server inwind.it
Red Hat for low memory         http://www.rule-project.org/en/

A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects.
                                                       R. A. Heinlein




reply via email to

[Prev in Thread] Current Thread [Next in Thread]