[OpenSIPS-Users] usrloc hash_size

Pasan Meemaduma pasandev at ymail.com
Mon Mar 11 05:23:52 EDT 2019


 Hi Bogdan,
Thanks for the explanation. 

    On Monday, 11 March 2019, 1:20:20 PM GMT+5:30, Bogdan-Andrei Iancu <bogdan at opensips.org> wrote:  
 
  Hi Pasan,
 
 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.
 
 Regards,
  Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 2019
  https://www.opensips.org/events/Summit-2019Amsterdam/
 On 03/11/2019 09:20 AM, Pasan Meemaduma via Users wrote:
  
 Hi Guys, 
  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.
  
  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. 
  I'm using opensips 2.3.6 
  Thank you.
  
  
 _______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users 
 
   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190311/6fa11c9a/attachment-0001.html>


More information about the Users mailing list