On Wed, 17 Jul 2024 12:54:52 +0000 Thomas Gambier <thomas.gambier@nexedi.com> wrote:
max-rtt-penalty 5000 rtt-max 500 rtt-decay 125
Thank you for sharing your experience with me! On Wed, 17 Jul 2024 18:18:42 +0200 Juliusz Chroboczek <jch@irif.fr> wrote:
Some of the VM's are in the same data center (latency < 1ms) and some are very far away (Germany <-> Hong Kong 300ms-400ms). Which rtt-min, rtt-max and rtt-cost/max-rtt-penalty would be suitable for such a network?
rtt-min should be chosen so that all links below rtt-min are local -- the idea is that below rtt-min, it's not worth optimising the path. The default value (10ms) should be fine in most networks.
rtt-max should be larger than all good links in your network -- the idea is that above rtt-max, it's no longer worth optimising the path. In your case, you might want to increase the value to 350ms or so.
Thanks for the quick answers! What should I set rtt-cost/max-rtt-penalty to?
-- Juliusz
-- Marek Küthe m.k@mk16.de er/ihm he/him