<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<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 class="moz-cite-prefix">On 09.03.21 12:30, Marat Gareev wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAGBFc1W5LpDmoJjxhvP5wLQdOXDN+Qq1+GpjXtYOY79VEp3M6g@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<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 class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<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>
Funding: <a class="moz-txt-link-freetext" href="https://www.paypal.me/dcmierla">https://www.paypal.me/dcmierla</a></pre>
</body>
</html>