[OpenSIPS-Users] usrloc hash_size
Bogdan-Andrei Iancu
bogdan at opensips.org
Mon Mar 11 03:50:09 EDT 2019
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/018b9d61/attachment.html>
More information about the Users
mailing list