[SR-Users] Dimensioning ds_hash_size value for dispatcher module

Daniel-Constantin Mierla miconda at gmail.com
Thu Mar 8 09:01:19 CET 2018


Hello,

this hash table stores the relation between active calls and the
dispatcher destination addresses. For good performances, try to follow a
rule like:

max-active-calls / number-of-slots < 10.

So if you have an expectation of 10 000 active calls at peak, then the
ds_hash_size should be at least 10.

Cheers,
Daniel


On 14.02.18 14:02, Alvaro Araos wrote:
>
> Hi,
>
> In the documentation of the dispatcher module it is said that in order
> to use the algorithm 10 (load balancing) the parameter ds_hash_size
> must be set, in the definition it is said that the value is in powers
> of 2, that is to say if it is set to 8, this is equal to 2 ^ 8 = 256
> slots, but still I do not understand how to dimension this value for
> my needs. I do not know whether to put 8, 4, 9, etc.
>
>
> Saludos,
> 	*Alvaro Araos Méndez*
> Director de Tecnología en *FonoIP*
>
> +56 2 2947 9000
> alvaro at fonoip.com <mailto:alvaro at fonoip.com>*| *www.fonoip.com
> <http://www.fonoip.com>
> Moisés Chacón 46, El Monte, RM
>
>  
>
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - March 5-7, 2018, Berlin - www.asipto.com
Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180308/a866a018/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: afc1f762.jpeg
Type: image/jpeg
Size: 10362 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180308/a866a018/attachment.jpeg>


More information about the sr-users mailing list