Running sound on the Cell Broadband Engine
Hi List,
I have taken the program midiFMsynth.c written by Dr. Nagorni and built it on two machines: a PS3/YDL and another AMD64 (processing speed 2ghz) host (2.6.18-1.2200.fc5). I calculated the running time (in microseconds) for the program that performs the pcm calculation and got some interesting (although discouraging) results. I ran the program two ways: with and without the call to snd_pcm_writei. The results were:
PS3: with sound 11501 us; without sound 1200 us
AMD64: with sound 379 us; without sound 280 us
Is there anyone that can shed light on the differences. I would have expected similar results from both systems. Thanks.
John Dey
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
At Thu, 22 Feb 2007 11:42:03 -0500,
Quoted 11 lines · John Dey
Hi List,
I have taken the program
midiFMsynth.cwritten by Dr. Nagorni and built it on two machines: a PS3/YDL and another AMD64 (processing speed 2ghz) host (2.6.18-1.2200.fc5). I calculated the running time (in microseconds) for the program that performs the pcm calculation and got some interesting (although discouraging) results. I ran the program two ways: with and without the call tosnd_pcm_writei. The results were:
Quoted 5 lines
PS3: with sound 11501 us; without sound 1200 us
AMD64: with sound 379 us; without sound 280 usIs there anyone that can shed light on the differences. I would have expected similar results from both systems. Thanks.
PS3 driver likely has no proper DMA. That causes often high CPU usage.
Takashi
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV