Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Toon Moene <toon@moene.indiv.nluug.nl>
Subject: Re: Redhat/Alpha computational performance????
Date: 1998/03/03	[thread overview]
Message-ID: <6dhvm4$a4u$1@news.utrecht.NL.net> (raw)
In-Reply-To: slrn6fn9ca.liv.mbkennel@lyapunov.ucsd.edu


mbkennel@yahoo.com (Matt Kennel) wrote:

[ I thought of answering this one instead of the reply to my own question
  about your code (much more productive :-) ]

> I tried a variety of different programs.  Apparently the standard functions
> are so bad that they became the bottleneck in all of them.  I profiled a
> couple of them.
> 
> I don't know what SPECfp programs do, but it's impossible to do optical
> physics without exponentials, sine and cosine (over both R and C).

You bet standard functions are not a large part (performance wise) of SPECfp 
programs, because that would be in conflict with the requirement that those 
programs "don't spend significant time in library routines" - a requirement 
that's not surprising if you take into account what SPECfp is trying to 
measure.

> It's remarkable that it's so poor---apparently the functions are so much
> worse than on x86 that it can negate all the advantage of a supposedly 2.5x
> SPECmark advantage. 

Well, one of the answers to this question might be that on the PII the 
transcendentals are translated (inline) to the equivalent machine 
instructions, while on Alpha they have to be library calls (Note: I didn't 
check this - so don't quote me on it).

This would at least forego the cost of making a subroutine call.

OTOH, if usage of exp, sin and cos is so heavy in your program, why don't you 
use lookup tables; you'll bet we (using a rotated lat-lon grid for limited 
area weather forecasting) do not want to invoke lots of sin and cos routines, 
whereas for the coordinate transformations between regular and rotated 
lat-lon, one *has* to.

-- 
Toon Moene (mailto:toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
g77 Support: mailto:fortran@gnu.org; NWP: http://www.knmi.nl/hirlam



  reply	other threads:[~1998-03-03  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 [this message]
1998-03-09  5:00       ` Matt Kennel
1998-03-11  5:00         ` Greg Lindahl
1998-03-11  5:00         ` Toon Moene
1998-03-11  5:00           ` Matt Kennel
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
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
1998-03-03  5:00     ` H.W. Stockman
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     ` Peter Mardahl
1998-02-26  5:00       ` Greg Lindahl
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               ` H.W. Stockman
1998-02-28  5:00                 ` Andi Kleen
1998-02-27  5:00               ` Greg Lindahl
1998-02-27  5:00                 ` Toon Moene
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-26  5:00     ` Dan Bethe
1998-02-27  5:00       ` Toon Moene
1998-02-26  5:00     ` Greg Lindahl
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