[SR-Users] Dimensioning ds_hash_size value for dispatcher module

Alvaro Araos alvaro at voxcore.cl
Wed Mar 14 15:33:53 CET 2018


 

Daniel, Muchas gracias por tu respuesta. 

Saludos, 

 ALVARO ARAOS MÉNDEZ 
 Director de Tecnología en FONOIP

 +56 2 2947 9000
alvaro at fonoip.com | www.fonoip.com [2] 
 Moisés Chacón 46, El Monte, RM 

El 08-03-2018 05:01, Daniel-Constantin Mierla escribió: 

> 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 | www.fonoip.com [2] 
>> 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 [1]
> 
> -- 
> Daniel-Constantin Mierla
> www.twitter.com/miconda [3] -- www.linkedin.com/in/miconda [4]
> Kamailio Advanced Training - March 5-7, 2018, Berlin - www.asipto.com [5]
> Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com [6]
 

Links:
------
[1] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
[2] http://www.fonoip.com
[3] http://www.twitter.com/miconda
[4] http://www.linkedin.com/in/miconda
[5] http://www.asipto.com
[6] http://www.kamailioworld.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180314/c34529f7/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/20180314/c34529f7/attachment.jpeg>
-------------- 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/20180314/c34529f7/attachment-0001.jpeg>


More information about the sr-users mailing list