[Speex-dev] High CPU usage

Mark Schilling mark_schilling at gmx.de
Wed Sep 23 02:41:03 PDT 2009


Hi Jean-Marc,

I recompiled with FIXED_POINT and CPU utilization stays below 4%. This is a great improvement.
So how can I fix this to work with floating point ?

Thanks.

Mark

-----Ursprüngliche Nachricht-----
Von: Jean-Marc Valin [mailto:jean-marc.valin at usherbrooke.ca] 
Betreff: Re: [Speex-dev] High CPU usage


Hi,

Sound like it could be the good old denormalised float problem on the Intel chips. Just to make sure, can you try compiling in fixed-point
(FIXED_POINT) and see if the problem goes away (it's not a fix, just a test)? If that's the case, there's probably a few VERY_SMALL's to add to some signals.

Cheers,

	Jean-Marc


Mark Schilling a écrit :
> Hi,
> 
> I have a curious problem with speex. As long as I'm talking, it takes about 2-5% of my CPU. This seems ok.
> But as soon as I stop talking, CPU utilization rises to about 30-45% and stays there until I start talking again. 
> 
> I compiled speex from source and use it with these settings:
> - Preprocessor: Denoiser = ON, AGC = ON
> - Encoder: ABR = 15000, DTX = 1, Mode = narrowband, Rate = 8000 Hz.
> 
> My platform: Windows XP SP3, MSVS 2008 SP1, 1.8 GHz Core Duo CPU, 2 GB RAM.
> 
> Thanks for your help :-)
> Mark
> 



-- 
Neu: GMX Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
für nur 19,99 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02


More information about the Speex-dev mailing list