From: "James Van Buskirk" <torsop@ix.netcom.com>
Subject: Re: Is FFT inherently slow on Alpha CPUs?
Date: 1999/10/14 [thread overview]
Message-ID: <7u5d8l$tk7$1@nntp4.atl.mindspring.net> (raw)
In-Reply-To: 38063F40.8EE3A106@nospam.com
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.
>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. 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.
next prev parent reply other threads:[~1999-10-14 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 ` Paul Bourke
1999-10-14 4:00 ` Christian Simmendinger
1999-10-14 4:00 ` Michal Jaegermann
1999-10-14 4:00 ` James Van Buskirk [this message]
1999-10-15 4:00 ` Stephen E. Halpin
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