<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>besides Alex' suggestion to look at AWS PPS limits, few things to
take in consideration in such case:</p>
<p> - if CPU usage is low, then if you use DNS for routing, be sure
that DNS server is very responsive<br>
- if you do auth with database, be sure that database is very
responsive<br>
- if you print extensive log messages, be sure syslog is
configured asynchronous<br>
- check the received queue on sip port with netstat, if it is
high value, then kamailio is stuck in some operations (like those
above) and doesn't read as fast as the end point transmits<br>
- if sipp runs on a low capacity system, I noticed that it
cannot handle the responses at high throughput even when they are
sent to it and it actually thinks it hasn't received them and do
retransmissions</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 27/03/2017 21:09, Jade SZ wrote:<br>
</div>
<blockquote
cite="mid:CAP2a2YX_gtLtd+S2drUtv8Uk_fCzpRFOrdJC6Xf9+NApTWanHw@mail.gmail.com"
type="cite">
<div dir="ltr">Hi Guys,
<div><br>
</div>
<div>I am running a simple REGISTER load test on:</div>
<div><br>
</div>
<div>1) Kamailio sever with 2 cores - mem 5G</div>
<div>2) Kamailio server with 4 cores - mem 16G</div>
<div><br>
</div>
<div>Both are EC2 instances.</div>
<div><br>
</div>
<div>At -r = 500 i.e. 500 reg/sec sipP test works fine with very
few re-trans. But when i increase it to 800 reg/sec it starts
retransmissions in bulk. <br>
</div>
<div><br>
</div>
<div>I don't see server's CPU, load-avg or memory shooting.
Running everything by default, even using kamctl to start the
instance. So I have not tuned any params yet. </div>
<div><br>
</div>
<div>My main concern is how can I make server choke and get its
actual capacity, and avoid these retransmissions as apparently
kamailio is not even utilizing 2 cores and CPU usage is under
10 always.</div>
<div><br>
</div>
<div>Results of both server is same i.e. 500 reg/sec max so I am
sure there is some problem that needs a fix, but need some
hints here.</div>
<div><br>
</div>
<div>Also used multiple SIPp's to rule out if it is SIPp issue,
but after 500 I see same problem.</div>
<div><br>
</div>
<div><br>
</div>
<div>Regards,</div>
<div>JSZ</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - May 22-24 (USA) - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 8-10, 2017 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>