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

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,
> (this is a deliberate performance optimization!)
> 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.

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.

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.

bye

8<--------8<--------8<--------8<--------8<--------8<--------8<--------
ian@stonemicro.com.au      \7\  LINUX: because geeks  \7\   Ian Tester
http://imroy.home.ml.org/   \7\    will find a way     \7\     *8)#   




  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 ` C.Simmendinger
1998-11-07  5:00 ` Nick Manka
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           ` 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 [this message]
1998-11-19  5:00                       ` Peter Mardahl
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           ` bmeyer
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       ` H.W. Stockman
1998-11-11  5:00       ` Greg Lindahl
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