[asterisk-dev] asterisk optimalizations

Atis Lezdins atis at iq-labs.net
Thu Jan 24 08:38:56 CST 2008


On 1/24/08, marek cervenka <cervajs at fpf.slu.cz> wrote:
> hi,
>
> i'm testing asterisk 1.6/1.4/1.2 in the following scenario
> centos5/cpu quad xeon E5335 2.0Ghz
> - test clients behind nat
> - 1500+ testing instances - reregister option from 1min to 1hour
> - qualify set to 5000
>
> top shows over 100% cpu. cpu cores sometimes go to 95%
> with htop i see ~16threads but only one child have ~95% cpu
> (how i can get info about that thread? what he is doing?)
>
> what is major bottleneck? qualify imho not. i'm tried set qualify=no,
> this does not help
> SIP REGISTER packets?
>
> this problem persist if no calls are active
> after restart cpu usage slowly increase. after a ~hour is about 100%
>
> which optimalizations do you recommend for ~1500 peers scenario? (behind
> nat, reregistrations)
> how i can debug which thread/operations are most cpu intesive? strace?
> gdb? can you show some examples?
>
> thanks

I think Murf tested performance some time ago. You could start by
reading those two threads:

http://lists.digium.com/pipermail/asterisk-dev/2008-January/031353.html
http://lists.digium.com/pipermail/asterisk-dev/2007-November/030327.html


Regards,
Atis

-- 
Atis Lezdins
VoIP Developer,
IQ Labs Inc.
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Work phone: +1 800 7502835



More information about the asterisk-dev mailing list