-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday 19 March 2003 07:33 am, Leon Brooks wrote:
> On Wednesday 19 March 2003 04:16 pm, Gwenole Beauchesne wrote:
> > On Tue, 18 Mar 2003, Narfi Stefansson wrote:
> >> I believe that Steffen is right that mjpegtools was compiled without
> >> MMX in the 9.0 rpms.
> >> When I compile for i586 and athlon side by side and I enable MMX for
> >> both, I only get a maximum of 10-15% speed difference.
> >> The difference in with/without MMX is of course huge :-)
> >
> > No package will be built with MMX optimizations by default as there are
> > Pentium out there without those extensions. However, if your application
> > dynamically links against some optimized DSOs that would be fine to put
> > those libraries in */lib/mmx/* or */lib/sse{,2}/*. But you will be stuck
> > if they decided to dlopen() their plugins/libraries.
>
> OK, how about a half-step towards Gentoo?
Yes when I read this it reminded me also of gentoo.
>
> If URPMI knows what architecture it's really running under, you could add a
> new --optimi[sz]e switch to it so that...
>
> urpmi --optimise mjpegtools
Yes very interesting. I like this.
>
> ...would download (if needed) or fetch from source CDs the appropriate
> SRPM(s), install them, rebuild them for the correct CPU, and (if needed)
> install the optimised RPMs over the top of the existing unoptimised
> package(s).
>
> It would also be relatively straightforward to cache/log the names of
> packages that had been optimised, to allow updates on same to be
> automagically re-optimised.
>
> What would be truly magnificant would be a way to do this and cache the
> results, so that the recompile need only be done once if the package is
> destined for a flock of identical machines.
>
> Next project, of course, would be `urpmi --optimize-all' followed by a
> 2-day pause while everything gets torn down, rebuilt and reinstalled. (-:
>
> Cheers; Leon
Yes then it would more or less be exactly like gentoo but with that special
mandrake touch.
This would also be interesting on the next versions of the amd opteron. In
that case you could install 9.1 and just urmpi --optimize-all --buildarch
x86-46 or something like that and get a athlon 64 optimized distro under your
hood.
- --
-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-
Brook Humphrey
Mobile PC Medic, 420 1st, Cheney, WA 99004, 509-235-9107
http://www.webmedic.net, [EMAIL PROTECTED], [EMAIL PROTECTED]
Holiness unto the Lord
-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+eKCdnT1TkA6FgPgRAjsfAJ0aYVlyMwttwhcBE9N3Ft46I6nGRACcDqUy
Vc/CRRO0yQIZCFgFhwvMf8E=
=q1ou
-----END PGP SIGNATURE-----