Im thinking in rebuild my owns RPM optmized for P4, fedora core really goes slow. are any predefined step, some automatic tool for do this?
thx
Patricio Bruna wrote:
Im thinking in rebuild my owns RPM optmized for P4, fedora core really goes slow. are any predefined step, some automatic tool for do this?
thx
Don't bother. You will have almost zero benefit do to today's greatly improved compilers and -mtune=pentium4 default on all FC3 packages. You will waste far more timing in rebuilding packages than you would possibly gain.
http://www.funroll-loops.org/ Refer to this site for similar sentiments.
Warren Togami wtogami@redhat.com
El mar, 05-10-2004 a las 18:59 -1000, Warren Togami escribió:
Patricio Bruna wrote:
Im thinking in rebuild my owns RPM optmized for P4, fedora core really goes slow. are any predefined step, some automatic tool for do this?
thx
Don't bother. You will have almost zero benefit do to today's greatly improved compilers and -mtune=pentium4 default on all FC3 packages. You will waste far more timing in rebuilding packages than you would possibly gain.
http://www.funroll-loops.org/ Refer to this site for similar sentiments.
Warren Togami wtogami@redhat.com
very interesting, what its that -mtune=pentium4? where i can read about it?
On Wed, Oct 06, 2004 at 10:06:33AM -0400, Patricio Bruna wrote:
very interesting, what its that -mtune=pentium4? where i can read about it?
It schedules instructions in a way that favours the P4 architecture, but does not use instructions specific to that chip. So the binaries will run on everything >=i386 (at least in theory, I think nobody actually tested FC on a 386 :), but will run even better on P4s.
Le mercredi 06 octobre 2004 à 00:19 -0400, Patricio Bruna a écrit :
Im thinking in rebuild my owns RPM optmized for P4, fedora core really goes slow.
I'll not be surprised if fedora core will continue to go "really slow" even if you rebuild all packages.
The current setting (from /usr/lib/rpm/redhat/rpmrc) : i386 => -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 i686 => -O2 -g -pipe -m32 -march=i686 -mtune=pentium4
Default is set to i386 but some packages are also compiled with i686 flags : # rpm -q --queryformat "%{ARCH} %{NAME}\n" -a | grep ^i686 i686 glibc i686 nptl-devel i686 openssl i686 kernel
are any predefined step, some automatic tool for do this?
thx
-- Patricio Bruna Villarroel Red Hat Certified Engineer Ingeniero Soporte Linux Center S.A. Fono: 2745000 Canada 239, Providencia Santiago
On Wed, 06 Oct 2004 00:19:47 -0400, Patricio Bruna pbruna@linuxcenterla.com wrote:
Im thinking in rebuild my owns RPM optmized for P4, fedora core really goes slow. are any predefined step, some automatic tool for do this?
thx
I wont say dont bother, but you really need to make sure you post any improvements can be seen. There is a lot of talk on both sides.. but very few numbers.