<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    besides Alex' relevant remarks on time interval for sampling, note
    that getting high performances require tuning other parameters,
    typically across many modules. For pipelimit, be sure you increase
    the value for hash_size<br>
    <br>
<a class="moz-txt-link-freetext" href="http://www.kamailio.org/docs/modules/stable/modules/pipelimit.html#pipelimit.p.hash_size">http://www.kamailio.org/docs/modules/stable/modules/pipelimit.html#pipelimit.p.hash_size</a><br>
    <br>
    Look also to the readme of the modules you are using and if there is
    a hash_size parameter, you should increase those too.<br>
    <br>
    Then timer processes could be important for performances as well. In
    the next presentation I gave some hints about bits to be adjusted
    for good performances:<br>
    <br>
<a class="moz-txt-link-freetext" href="http://www.slideshare.net/miconda/kamailio-surfing-big-waves-of-sip-with-style">http://www.slideshare.net/miconda/kamailio-surfing-big-waves-of-sip-with-style</a><br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 07/01/16 20:04, Alex Balashov wrote:<br>
    </div>
    <blockquote
      cite="mid:20160107190410.5419088.40426.181379@evaristesys.com"
      type="cite">
      <div style="width: 100%; font-size: initial; font-family: Calibri,
        'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align:
        initial; background-color: rgb(255, 255, 255);">Not personally,
        but we sell a SIP platform built on top of Kamailio that is
        designed specifically for that purpose.</div>
      <div style="width: 100%; font-size: initial; font-family: Calibri,
        'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align:
        initial; background-color: rgb(255, 255, 255);"><br
          style="display:initial">
      </div>
      <div style="font-size: initial; font-family: Calibri, 'Slate Pro',
        sans-serif; color: rgb(31, 73, 125); text-align: initial;
        background-color: rgb(255, 255, 255);">--<br>
        Alex Balashov | Principal | Evariste Systems LLC<br>
        303 Perimeter Center North, Suite 300<br>
        Atlanta, GA 30346<br>
        United States<br>
        <br>
        Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)<br>
        Web: <a class="moz-txt-link-freetext" href="http://www.evaristesys.com/">http://www.evaristesys.com/</a>, <a class="moz-txt-link-freetext" href="http://www.csrpswitch.com/">http://www.csrpswitch.com/</a><br>
        <br>
        Sent from my BlackBerry.</div>
      <table style="background-color:white;border-spacing:0px;"
        width="100%">
        <tbody>
          <tr>
            <td colspan="2" style="font-size: initial; text-align:
              initial; background-color: rgb(255, 255, 255);">
              <div style="border-style: solid none none;
                border-top-color: rgb(181, 196, 223); border-top-width:
                1pt; padding: 3pt 0in 0in; font-family: Tahoma, 'BB
                Alpha Sans', 'Slate Pro'; font-size: 10pt;">
                <div><b>From: </b>Vik Killa</div>
                <div><b>Sent: </b>Thursday, January 7, 2016 14:01</div>
                <div><b>To: </b>Kamailio (SER) - Users Mailing List</div>
                <div><b>Reply To: </b>Kamailio (SER) - Users Mailing
                  List</div>
                <div><b>Subject: </b>Re: [SR-Users] using pipelimit at
                  CPS (1 second)</div>
              </div>
            </td>
          </tr>
        </tbody>
      </table>
      <br>
      <div id="_originalContent" style="">
        <div dir="ltr">Do you operate Kamilio in a wholesale environment
          with many CPS? </div>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Thu, Jan 7, 2016 at 12:22 PM, Alex
            Balashov <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">Vik,<br>
              <br>
              We have used pipelimit at a sampling interval of 1 second,
              and, on the basis of contact with reality, decided to
              shift to a 3-second sampling window.<br>
              <br>
              The major problem with the 1-second interval is not the
              CPU usage, but that it's not very useful. Such a sampling
              window is extremely responsive to fluctuations within a
              short time, and this manifests very well in SIPP testing.<br>
              <br>
              However, SIPP generates calls in an orderly and linear
              fashion. Real-world SIP traffic is highly bursty and
              volatile. The result is that a 1-second sampling window
              will not properly encapsulate the data so as to reliably
              enforce a CPS limit of X. For example, if you set a limit
              of 300 CPS, the short sampling window makes it quite
              possible to burst far beyond 300 CPS as long as it is done
              within < 50% of the duty cycle.<br>
              <br>
              3 seconds is a more realistic compromise. In virtue of
              smoothing some peaks, it is less dynamic and responsive,
              but it far more accurately takes into account the bursty
              and chaotic nature of real-world high-volume call setups.
              These are not modeled well with SIPP testing.<br>
              <br>
              -- Alex<br>
              <br>
              <br>
              -- <br>
              Alex Balashov | Principal | Evariste Systems LLC<br>
              303 Perimeter Center North, Suite 300<br>
              Atlanta, GA 30346<br>
              United States<br>
              <br>
              Tel: <a moz-do-not-send="true"
                href="tel:%2B1-800-250-5920" value="+18002505920"
                target="_blank">+1-800-250-5920</a> (toll-free) / <a
                moz-do-not-send="true" href="tel:%2B1-678-954-0671"
                value="+16789540671" target="_blank">+1-678-954-0671</a>
              (direct)<br>
              Web: <a moz-do-not-send="true"
                href="http://www.evaristesys.com/" rel="noreferrer"
                target="_blank">http://www.evaristesys.com/</a>, <a
                moz-do-not-send="true" href="http://www.csrpswitch.com/"
                rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="http://www.csrpswitch.com/">http://www.csrpswitch.com/</a></a><br>
              <br>
              _______________________________________________<br>
              SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
              mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:sr-users@lists.sip-router.org"
                target="_blank">sr-users@lists.sip-router.org</a><br>
              <a moz-do-not-send="true"
                href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
                rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
            </blockquote>
          </div>
          <br>
        </div>
        <br>
        <!--end of _originalContent --></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-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://miconda.eu">http://miconda.eu</a></pre>
  </body>
</html>