Optimizing speex (was Re: [Asterisk-Users] Erratic CPU load )
Steve Kann
stevek at stevek.com
Tue Mar 29 14:01:43 MST 2005
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
More information about the asterisk-users
mailing list