Re: CPU Consumption

Steve Harris <[email protected]>
Newsgroups gmane.comp.audio.jamin.devel
Message-ID <[email protected]>
On 10 May 2007, at 08:11, Emmanuel Saracco wrote:

> Hi,
>
> I have always wondered why JAMin were a so huge CPU consumer?
>
>> From the project page it is said that "JAMin uses FFT, so it's a  
>> quite
> CPU and memory hungry beast". Does it use it even when doing  
> nothing at
> all?

Yes, it has to be running all the time.

> Any idea or tips to optimize it?

You could make sure you're using the most efficient version of FFTW  
for your system, ie. make sure it's using SSE instructions if you  
have them. Fundamentally though it just does a /lot/ of maths, so its  
always going to take a lot of CPU.

We have some experimental code that uses a IIRs instead of FFTs, you  
loose some features (GEQ and the linear frequency response) but it's  
a lot quicker. Unfortunately we don't have anyone on the team with  
the DSP skills to craft them properly, and the current ones sound  
terrible.

- Steve



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.