H. Narfi Stefansson wrote:

Giuseppe wrote:

w9ya wrote:


Austin wrote: [for me, thanks Austin!]


The best times of the 4 were:
athlon-xp: 12.16
i586: 13.24
i586, no mmx: 57.65





Honestly I never found yet a package that will increase
performance of even 10% just changing the compiler flags



Guiseppe, I completely agree with this statement.


My trivial experiment shows 2 things:
1) It pays off bigtime to allow mjpegtools to use the MMX instruction set.
2) We only get a minimal benefit from compiling for athlon instead of i586.

When the discussion of mjpegtools started, some people wanted local
recompilations but these numbers to not support that idea. They do, however,
strongly support the idea of building and distributing mjpegtools with and
without the MMX instructions. [The former is in order to get the performance
benefit, the latter in order to follow the Mandrake architecture policy]

If you can help Austin in any way to set that up, we would all be very grateful.
So far, Austin has only received vague instructions and ridicule despite his
best attempts at asking polite and constructive questions.

Narfi.


Note that also providing a single package containing multiple libraries (standard
place for i586 and /lib/i686 for special one) is a good and elegant way, and will work
dinamically, but will work only if the packages support the MMX (or whatever other
extension) extensions in a library. If the package needs binaries in /usr/bin which have to be
compiled with MMX support/flags themselves, then a special standalone package need to be built,
otherwise there should be a repository also for binaries /usr/i686/bin or /usr/bin/i686
and have them in a PATH before /usr/bin. In this way I think that it's easier to
provide a .i686.rpm package.


Bye.
Giuseppe.






Reply via email to