Steve,

Looks much better now, although it didn't end the cpu load surges: they just 
arrive less frequently (period of several minutes). There are some reports 
about "cpu spikes" hitting your machine every few hours - when using G711. 
Maybe these spikes are the same ones I see. When I change from speex towards 
optimized speex or gsm my "spike period" goes up from 1 to 10 minutes. If this 
increase is related to (decreasing) translator costs, I guess a few hour period 
for G711 is quite possible. I guess I should ask the dev-list...

Eric.
 

> -----Original Message-----
> From: Steve Kann [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 29, 2005 11:02 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Optimizing speex (was Re: [Asterisk-Users] Erratic CPU load )
> 
> 
> 
> Eric,
> 
>     If you want to optimize speex, I'd suggest the following:
> 
> 1) Re-compile the speex library with SSE optimizations; add 
> --enable-sse 
> to the configure line used for compilation.
> 
> 2) Reduce the "complexity" from 4, to 2 or 3 in codecs.conf.  
>  You won't 
> notice the difference in quality.
> 
> 3) Lower bitrates use less CPU;  try setting abr to 8000, which is a 
> good all-around choice; it gives you an average of 8kbps 
> usage, but can 
> range from 2-3kbps to 16 kbps or so during simple/complex 
> speech parts.
> 
> -SteveK
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to