[Speex-dev] High CPU usage

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Tue Sep 22 18:05:30 PDT 2009


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
> 


More information about the Speex-dev mailing list