<html><head></head><body><div class="ydp5da30bc6yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
        <div>Hi Bogdan,</div><div><br></div><div>Thanks for the explanation. <br></div><div><br></div>
        
        </div><div id="yahoo_quoted_2547709537" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Monday, 11 March 2019, 1:20:20 PM GMT+5:30, Bogdan-Andrei Iancu <bogdan@opensips.org> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="yiv8109663152"><div>
    <tt>Hi Pasan,<br clear="none">
      <br clear="none">
      All the registrations will evenly distribute across all hash
      entries, so for 512 entries and 20k regs -> 20000 / 512 = 39
      regs per entry, which is quite decent size for a map.<br clear="none">
      <br clear="none">
      Regards,<br clear="none">
    </tt>
    <pre class="yiv8109663152moz-signature">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a rel="nofollow" shape="rect" class="yiv8109663152moz-txt-link-freetext" target="_blank" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS Summit 2019
  <a rel="nofollow" shape="rect" class="yiv8109663152moz-txt-link-freetext" target="_blank" href="https://www.opensips.org/events/Summit-2019Amsterdam/">https://www.opensips.org/events/Summit-2019Amsterdam/</a>
</pre>
    <div class="yiv8109663152yqt9597743775" id="yiv8109663152yqtfd54823"><div class="yiv8109663152moz-cite-prefix">On 03/11/2019 09:20 AM, Pasan Meemaduma
      via Users wrote:<br clear="none">
    </div>
    </div><blockquote type="cite"><div class="yiv8109663152yqt9597743775" id="yiv8109663152yqtfd36517">
      <div class="yiv8109663152ydpb5bd0011yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">Hi Guys,</div>
      <div class="yiv8109663152ydpb5bd0011yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><br clear="none">
      </div>
      <div class="yiv8109663152ydpb5bd0011yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">How do I calculate the required hash
        table size depend on the number of registrations in the location
        table ?. I have about 20K registrations in my location table.<br clear="none">
      </div>
      <div class="yiv8109663152ydpb5bd0011yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><br clear="none">
      </div>
      <div class="yiv8109663152ydpb5bd0011yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">The default hash_size of 9 means 512
        entries, but thats not the actual no. registrations right ? Its
        definition doesn't seems clear to me.</div>
      <div class="yiv8109663152ydpb5bd0011yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><br clear="none">
      </div>
      <div class="yiv8109663152ydpb5bd0011yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">I'm using opensips 2.3.6</div>
      <div class="yiv8109663152ydpb5bd0011yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><br clear="none">
      </div>
      </div><div class="yiv8109663152ydpb5bd0011yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div class="yiv8109663152yqt9597743775" id="yiv8109663152yqtfd09292">Thank you.</div><br clear="none">
      </div>
      <br clear="none">
      <fieldset class="yiv8109663152mimeAttachmentHeader"></fieldset>
      <br clear="none">
      <pre>_______________________________________________
Users mailing list
<a rel="nofollow" shape="rect" class="yiv8109663152moz-txt-link-abbreviated" ymailto="mailto:Users@lists.opensips.org" target="_blank" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a rel="nofollow" shape="rect" class="yiv8109663152moz-txt-link-freetext" target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><div class="yiv8109663152yqt9597743775" id="yiv8109663152yqtfd09193">
</div></pre><div class="yiv8109663152yqt9597743775" id="yiv8109663152yqtfd47757">
    </div></blockquote><div class="yiv8109663152yqt9597743775" id="yiv8109663152yqtfd61417">
    <br clear="none">
  </div></div></div></div>
            </div>
        </div></body></html>