How fair is the rtpengine loadbalancing?
I have 3 rtp backends defined with equal weights (33 each). But when I look at the number of calls being handled the spreaded load is always 5:4:3 for the machines in the orderd listed: modparam("rtpengine", "rtpengine_sock", "udp:10.235.32.60:7723=33 udp:10.235.32.59:7723=33 udp:10.235.32.58:7723=33") Looking at select_rtpp_node_new I see nothing unfair happening (with my total lack of knowledge of how the node set is populated). Anybody else noticing this?
Hello, I haven't looked at the code for rtpengine, but iirc correctly, the rpproxy was also doing sort of hashing over call-id to select the node... I would be also curious to see how the balancing algorithm is designed in this case, whether is intended to be strict, or best effort. Cheers, Daniel On 19.03.19 13:23, Daniel Tryba wrote:
I have 3 rtp backends defined with equal weights (33 each). But when I look at the number of calls being handled the spreaded load is always 5:4:3 for the machines in the orderd listed:
modparam("rtpengine", "rtpengine_sock", "udp:10.235.32.60:7723=33 udp:10.235.32.59:7723=33 udp:10.235.32.58:7723=33")
Looking at select_rtpp_node_new I see nothing unfair happening (with my total lack of knowledge of how the node set is populated).
Anybody else noticing this?
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com Kamailio Advanced Training - Mar 25-27, 2019, in Washington, DC, USA -- www.asipto.com
participants (2)
-
Daniel Tryba -
Daniel-Constantin Mierla