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@fonoip.com | www.fonoip.com [1] Moisés Chacón 46, El Monte, RM
Links: ------ [1] http://www.fonoip.com
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@fonoip.com mailto:alvaro@fonoip.com*| *www.fonoip.com http://www.fonoip.com Moisés Chacón 46, El Monte, RM
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Daniel, Muchas gracias por tu respuesta.
Saludos,
ALVARO ARAOS MÉNDEZ Director de Tecnología en FONOIP
+56 2 2947 9000 alvaro@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@fonoip.com | www.fonoip.com [2] Moisés Chacón 46, El Monte, RM
Kamailio (SER) - Users Mailing List sr-users@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