Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: mbkennel@yahoo.com (Matt Kennel)
Subject: Re: Redhat/Alpha computational performance????
Date: 1998/03/05	[thread overview]
Message-ID: <slrn6fu8ht.91f.mbkennel@lyapunov.ucsd.edu> (raw)
In-Reply-To: 6dkng7$3hh@news1.newsguy.com


On 4 Mar 1998 23:18:31 GMT, Greg Lindahl <lindahl@pbm.com> wrote:
:mbkennel@yahoo.com (Matt Kennel) writes:
:
:> Naturally, but please don't say that these elementary functions aren't
:> crucial to a very large number of computations.  Some of my other benchmark
:> codes which showed poor performance were for computational neuroscience.
:
:Sure, in many fields, elementary functions are critical.
:
:It would be good if someone would be inspired to go fix that library.

Yes it would be.  However, looking at the source it's not obvious to me what
exactly needs to be done to "fix" it.

:> And why does the Linux/Alpha compiler compile the "FDLIBM" library (a high
:> quality IEEE-754 libm) so poorly?  
:
:Is this library fast on other platforms? It might pay to hand-optimize the
:output; it's often hard for compilers to compile weird shifts efficiently.

I don't know what counts as ''fast'', but I compiled FDLIBM from identical
sources on x86 and Alpha with egcs 1.0.1 on Linux/Alpha , and tested a
benchmark computational neuronal network program written in C.  The compiler
flags were -O3 -ffast-math and on x86 -malign-double, and linked with my
personally compiled libm and not the system one.

This program exercises only double precision 'exp' heavily, being about 40%
of the runtime.

On a 300 Mhz Pentium II the total runtime was 15.07 seconds, and on a 533
LX164 it was 13.27.

On trigonometric functions (tested in other programs), the Alpha seems to be
at a slightly greater disadvantage.

-- 
*        Matthew B. Kennel/Institute for Nonlinear Science, UCSD           -
* "People who send spam to Emperor Cartagia... vanish! _They say_ that
* there's a room where he has their heads, lined up in a row on a desk...
* _They say_ that late at night, he goes there, and talks to them... _they
*- say_ he asks them, 'Now tell me again, how _do_ you make money fast?'"



  reply	other threads:[~1998-03-05  5:00 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <slrn6fc0t1.3en.mbkennel@lyapunov.ucsd.edu>
1998-02-27  5:00 ` Redhat/Alpha computational performance???? Greg Lindahl
1998-03-03  5:00   ` Matt Kennel
1998-03-03  5:00     ` Toon Moene
1998-03-09  5:00       ` Matt Kennel
1998-03-11  5:00         ` Toon Moene
1998-03-11  5:00           ` Matt Kennel
1998-03-11  5:00         ` Greg Lindahl
1998-03-03  5:00     ` H.W. Stockman
1998-03-06  5:00       ` Richard Henderson
1998-03-03  5:00     ` Greg Lindahl
1998-03-03  5:00       ` Michal Jaegermann
1998-03-04  5:00         ` Matt Kennel
1998-03-04  5:00           ` Greg Lindahl
1998-03-05  5:00             ` Matt Kennel [this message]
1998-03-06  5:00               ` Michal Jaegermann
1998-03-08  5:00             ` H.W. Stockman
1998-03-08  5:00               ` Greg Lindahl
1998-03-05  5:00           ` Toon Moene
1998-03-05  5:00             ` Greg Lindahl
1998-03-06  5:00               ` Toon Moene
1998-03-07  5:00                 ` Greg Lindahl
1998-03-07  5:00                   ` Greg Lindahl
1998-03-06  5:00           ` Richard Henderson
     [not found] <6d3tt1$2vs$1@mrnews.mro.dec.com>
1998-02-26  5:00 ` Greg Lindahl
1998-02-24  5:00 Matt Kennel
1998-02-24  5:00 ` Greg Lindahl
1998-02-24  5:00 ` Toon Moene
     [not found] ` <6cved5$4rh$1@mrnews.mro.dec.com>
1998-02-25  5:00   ` Matt Kennel
1998-02-25  5:00     ` Matt Kennel
1998-02-25  5:00       ` David.Mosberger
1998-02-26  5:00         ` Toon Moene
1998-02-26  5:00           ` H.W. Stockman
1998-02-27  5:00             ` Toon Moene
1998-02-27  5:00               ` Greg Lindahl
1998-02-27  5:00                 ` Toon Moene
1998-02-27  5:00               ` H.W. Stockman
1998-02-28  5:00                 ` Andi Kleen
1998-03-03  5:00               ` Ulrich Ruede
1998-02-27  5:00           ` Greg Lindahl
1998-03-03  5:00           ` Matt Kennel
1998-03-03  5:00             ` Greg Lindahl
1998-02-26  5:00       ` Mika Kortelainen
1998-02-28  5:00         ` Lupo LeBoucher
1998-03-01  5:00           ` Michal Jaegermann
1998-03-02  5:00           ` Greg Lindahl
1998-03-05  5:00             ` Lupo LeBoucher
1998-02-25  5:00     ` Peter Mardahl
1998-02-26  5:00       ` Greg Lindahl
1998-02-26  5:00     ` Greg Lindahl
1998-02-26  5:00     ` Dan Bethe
1998-02-27  5:00       ` Toon Moene
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox