Re: Are we losing users to Gentoo?
- To: email@example.com
- Subject: Re: Are we losing users to Gentoo?
- From: Nathanael Nerode <firstname.lastname@example.org>
- Date: Sun, 04 Apr 2004 06:05:08 -0400
- Message-id: <[🔎] email@example.com>
- References: <20021120095032.GA3581@espresso> <20021120110240.A26170@doc.ic.ac.uk> <firstname.lastname@example.org> <20021120121433.A12495@doc.ic.ac.uk> <email@example.com> <20021121001906.GA6530@linux700.localnet> <firstname.lastname@example.org> <email@example.com> <1037854845.2528.109.camel@space-ghost> <1037868036.2841.5.camel@EclipseGST> <firstname.lastname@example.org> <[🔎] email@example.com>
Patrice Fortier wrote:
> Le mer 31/03/2004 à 22:01, Matthias Urlichs a écrit :
>> Hi, Sean Harshbarger wrote:
>> > It would be nice to have support for optimized
>> > binaries. IMHO it would help Debian out a lot.
Little did you know, it already exists....
Debian doesn't have your-favorite-arbitrary-highly-specific-to-me optimized
binaries. But it does allow for optimized binaries based on the specific
processor; look at /usr/lib/i686/cmov and all that.
>> As far as I recall, the performance gains from compiling everything with
>> your-favorite-optimizer-settings aren't _that_ great -- typically smaller
>> than what you'd gain by waiting a couple of months before buying your
> I do agree with you for most of the stuff we use on our computers.
> But I'd like to point out that it could be interesting for a couple of
> packages like libc and cypto libs (like libssl) to have a binary package
> (with generic i686 support for example, as 686 is now at least 7 years
Little did you know, Debian has many of these already. :-)
> libc contains math functions, and considering that the 386 didn't even
> had an arithmetic coprocessor,
Debian basically requires a 387 if you have a 386; or the kernel can
emulate, but then it's dog-slow.
> we should get a significant speed up for
> these functions. Plus every applications use it, so it would benefit
> everyone of them.
Look in /lib/tls/i686/cmov/* once you've installed it....
> We have something similar with crypto libs as they make an heavy use
> of maths/crypto functions which could greatly benefit from a generic
> i686 binary package.
(and similar /usr/lib/i586 and /usr/lib/i486 variants)
> There are maybe a couple of other libs/applis which could be
The kernel (which already has lots of variants).
> As you can see, this is quite lite for debian maintainers: only
> 2 (or so) packages, and only with new compile options compared
> to the original package (i386).
> If this first phase is proven to be successful, we can later think
> about some desktop applications which are known be greatly improved
> by this (gimp, mozilla come to mind).
Applications or libraries which are *known* to be greatly improved should
certainly have wishlist bugs filed for optimized versions; providing actual
statistics would help, because maintainers are rightly wary of the phony
optimization syndrome (where it 'seems' to make a big difference to various
users, but doesn't really).
Note also that the current default compilation options for Debian compile
for i486, and "tune" for i686. (Tuning optimizes for a particular
processor in the ways which don't make it incompatible with older
processors.) (The exceptional package is the kernel, for which there's a
real-i386 version which emulates the missing 486 opcodes.)
This could, by itself, make a meaningful speed difference on the average
ix86 machine (though that isn't at all why it was done). This is new for
sarge, so only packages which have been recompiled with GCC 3.3 will get
the benefits, but that's most of them.
Make sure your vote will count.