* Alpha fft performance
@ 1992-12-31 16:42 Gary D. Shiflett
1993-01-04 15:42 ` Andrew Payne
0 siblings, 1 reply; 15+ 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] 15+ messages in thread* Re: Alpha fft performance 1992-12-31 16:42 Alpha fft performance Gary D. Shiflett @ 1993-01-04 15:42 ` Andrew Payne 1993-01-05 13:40 ` Michel Fingerhut 1993-01-07 12:10 ` Alpha fft performance Jean-Pierre Panziera - SGI PARIS 0 siblings, 2 replies; 15+ 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] 15+ messages in thread
* Re: Alpha fft performance 1993-01-04 15:42 ` Andrew Payne @ 1993-01-05 13:40 ` Michel Fingerhut 1993-01-08 20:22 ` "Are DSP Chips Obsolete?" (was re: Alpha fft performance) Joe Buck 1993-01-07 12:10 ` Alpha fft performance Jean-Pierre Panziera - SGI PARIS 1 sibling, 1 reply; 15+ 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] 15+ messages in thread
* "Are DSP Chips Obsolete?" (was re: Alpha fft performance) 1993-01-05 13:40 ` Michel Fingerhut @ 1993-01-08 20:22 ` Joe Buck 1993-01-08 20:53 ` Marcus J Ranum 1993-01-21 17:29 ` Jari Tavi 0 siblings, 2 replies; 15+ messages in thread From: Joe Buck @ 1993-01-08 20:22 UTC (permalink / raw) In article <1993Jan5.134034.22043@ircam.fr> fingerhu@ircam.fr (Michel Fingerhut) writes: >For some more information on signal processing on Alpha, see our technical >report "Are DSP Chips Obsolete?" [disponible chez nous]. I have read this report. I am not impressed. In fact, if it were turned in as a term paper for a computer architecture class, I'd give it a B minus. If it were turned into a digital signal processing class, I'd give it a D. Why? Because it suffers from "all the world's a Unix workstation" disease. (On the other hand, many CS grad students also suffer from this disease, so if the grader knew nothing about the digital signal processing marketplace your report might fool him or her). Your paper is correct in the narrow sense that DSPs are not the best devices to use for raw, open-loop number crunching with no timing requirements (or timing requirements loose enough so that one second more or less does not matter). But DSPs are not being used in such applications to any significant degree. The authors did no market research. Your paper reveals total ignorance about just what DSP chips are being used for in industry. Most of these applications are in the telephone industry. The authors know what a modem is because you use one to dial into their workstation, but because they do not understand the algorithms involved, they are unaware that high-speed modems do echo cancellation and channel equalization, and these algorithms require precise timing and have tight feedback loops. You can't just buffer up a second's worth of signal at a time as this paper implies. When you make a long distance call that goes through a satellite link, your voice is being processed in real time by an echo cancellation algorithm, which works by adaptive filtering. Again, real-time is essential. The key is that the most demanding DSP algorithms have feedback: what happens this millisecond depends on what the world did a millisecond ago. The paper ignores the issue of cost, power consumption, and weight. Cellular phones are going digital. These require real time speech compression algorithms in a unit small enough to be hand-held and run for hours on battery power. For that reason, the future of the DSP industry is going in the direction of "DSP cores" -- the DSP is only part of the chip, and the customer can add whatever other logic is needed. The goal is NOT to get the maximum number-crunching power; it is to have just enough performance to fit the application and its memory on one chip and have it run in real time. This means that the engineer has a hardware/software codesign problem: produce a combined solution that gets the job done quickly and for low cost. Sorry, I don't think that Alpha chips are going to be the answer to the problems the DSP industry currently faces, though I expect that it will make a very nice workstation CPU. The distinction between DSPs and conventional processors is not how fast they do a multiply. It is their memory bandwidth. Modern DSPs have multiple memory banks and typically do three I/O operations per cycle. They are best used in embedded systems, systems with small amounts of memory and very tight timing requirements. -- Joe Buck jbuck@ohm.berkeley.edu ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: "Are DSP Chips Obsolete?" (was re: Alpha fft performance) 1993-01-08 20:22 ` "Are DSP Chips Obsolete?" (was re: Alpha fft performance) Joe Buck @ 1993-01-08 20:53 ` Marcus J Ranum 1993-01-11 18:01 ` Fool 1993-01-21 17:29 ` Jari Tavi 1 sibling, 1 reply; 15+ messages in thread From: Marcus J Ranum @ 1993-01-08 20:53 UTC (permalink / raw) >The paper ignores the issue of cost, power consumption, and weight. >Cellular phones are going digital. These require real time speech >compression algorithms in a unit small enough to be hand-held and >run for hours on battery power. I have this great mental image of a cellular phone with the blades of an Alpha chip-radiator sticking out from the back... The battery pack'd be a bitch to lug around with you - I guess you could use a little hand-truck or something. mjr. ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: "Are DSP Chips Obsolete?" (was re: Alpha fft performance) 1993-01-08 20:53 ` Marcus J Ranum @ 1993-01-11 18:01 ` Fool 0 siblings, 0 replies; 15+ messages in thread From: Fool @ 1993-01-11 18:01 UTC (permalink / raw) Marcus J Ranum (mjr@TIS.COM) wrote: > >The paper ignores the issue of cost, power consumption, and weight. > >Cellular phones are going digital. These require real time speech > >compression algorithms in a unit small enough to be hand-held and > >run for hours on battery power. > > I have this great mental image of a cellular phone with the > blades of an Alpha chip-radiator sticking out from the back... The > battery pack'd be a bitch to lug around with you - I guess you could > use a little hand-truck or something. > > mjr. I read that report and thought it was totally biased towards general purpose cpu. Look at the performace comparsion (2.2), it compared them with the cycle period at first. Well, 21064 is well known as the fastest chip in the world, and TI320c40 costs as low as $500(? rumor.) And the comparsion followed all assume the data and code is in cache (I guess? can someone prove this?) Sure code can be in instruction cache, but data are changing with time, how can them exist in memory? Cannot deny that general purpose cpu has a better development environment. But who said the DSP chips has no good development environment? And the "Is Real Time Necessary" part made me feel strange. Hum, real-time not necessary in DSP? It said the general purpose cpu has cache, so after a initial time, it will run faster. But the question is, the 8K cache on 21064 is enough? I can imagine if a modem with 21064's heat-sinker. (grin). 21064 is a good general purpose cpu, but today's DSP is somewhat toward parallel processing (in my own opinion). TI320c40 is fast, but it is not only fast, but flexible communication and reasonable cost. This makes me to think of Alpha-PC, another joke, I think. Porco. ps. this is only my own opinion, not representing anything else. ==================================================================== IC Yang (u7811091@cc.nctu.edu.tw) Room 216, Dorm. 12 EE dep of National Chiao-Tung University Hsin-Chu, Taiwan, ROC. ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: "Are DSP Chips Obsolete?" (was re: Alpha fft performance) 1993-01-08 20:22 ` "Are DSP Chips Obsolete?" (was re: Alpha fft performance) Joe Buck 1993-01-08 20:53 ` Marcus J Ranum @ 1993-01-21 17:29 ` Jari Tavi 1993-01-21 21:26 ` Joe Buck 1 sibling, 1 reply; 15+ messages in thread From: Jari Tavi @ 1993-01-21 17:29 UTC (permalink / raw) As a beginning, my personal opinion: I don't think that DSP's are obsolete. This is not a place to make any product announcements, and because I haven't read the paper (yet) I can only comment other replys: In article <1iknq6$6vt@agate.berkeley.edu>, jbuck@forney.berkeley.edu (Joe Buck) writes: |> Why? Because it suffers from "all the world's a Unix workstation" disease. |> (On the other hand, many CS grad students also suffer from this disease, |> so if the grader knew nothing about the digital signal processing |> marketplace your report might fool him or her). Hate to see that "Everything is UNIX" when talked about embedded and DSP systems too... |> The paper ignores the issue of cost, power consumption, and weight. |> Cellular phones are going digital. These require real time speech |> compression algorithms in a unit small enough to be hand-held and |> run for hours on battery power. For that reason, the future of the |> DSP industry is going in the direction of "DSP cores" -- the DSP |> is only part of the chip, and the customer can add whatever other |> logic is needed. The goal is NOT to get the maximum number-crunching |> power; it is to have just enough performance to fit the application |> and its memory on one chip and have it run in real time. This |> means that the engineer has a hardware/software codesign problem: |> produce a combined solution that gets the job done quickly and |> for low cost. Sorry, I don't think that Alpha chips are going to |> be the answer to the problems the DSP industry currently faces, |> though I expect that it will make a very nice workstation CPU. |> Cost, power consumtion and such other things are something that you could try asking if or when they are addressed by Alpha AXP. 21064 will not be the only implementation... |> The distinction between DSPs and conventional processors is not |> how fast they do a multiply. It is their memory bandwidth. Modern |> DSPs have multiple memory banks and typically do three I/O operations |> per cycle. They are best used in embedded systems, systems with |> small amounts of memory and very tight timing requirements. There's nothing in Alpha AXP architecture itself which conflicts with this. I do agree that 21064 as we see it today may not be something one would use in cellular phone or something similar, but Alpha isn't bad in issues like memory bandwith, context switches or interrupt latencies either... in addition to number crunching. There are two RT base products we offer: VAX/ELN and DECelx (68k, MIPS etc.) and these RT environments might address these issues quite soon, without the need for general purpose operating systm "overhead". Also the way you can build memory and i/o interconnections to AXP's is very flexible and gives you all you need to build for example VERY high bandwith memory interconnect logic... If you have need for High Performance embedded/real Time systems, please contact sales for product directions. Also Aeon has already implemented worlds fastest single boarder based on Alpha AXP :-) regards, -Jari -- =============================================================================== Full-Name: Jari Tavi Organization: DEC Finland Dept: DS/OSG Tel: +358-0-434 5252 Fax: +358-0-452 1392 E-mail: jpt@rixrax.enet.dec.com Address: Digital Equipment Corporation Oy PL 16 02201 Espoo FINLAND =============================================================================== * All opinions are my personal, and do not necessarily represent opinions of * my employer! ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: "Are DSP Chips Obsolete?" (was re: Alpha fft performance) 1993-01-21 17:29 ` Jari Tavi @ 1993-01-21 21:26 ` Joe Buck 1993-01-21 22:56 ` Gints Klimanis ` (2 more replies) 0 siblings, 3 replies; 15+ messages in thread From: Joe Buck @ 1993-01-21 21:26 UTC (permalink / raw) I would have let this one drop, but since a DEC employee wants to bring it up again ... In article <1993Jan21.172924.1979@rdg.dec.com> jpt@salama.fno.dec.com (Jari Tavi) writes: >As a beginning, my personal opinion: I don't think that DSP's are >obsolete. Good for you. >Cost, power consumtion and such other things are something that you >could try asking if or when they are addressed by Alpha AXP. 21064 >will not be the only implementation... TI, Motorola, and Analog Devices, as well as several Japanese companies, have usable products for embedded real-time DSP available now (and for much of the last decade). If DEC is planning something in the future, good for you, but the paper appeared to be an effort for DEC to excuse itself for not being in the DSP market by claiming (falsely) that current products were obsolete and that we should all switch to the Alpha. >There's nothing in Alpha AXP architecture itself which conflicts with this. >I do agree that 21064 as we see it today may not be something one would use >in cellular phone or something similar, but Alpha isn't bad in issues like >memory bandwith, context switches or interrupt latencies either... Yes, you can make a hell of a workstation with a 21064. But are you implying that DEC plans to enter the DSP market with an Alpha-based product? Somehow, I doubt it, not unless DEC wishes to lose even *more* money. I think that, if the paper from DEC's Cambridge research lab and your comments are any indication, I suggest that DEC stick to markets it knows something about. The Alpha looks like a very fine design, something to be proud of. But it isn't good for everything. Embedded real-time DSP isn't about very high performance number crunching (except, of course, when it is). It's about just enough number crunching power to get the job done, with a design that makes it easy to verify that real-time constraints are met (that is, you can count cycles accurately and know that that is exactly how many cycles the operation will take). It's about putting the whole system on a very small number of chips, or on one chip (example: if you make a call that goes over a satellite link, you're probably talking through a chip that implements the LMS echo cancellation algorithm). Lots of times, these things are ASICs with a programmable DSP core. >If you have need for High Performance embedded/real Time systems, please >contact sales for product directions. Also Aeon has already implemented >worlds fastest single boarder based on Alpha AXP :-) If you're after getting the job done with products that are available today, contact Motorola, Texas Instruments, Analog Devices, or any of a half dozen other companies who understand the DSP market and don't go around publishing poorly conceived papers like "Are DSP Chips Obsolete?". -- Joe Buck jbuck@ohm.berkeley.edu ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: "Are DSP Chips Obsolete?" (was re: Alpha fft performance) 1993-01-21 21:26 ` Joe Buck @ 1993-01-21 22:56 ` Gints Klimanis 1993-01-22 10:05 ` Jari Tavi 1993-01-25 23:18 ` Malcolm Slaney 2 siblings, 0 replies; 15+ messages in thread From: Gints Klimanis @ 1993-01-21 22:56 UTC (permalink / raw) In article <1jn4dn$lbf@agate.berkeley.edu>, jbuck@forney.berkeley.edu (Joe Buck) writes: |> I would have let this one drop, but since a DEC employee wants to |> bring it up again ... |> |> In article <1993Jan21.172924.1979@rdg.dec.com> jpt@salama.fno.dec.com |> (Jari Tavi) writes: |> >As a beginning, my personal opinion: I don't think that DSP's are |> >obsolete. |> |> Good for you. |> | |> If you're after getting the job done with products that are |> available |> today, contact Motorola, Texas Instruments, Analog Devices, or any |> of |> a half dozen other companies who understand the DSP market and don't |> go around publishing poorly conceived papers like "Are DSP Chips |> Obsolete?". After reading the DEC paper, I believe the title was ill chosen. I also observed a sleezy and common trend: Comparing a 1993 Alpha to a 1987 TI TMS320C30? Shame. 40 MHz C30's were available in 1991. However, I argue that that paper was reasonably conceived. There is a need to educate the signal processing community that DSP algorithms can be developed on a general purpose CPU using C and some of the code will execute in real-time. I've spoken to several customers asking about plug-in DSP cards just so they could do a handful of 2nd order IIR's. DSP from C code on the host CPU? Wow. When Silicon Graphics introduced the Indigo workstation, I heard hundred's of astonished remarks about the beautiful color waterfall 3D FFT audio demo: "I've never seen anything like that. What??? You're not using the 56001 to do the FFT?" Certainly, the price/performance ratio of DSP's and RISC workstations differ by roughly an order of magnitude. However, mature RISC workstations are wonderful DSP development platforms. ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: "Are DSP Chips Obsolete?" (was re: Alpha fft performance) 1993-01-21 21:26 ` Joe Buck 1993-01-21 22:56 ` Gints Klimanis @ 1993-01-22 10:05 ` Jari Tavi 1993-01-25 23:18 ` Malcolm Slaney 2 siblings, 0 replies; 15+ messages in thread From: Jari Tavi @ 1993-01-22 10:05 UTC (permalink / raw) I do not think that Digital is planning "attacking" DSP markets, but instead there will be more applications and solutions where DSP isn't needed anymore to get the same (or better) level of functionality. I agree with that the title of article is quite "provocative". Sorry I opened this rathole again ;-) Happy Signal Processing with the solution that suits your needs best :-) -jari -- =============================================================================== Full-Name: Jari Tavi Organization: DEC Finland Dept: DS/OSG Tel: +358-0-434 5252 Fax: +358-0-452 1392 E-mail: jpt@rixrax.enet.dec.com Address: Digital Equipment Corporation Oy PL 16 02201 Espoo FINLAND =============================================================================== * All opinions are my personal, and do not necessarily represent opinions of * my employer! ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: "Are DSP Chips Obsolete?" (was re: Alpha fft performance) 1993-01-21 21:26 ` Joe Buck 1993-01-21 22:56 ` Gints Klimanis 1993-01-22 10:05 ` Jari Tavi @ 1993-01-25 23:18 ` Malcolm Slaney 1993-01-26 0:12 ` Joe Buck 2 siblings, 1 reply; 15+ messages in thread From: Malcolm Slaney @ 1993-01-25 23:18 UTC (permalink / raw) In article <1jn4dn$lbf@agate.berkeley.edu> jbuck@forney.berkeley.edu writes: >If you're after getting the job done with products that are available >today, contact Motorola, Texas Instruments, Analog Devices, or any of >a half dozen other companies who understand the DSP market and don't >go around publishing poorly conceived papers like "Are DSP Chips Obsolete?". I think you're being a bit harsh on the paper. It's hard to argue with their numbers. I think the essense of the debate is what is DSP? I remember salivating over the multiply instruction on the original Intel 2920 data sheets. Back then if you wanted a cheap multiplies you had to use DSP chips. My how things have changed. I think that the DEC paper shows two things. 1) You don't have to use a DSP chip to get fast multiplies any more and 2) as SGI and NeXT have discovered, DSP chips don't have much work to do in a workstation. Admittedly DEC's ALPHA implementation wasn't optimized for low power (rumor has it that the clock distribution alone accounts for a large part of the power.) But think what would happen if they did....... Is there anything inherently power hungry and expensive on the current RISC chips? The RISC chips that I'm familiar with do 64 and 80 bit IEEE floating point. That's one item that embedded RISC chips can do away with. Virtual memory support is another. Are caches that much more power hungry than large on-chip memory? What else is left? A 32 bit IEEE floating point multiply has to be the same cost. Still hoping that someday I don't have to program my DSP algorithms in assembly language.... Malcolm Slaney Apple ATG ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: "Are DSP Chips Obsolete?" (was re: Alpha fft performance) 1993-01-25 23:18 ` Malcolm Slaney @ 1993-01-26 0:12 ` Joe Buck 0 siblings, 0 replies; 15+ messages in thread From: Joe Buck @ 1993-01-26 0:12 UTC (permalink / raw) In article <1jn4dn$lbf@agate.berkeley.edu> jbuck@forney.berkeley.edu writes: >>If you're after getting the job done with products that are available >>today, contact Motorola, Texas Instruments, Analog Devices, or any of >>a half dozen other companies who understand the DSP market and don't >>go around publishing poorly conceived papers like "Are DSP Chips Obsolete?". In article <77543@apple.apple.COM> malcolm@Apple.COM (Malcolm Slaney) writes: >I think you're being a bit harsh on the paper. It's hard to argue with their >numbers. Perhaps, since you're not following up my original post, it's not clear what I am arguing with. If someone asks me whether they should add a board with a DSP on it to make their workstation a better number cruncher, the answer is "probably not -- better to do the math in your RISC CPU -- it's just as fast most of the time." In this narrow sense I agree with the paper. >I think that the DEC paper shows two things. 1) You don't have to use a DSP >chip to get fast multiplies any more and 2) as SGI and NeXT have discovered, >DSP chips don't have much work to do in a workstation. I agree with both of these (although with the second one to a limited extent: if the workstation has an attached modem, that modem has either a DSP or an ASIC that has a DSP core to do the modem algorithm). The problem with the paper starts with the title and goes on from there. The authors made no attempt to determine what DSP chips are currently being used for. Do you really think that NeXT was a major consumer of Motorola 56000's (or that similar applications were)? They are mainly used in embedded real-time applications. The authors make a number of blatantly wrong statements about such applications (some of the ones about modems were particularly embarrassing). >Is there anything inherently power hungry and expensive on the current >RISC chips? The RISC chips that I'm familiar with do 64 and 80 bit IEEE >floating point. That's one item that embedded RISC chips can do away with. >Virtual memory support is another. Are caches that much more power hungry >than large on-chip memory? What else is left? A 32 bit IEEE floating point >multiply has to be the same cost. Here's the deal: if you plan to do a paper saying "Are XYZ's obsolete?" it serves you well to do a marketing survey to find out just what XYZ's are used for in industry, and also to find out a bit about exactly what distinguishes XYZ's from whatever you propose to replace them with. Imbedded DSP applications don't have virtual memory; they don't have cache (well, some have small instruction caches); they often have very tight memory requirements (say, 8K-64K for the whole system). In a number of the largest volume applications, "low power" means the whole thing (CPU, memory, A/D, D/A, etc) is all on one chip. The cost tradeoffs are very different, meaning that the optimal instruction set is different; a load-store architecture isn't the best choice when the algorithm is more heavily memory-bound. The bottleneck in most DSP algorithms is not how fast a multiply is. It is a memory bottleneck: moving large amounts of data through the CPU. As a result, most modern DSPs can do three memory operations at the same time to separate memory banks, each on a separate address bus. >Still hoping that someday I don't have to program my DSP algorithms in >assembly language.... I agree -- even C/C++ is too low-level. I'd rather draw a dataflow graph and have it automatically partitioned among several processors to optimize throughput and minimize interprocessor communication cost. We're (the Ptolemy group at UCB) working on it... -- Joe Buck jbuck@ohm.berkeley.edu ^ permalink raw reply [flat|nested] 15+ 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; 15+ 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] 15+ messages in thread
* Re: Alpha fft performance 1993-01-07 12:10 ` Alpha fft performance Jean-Pierre Panziera - SGI PARIS @ 1993-01-07 15:41 ` John W. Herman 1993-01-10 16:05 ` Andrew Payne 1 sibling, 0 replies; 15+ 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] 15+ messages in thread
* Re: Alpha fft performance 1993-01-07 12:10 ` Alpha fft performance Jean-Pierre Panziera - SGI PARIS 1993-01-07 15:41 ` John W. Herman @ 1993-01-10 16:05 ` Andrew Payne 1 sibling, 0 replies; 15+ 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] 15+ messages in thread
end of thread, other threads:[~1993-01-26 0:12 UTC | newest] Thread overview: 15+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 1992-12-31 16:42 Alpha fft performance Gary D. Shiflett 1993-01-04 15:42 ` Andrew Payne 1993-01-05 13:40 ` Michel Fingerhut 1993-01-08 20:22 ` "Are DSP Chips Obsolete?" (was re: Alpha fft performance) Joe Buck 1993-01-08 20:53 ` Marcus J Ranum 1993-01-11 18:01 ` Fool 1993-01-21 17:29 ` Jari Tavi 1993-01-21 21:26 ` Joe Buck 1993-01-21 22:56 ` Gints Klimanis 1993-01-22 10:05 ` Jari Tavi 1993-01-25 23:18 ` Malcolm Slaney 1993-01-26 0:12 ` Joe Buck 1993-01-07 12:10 ` Alpha fft performance 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