[RULE] Is it worth rebuilding from source RPMs for a specific CPU type?
M. Fioretti
m.fioretti at inwind.it
Wed Apr 30 00:39:07 EEST 2003
On Tue, Apr 29, 2003 17:06:07 at 05:06:07PM -0400, C David Rigby (cdrigby at 9online.fr) 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
_______________________________________________
Rule Project HOME PAGE: http://www.rule-project.org/en/
Rule Development Site: http://savannah.gnu.org/projects/rule/
Rule-list at nongnu.org
http://mail.nongnu.org/mailman/listinfo/rule-list
More information about the Rule-list
mailing list