From: seh@quadrizen.com (Stephen E. Halpin)
Subject: Re: Is FFT inherently slow on Alpha CPUs?
Date: 1999/10/15 [thread overview]
Message-ID: <3806c4f4.661322828@news.ultranet.com> (raw)
In-Reply-To: 7u5d8l$tk7$1@nntp4.atl.mindspring.net
On Thu, 14 Oct 1999 14:03:52 -0600, "James Van Buskirk" <torsop@ix.netcom.com> wrote:
>
>G. Hugh SONG wrote in message <38063F40.8EE3A106@nospam.com>...
>
>>I realized that sine and cosine are the Achilles heel of the Alpha CPU.
>>On the new sun with double CPUs, the FFT benchmark is twice faster than
>>on Alpha 21164.
It wouldnt be unexpected for Suns newest processors to keep up with
Digitals oldest. The only "new" dual processor Sun reporting slower
SPECfp95 averages (using the single CPU numbers from the SPEC web site)
is the base 300MHz Ultra 2.
You also dont mention whether the benchmark was written to use both
processors on the Sun, which compilers you were using, etc... All of
these can significantly impact the results.
>>On all other benchmark programs (Polyhedron, if you care to know), our
>>old Alpha 21164 533MHz is still about 1.5 times faster. That is not
>>actually bad. I know.
>
>>Is my understanding correct? Does FFT rely on sine and cosine even for
>>2's radix or something?
>
>I don't think so. This result bugged me, too, so I took a glance at
>the code. I seem to recall that the number of trig function calls
>was essentially negligible, but that they were ony done once in any
>case followed by 20 FFTs. The trig functions were put in a huge
>table and there was also a huge index table... this looks like one
>of those old codes where the author assumed that memory access is
>cheap: not a valid assumption nowadays.
It could be new code written for modern DSPs which have zero wait
state memory banks on chip which can be accessed in parallel. All
the world wasnt a VAX and all the world isnt an Alpha...
> If you're interested, I
>typed in some code from a paper referenced in comp.lang.fortran and
>created a file that compares the performance between the old and new
>versions. The new version is faster but seems to suffer from lack
>of page coloring under NT; if you can get a patch to enable this
>under Alpha Linux you might be able to confirm that this is truly
>the reason for the widely variable performance of the improved FFT.
>If you want to further communicate on this topic, it might be
>advisable to also send email to me as my news server is currently
>experiencing difficuties.
-Steve
next prev parent reply other threads:[~1999-10-15 4:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-10-14 4:00 Is FFT inherently slow on Alpha CPUs? G. Hugh SONG
1999-10-14 4:00 ` W. Kyle Gilbertson
1999-10-14 4:00 ` James Van Buskirk
1999-10-15 4:00 ` Stephen E. Halpin [this message]
1999-10-14 4:00 ` Michal Jaegermann
1999-10-14 4:00 ` Christian Simmendinger
1999-10-14 4:00 ` Paul Bourke
1999-10-15 4:00 ` David A. Long
1999-10-19 4: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