* Re: Alpha fft performance
@ 1993-01-08 20:49 Matthew B. Kirk
0 siblings, 0 replies; 7+ messages in thread
From: Matthew B. Kirk @ 1993-01-08 20:49 UTC (permalink / raw)
In article <1993Jan7.121038.4845@odin.corp.sgi.com>, jpp@pipo.paris.sgi.com (Jean-Pierre Panziera - SGI PARIS) writes...
> I am not familiar with "Alpha's process cycle counter". Is this a simulator ?
> Does this tool take in account eventual cache misses ?
> How do real benchmark compare with your simulation ?
It's in the hardware.
From page 4-118, Alpha Architecture Reference Manual (description of
RPCC - read process cycle counter):
The low order 32 bits of theprocess cycle counter is an unsigned
32 bit integer that increments once per N CPU cycles, where N is
an implementation-specific integer in the range 1-16. The cycle
counter frequency is the number of times the process cycle counter
gets incremented per second, rounded to a 64 bit integer. The
integer count wraps to 0 from a count of FFFF FFFF. The counter
wraps no more frequently than 1.5 times the implementation's
interval clock interrupt period (whichi s two thirds of the
interval clock interrupt frequency). The high-order 32 bits of the
process cycle counter are an offset that when added to the low-order
32 bits gives the cycle count for this process.
The process cycle counter is suitable for timing intervals on the
order of nanoseconds and may be used for detailed performance
characterization. It is required on all implementations. PCC is
required for every processor, and each processor in a multiprocessor
system has its own PCC.
There is also a 'system cycle counter'.
>
>|> The algorithm is a radix-4 algorithm, and is basically just a C translation
>|> of the FORTRAN code in "DFT/FFT and Convolution Algorithms" by Burrus and
>|> Parks (with a few tweaks, of course).
>
> Are the results of your transform ordered, or are they "bit reversed" ?
>
>Thanks you in advance.
>
>---
> ___ ___/ ___ / ___ / Jean-Pierre Panziera
> / / / / / jpp@paris.sgi.com
> / ______/ ______/
> / / /
> _____/ ___/ ___/
=============================================================================
Matthew Kirk kirk@tallis.enet.dec.com
All opinions expressed here are mine and do not reflect those of Digital
Equipment Corporation.
=============================================================================
^ permalink raw reply [flat|nested] 7+ messages in thread
* Alpha fft performance
@ 1992-12-31 16:42 Gary D. Shiflett
1993-01-04 15:42 ` Andrew Payne
0 siblings, 1 reply; 7+ messages in thread
From: Gary D. Shiflett @ 1992-12-31 16:42 UTC (permalink / raw)
In comp.dsp Michael.Malak@halluc.com (Michael Malak) asks:
Michael> Does anyone have any information about how fast the i860 can do an FFT,
Michael> either theoretical or measured?
and alans@ll.mit.edu (Alan Stein) responds:
Alan>In the 860 bible (i860 Microprocessor Architecture by Neil Margulis),
Alan>the author codes an FFT which achieves 57/80 MFlops. This is not really
Alan>what the beast is designed to do, IMHO. Seems I'm always writing 3
Alan>different versions of the same routine - one for extremely short vectors
Alan>(throw everything in registers), one for medium-sized "if it all fits
Alan>in cache" vectors, and one for long vectors that use pipelined memory
Alan>loads, bypassing the cache because they would just thrash. I suspect
Alan>I'd wind up doing much the same if I were coding an FFT, which
Alan>I haven't [as yet] had to do.
Malak was interested in comparing the i860 FFT performance to other
commercially available DSPs. My question is: what is the FFT performance of
the family of DEC alpha micros (theoretical, simulated, or measured ???)?
I would be interested in knowing not only MFlops, but also FFT algorithm,
transform size(s), optimum execution times, and any stipulations (as
described by Alan above) associated with the benchmarks.
Thanks in advance.
Gary Shiflett
Applied Physics Laboratory
Johns Hopkins University
gary_shiflett@jhuapl.edu
(301)953-6000x8141
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: Alpha fft performance
1992-12-31 16:42 Gary D. Shiflett
@ 1993-01-04 15:42 ` Andrew Payne
1993-01-05 13:40 ` Michel Fingerhut
1993-01-07 12:10 ` Jean-Pierre Panziera - SGI PARIS
0 siblings, 2 replies; 7+ messages in thread
From: Andrew Payne @ 1993-01-04 15:42 UTC (permalink / raw)
In article <1992Dec31.164221.27734@aplcen.apl.jhu.edu> shif@aplpy.jhuapl.edu (Gary D. Shiflett) writes:
>Malak was interested in comparing the i860 FFT performance to other
>commercially available DSPs. My question is: what is the FFT performance of
>the family of DEC alpha micros (theoretical, simulated, or measured ???)?
>I would be interested in knowing not only MFlops, but also FFT algorithm,
>transform size(s), optimum execution times, and any stipulations (as
>described by Alan above) associated with the benchmarks.
For a 1024 point, complex, single precision FFT (i.e. just fits in the on-chip
8K D cache), we have a measured time of 96,000 cycles. For the various Alpha
systems, this translates to:
133 MHz clock 722 microseconds
150 Mhz 640 microseconds
200 MHz 480 microseconds
The algorithm is a radix-4 algorithm, and is basically just a C translation
of the FORTRAN code in "DFT/FFT and Convolution Algorithms" by Burrus and
Parks (with a few tweaks, of course). It was compiled with GCC 2.3 and
the execution time was measured with the Alpha's process cycle counter.
The Digital Extended Math Library (DXML) for Alpha reportedly can do even
better, but I don't have any current performance numbers. For more info on
DXML, contact your local Digital sales rep.
For some more information on signal processing on Alpha, see our technical
report "Are DSP Chips Obsolete?" available via anonymous FTP from
crl.dec.com:/pub/DEC/CRL/tech-reports/92.10.ps.Z
For details on e-mail retrieval, or ordering printed copies, send a message
with a "help" subject to:
techreports@crl.dec.com
If you have any other Alpha questions, feel free to drop me a note.
--
Andrew C. Payne
DEC Cambridge Research Lab
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Alpha fft performance
1993-01-04 15:42 ` Andrew Payne
@ 1993-01-05 13:40 ` Michel Fingerhut
1993-01-07 12:10 ` Jean-Pierre Panziera - SGI PARIS
1 sibling, 0 replies; 7+ messages in thread
From: Michel Fingerhut @ 1993-01-05 13:40 UTC (permalink / raw)
To: msp, phd, jpj, ircam-alpha; +Cc: lghys
Voici l'extrait d'un article donnant ces informations:
For a 1024 point, complex, single precision FFT (i.e. just fits in the on-chip
8K D cache), we have a measured time of 96,000 cycles. For the various Alpha
systems, this translates to:
133 MHz clock 722 microseconds
150 Mhz 640 microseconds
200 MHz 480 microseconds
The algorithm is a radix-4 algorithm, and is basically just a C translation
of the FORTRAN code in "DFT/FFT and Convolution Algorithms" by Burrus and
Parks (with a few tweaks, of course). It was compiled with GCC 2.3 and
the execution time was measured with the Alpha's process cycle counter.
The Digital Extended Math Library (DXML) for Alpha reportedly can do even
better, but I don't have any current performance numbers. For more info on
DXML, contact your local Digital sales rep. [Nous devons le recevoir dans
la pre-release prochaine].
For some more information on signal processing on Alpha, see our technical
report "Are DSP Chips Obsolete?" [disponible chez nous].
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Alpha fft performance
1993-01-04 15:42 ` Andrew Payne
1993-01-05 13:40 ` Michel Fingerhut
@ 1993-01-07 12:10 ` Jean-Pierre Panziera - SGI PARIS
1993-01-07 15:41 ` John W. Herman
1993-01-10 16:05 ` Andrew Payne
1 sibling, 2 replies; 7+ messages in thread
From: Jean-Pierre Panziera - SGI PARIS @ 1993-01-07 12:10 UTC (permalink / raw)
In article <1993Jan4.154245.13258@crl.dec.com>, payne@crl.dec.com
(Andrew Payne) writes:
......
|>
|> For a 1024 point, complex, single precision FFT (i.e. just fits in
the on-chip
|> 8K D cache), we have a measured time of 96,000 cycles. For the
various Alpha
|> systems, this translates to:
|>
|> 133 MHz clock 722 microseconds
|> 150 Mhz 640 microseconds
|> 200 MHz 480 microseconds
|>
|> The algorithm is a radix-4 algorithm, and is basically just a C translation
|> of the FORTRAN code in "DFT/FFT and Convolution Algorithms" by Burrus and
|> Parks (with a few tweaks, of course). It was compiled with GCC 2.3 and
|> the execution time was measured with the Alpha's process cycle counter.
|>
......
|> --
|> Andrew C. Payne
|> DEC Cambridge Research Lab
I'd like to ask a few questions:
|> For a 1024 point, complex, single precision FFT (i.e. just fits in
the on-chip
|> 8K D cache),
An array of 1024 complex numbers indeed uses 8 Kbytes. However to compute an
FFT you need an extra array of Sines and Cosines of same size (8 kBytes).
The total space required for this FFT is then at least 8+8 = 16 kBytes.
So the assumption "just fits in the on-chip 8K D cache" seems abusive. ???
|> the execution time was measured with the Alpha's process cycle counter.
I am not familiar with "Alpha's process cycle counter". Is this a simulator ?
Does this tool take in account eventual cache misses ?
How do real benchmark compare with your simulation ?
|> The algorithm is a radix-4 algorithm, and is basically just a C translation
|> of the FORTRAN code in "DFT/FFT and Convolution Algorithms" by Burrus and
|> Parks (with a few tweaks, of course).
Are the results of your transform ordered, or are they "bit reversed" ?
Thanks you in advance.
---
___ ___/ ___ / ___ / Jean-Pierre Panziera
/ / / / / jpp@paris.sgi.com
/ ______/ ______/
/ / /
_____/ ___/ ___/
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: Alpha fft performance
1993-01-07 12:10 ` Jean-Pierre Panziera - SGI PARIS
@ 1993-01-07 15:41 ` John W. Herman
1993-01-10 16:05 ` Andrew Payne
1 sibling, 0 replies; 7+ messages in thread
From: John W. Herman @ 1993-01-07 15:41 UTC (permalink / raw)
jpp@pipo.paris.sgi.com (Jean-Pierre Panziera - SGI PARIS) writes:
>In article <1993Jan4.154245.13258@crl.dec.com>, payne@crl.dec.com
>(Andrew Payne) writes:
*** Stuff deleted ***
> An array of 1024 complex numbers indeed uses 8 Kbytes. However to compute an
> FFT you need an extra array of Sines and Cosines of same size (8 kBytes).
> The total space required for this FFT is then at least 8+8 = 16 kBytes.
> So the assumption "just fits in the on-chip 8K D cache" seems abusive. ???
Not quite true. If I recall correctly, you need a table of 256 sine or
cosine values. The rest are computed through index arithmetic and sign
conversion. But the basic point is true. It all doesn't fit in a 8K
cache. I assume that there is some effort to optimize memory accesses
so that main memory access time is not a problem. As an aside, a DSP
computer salesman once told me that the time to compute a 1024 point
complex FFT is an important selling point and his company ( and others)
expended great amounts of time to make this number as small as possible.
Even to the detriment of other parts of the software library.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Alpha fft performance
1993-01-07 12:10 ` Jean-Pierre Panziera - SGI PARIS
1993-01-07 15:41 ` John W. Herman
@ 1993-01-10 16:05 ` Andrew Payne
1 sibling, 0 replies; 7+ messages in thread
From: Andrew Payne @ 1993-01-10 16:05 UTC (permalink / raw)
In article <1993Jan7.121038.4845@odin.corp.sgi.com> jpp@sgi.com writes:
> An array of 1024 complex numbers indeed uses 8 Kbytes. However to compute an
> FFT you need an extra array of Sines and Cosines of same size (8 kBytes).
> The total space required for this FFT is then at least 8+8 = 16 kBytes.
> So the assumption "just fits in the on-chip 8K D cache" seems abusive. ???
Not at all. As has been already pointed out, you can take advantage of
symmetry to cut the table size down to 2K bytes (512 coefficients). Also,
you don't use all the coefficients at each stage (except the last), so the
_effective_ table size is even smaller.
> I am not familiar with "Alpha's process cycle counter". Is this a simulator ?
> Does this tool take in account eventual cache misses ?
> How do real benchmark compare with your simulation ?
No, it isn't a simulator. The cycle counter is just a high-resolution timer
that counts CPU cycles, and is available on all Alpha implementations.
Our FFT times were measured on a real system with the cycle counter. The
times given are "wall clock times" which take into account all aspects of the
execution, including time spent in the memory system.
> Are the results of your transform ordered, or are they "bit reversed" ?
The times given are for ordered results. In our code, the digit reverse
stage takes about 10,000 cycles (about 10% of the time).
--
Andrew C. Payne
DEC Cambridge Research Lab
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~1993-01-10 16:05 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-01-08 20:49 Alpha fft performance Matthew B. Kirk
-- strict thread matches above, loose matches on Subject: below --
1992-12-31 16:42 Gary D. Shiflett
1993-01-04 15:42 ` Andrew Payne
1993-01-05 13:40 ` Michel Fingerhut
1993-01-07 12:10 ` Jean-Pierre Panziera - SGI PARIS
1993-01-07 15:41 ` John W. Herman
1993-01-10 16:05 ` Andrew Payne
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox