<div dir="ltr">Hi,<div>Interesting to know that AWS has PPS limitation. </div><div><br></div><div>Found this article to be useful : <a href="http://techblog.cloudperf.net/2016/05/2-million-packets-per-second-on-public.html">http://techblog.cloudperf.net/2016/05/2-million-packets-per-second-on-public.html</a></div><div><br></div><div>Regards,<br>Sammy</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 28, 2017 at 3:37 AM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<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><div><div class="gmail-h5">
<br>
<div class="gmail-m_-775328923638894633moz-cite-prefix">On 27/03/2017 21:09, Jade SZ wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="gmail-h5">
<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="gmail-m_-775328923638894633mimeAttachmentHeader"></fieldset>
<br>
</div></div><span class="gmail-"><pre>______________________________<wbr>_________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="gmail-m_-775328923638894633moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a class="gmail-m_-775328923638894633moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a>
</pre>
</span></blockquote><span class="gmail-">
<br>
<pre class="gmail-m_-775328923638894633moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="gmail-m_-775328923638894633moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a class="gmail-m_-775328923638894633moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - May 22-24 (USA) - <a class="gmail-m_-775328923638894633moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a>
Kamailio World Conference - May 8-10, 2017 - <a class="gmail-m_-775328923638894633moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank">www.kamailioworld.com</a></pre>
</span></div>
<br>______________________________<wbr>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br></blockquote></div><br></div></div>