I found that if I use asterisk 13 or higher, the performance is far more behind asterisk 1.8.x
I did test with a simple context on a cloud server(2 cores 4g memory)
exten => _X.,1,Answer()
same => n,MusicOnHold(default,60)
same => n,hangup
I generated 75 calls from another box, when using asterisk 1.8, system load is about 0.2, almost nothing, but when I changed to asterisk 13, 14 or 15 tried both chan sip or pjsip, system load went to 0.5 or higher, I’d like to know if you have similar experience? Is this normal?
Actually I did this test because my new system (asterisk 14 based) has bad performance compared my old system (asterisk 1.8 based), I want to figure out if it’s my script or asterisk itself.
Any suggestion how to debug what’s the bottleneck or is this normal?