<div dir="ltr"><div dir="ltr">I see. Thanks for the advice, Daniel.<br></div><div dir="ltr"><br></div><div>Marat</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">ср, 17 мар. 2021 г. в 10:28, Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <p>Hello,</p>
    <p>there is no generic magic formula, it depends a lot on the
      configuration file, what modules are used, if the system tracks
      transactions or dialogs, how many records are cached in memory
      (e.g, lcr or dialplan), encryption/decryptionneeds, as well as how
      many blocking/long time operations are done (e.g., http query, db
      query, ...).</p>
    <p>Dimensioning the memory can be done by starting the Kamailio,
      then get the stats and see how much is the startup overhead, then
      you can push a set of users or calls (e.g., 10000 registrations),
      get again the stats and see how much was added, then you should be
      able to estimate how much is needed (e.g., per registration). But
      even here you have to work with a rough estimate, because
      different UAs have specific behaviour, like larger header values
      (e.g., for a registration Kamailio stores the callid, Contact URI,
      Path headers, ...).</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div>On 09.03.21 12:30, Marat Gareev wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">Hello!
        <div><br>
        </div>
        <div>I'm configuring Kamailio proxy and trying to find
          instructions or advises for choosing the following options:</div>
        <div><u>Host specific</u></div>
        <div>
          <ul>
            <li>Number of cores</li>
            <li>RAM size<br>
            </li>
          </ul>
          <div><u>Kamailio specific</u></div>
        </div>
        <div>
          <ul>
            <li>Number of children to fork for the UDP interfaces</li>
            <li>Shared memory size</li>
          </ul>
          <div>The proxy will not connect to the database, only route
            INVITEs using the dispatcher. The expected load is 70K
            requests per hour.<br>
          </div>
        </div>
        <div><br>
        </div>
        <div>Are there any formulas for calculating the parameters?</div>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
Kamailio (SER) - Users Mailing List
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre cols="72">-- 
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank">www.asipto.com</a>
<a href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Funding: <a href="https://www.paypal.me/dcmierla" target="_blank">https://www.paypal.me/dcmierla</a></pre>
  </div>

</blockquote></div></div>