Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: peterm@tesla.EECS.Berkeley.EDU (Peter Mardahl)
Subject: Re: Alpha's floating point performance
Date: 1998/11/19	[thread overview]
Message-ID: <731iaq$lsc$1@tesla.EECS.Berkeley.EDU> (raw)
In-Reply-To: Pine.LNX.4.03.9811191621290.22123-100000@callisto.stone.oz.au

In article <Pine.LNX.4.03.9811191621290.22123-100000@callisto.stone.oz.au>,
Ian Tester  <ian@stonemicro.com.au> wrote:
>On 18 Nov 1998, Peter Mardahl wrote:
>
>> For our simulation code, which does lots of adds and multiplies and
>> almost no divisions, sqrts, logs, or any other complex functions,
>> we get a 1.7 or so speedup by using single precision.  I don't
>> think the adds and multiplies happen any faster, really.  I think
>> the memory access is much improved:  the data cache suddenly looks twice
>> as large, the bandwidth gives 2x as much throughput per flop.....
>
>That's some interesting results. I don't know about the Alpha hardware,
>but I was under the impression that most modern CPU's simplify things by
>only having the hardware for double precision operations. This usually
>means that single precision is actually slower since the data has to be
>converted both before and after each operation.

Alpha has hardware instructions for dealing with single precision.
I think you're right in that the same execution units
are used for all precisions,
but I suspect that the execution units are organized in such a way that
either there is no conversion needed, or conversion is so fast that
the ops are no slower.

>I take it your code is a "real world" application? I'm guessing that your
>code is faster because you have to do something with the results of the
>calculations. The bandwidth saving out-weighs any overhead to convert to
>and from double precision.

Well, certainly we go through a lot of data and update it.



>What if you do some highly artificial do-a-billion-multiplies-in-a-row
>benchmark? Just find out the raw performance of the floating-point
>hardware.

Well, perhaps you have an alpha yourself, and can do this?
But an Alpha should be able to do 1 add and 1 multiply per clock tick,
if you give it a simple benchmark.

PM



  reply	other threads:[~1998-11-19  5:00 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-06  5:00 Alpha's floating point performance Vladimir Filkov
1998-11-07  5:00 ` Greg Lindahl
1998-11-07  5:00   ` Kerstin Hoef-Emden
1998-11-09  5:00     ` Adam C. Powell, IV
1998-11-09  5:00       ` Tracy R Reed
1998-11-09  5:00         ` Adam C. Powell, IV
1998-11-10  5:00           ` bmeyer
1998-11-10  5:00           ` IX Corp.
1998-11-17  5:00             ` Randall Parker
1998-11-17  5:00               ` Joachim Wesner
1998-11-18  5:00                 ` Randall Parker
1998-11-18  5:00                   ` Peter Mardahl
1998-11-19  5:00                     ` Ian Tester
1998-11-19  5:00                       ` Peter Mardahl [this message]
1998-11-19  5:00                         ` Robert Harley
1998-11-19  5:00                           ` Andreas Krall
1998-11-19  5:00                             ` Toon Moene
     [not found]                         ` <199811200036.AA23893@tesla.EECS.Berkeley.EDU>
1998-11-20  5:00                           ` Ian Tester
1998-11-20  5:00                         ` Ian Tester
1998-11-21  5:00                         ` Alpha's floating point performance -> single vs. double Joachim Wesner
1998-11-23  5:00                         ` Alpha's floating point performance Jack W. Crenshaw
1998-11-23  5:00                           ` H.W. Stockman
1998-11-23  5:00                           ` Peter Mardahl
1998-11-24  5:00                             ` Jack W. Crenshaw
1998-11-24  5:00                               ` Olaf Schnapauff
1998-11-25  5:00                                 ` Jack W. Crenshaw
1998-11-25  5:00                               ` Aaron Spink
1998-11-25  5:00                                 ` Jack W. Crenshaw
1998-11-10  5:00           ` Adam C. Powell, IV
1998-11-11  5:00         ` Kerstin Hoef-Emden
1998-11-13  5:00           ` Phil
1998-11-13  5:00             ` Kerstin Hoef-Emden
1998-11-13  5:00             ` Murx
1998-11-13  5:00               ` Joachim Wesner
1998-11-13  5:00                 ` Murx
1998-11-13  5:00                   ` Murx
1998-11-11  5:00       ` Greg Lindahl
1998-11-11  5:00       ` H.W. Stockman
1998-11-07  5:00 ` C.Simmendinger
1998-11-07  5:00 ` Nick Manka
1998-11-09  5:00 ` Doug Rosser
1998-11-10  5:00   ` bxfqoxog
1998-11-10  5:00     ` energized
1998-11-11  5:00     ` Conrad Sanderson
1998-11-11  5:00       ` Greg Lindahl
1998-11-11  5:00         ` Conrad Sanderson
1998-11-11  5:00     ` bmeyer
1998-11-11  5:00       ` Integer performance (was Re: Alpha's floating point performance) S S Sturrock
1998-11-12  5:00         ` Murx
1998-11-15  5:00     ` Alpha's floating point performance Andy Isaacson
1998-11-16  5:00     ` Murx
1998-11-16  5:00       ` Joachim Wesner
1998-11-16  5:00         ` Murx
1998-11-16  5:00           ` Murx
1998-11-17  5:00           ` Joachim Wesner
1998-11-17  5:00             ` Murx
1998-11-17  5:00               ` Murx
1998-11-27  5:00                 ` Anders Blicher Petersen
1998-11-16  5:00       ` Vinhthuy Phan
1998-11-16  5:00         ` Murx
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