From 8427569646140c9c6d62df448c1cbee3383d4087 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20K=C3=BCthe?= Date: Wed, 17 Jul 2024 18:34:33 +0000 Subject: [PATCH] Change recommended RTT Cost --- docs/routing/babeld/babeld.md | 2 +- docs/routing/bird/rtt.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/routing/babeld/babeld.md b/docs/routing/babeld/babeld.md index a13afdc..20158d7 100644 --- a/docs/routing/babeld/babeld.md +++ b/docs/routing/babeld/babeld.md @@ -32,7 +32,7 @@ random-id true link-detect true -default hello-interval 4 type tunnel rtt-min 10 rtt-max 1000 enable-timestamps true +default hello-interval 4 type tunnel rtt-min 10 rtt-max 1000 max-rtt-penalty 192 enable-timestamps true interface type tunnel diff --git a/docs/routing/bird/rtt.md b/docs/routing/bird/rtt.md index ad999a8..80744bc 100644 --- a/docs/routing/bird/rtt.md +++ b/docs/routing/bird/rtt.md @@ -14,12 +14,12 @@ To add a peering with RTT, the attributes `rtt min`, `rtt max` and `rtt cost` ar ``` interface "crxn_peer2" { type tunnel; - rtt cost 96; + rtt cost 192; rtt min 10 ms; rtt max 1000 ms; }; ``` -The `rxcost` is set to the default value for the interface type. However, this is less relevant as the rxcost is also influenced by the RTT. If the RTT is less than 10 ms, no RTT-specific change is made; if the RTT is over 1000 ms or 1 s, the maximum RTT-specific cost is added. You can also use `rtt cost` to specify how high the maximum RTT specific costs may be. These are 96 for tunnel interfaces and 0 otherwise. +The `rxcost` is set to the default value for the interface type. However, this is less relevant as the rxcost is also influenced by the RTT. If the RTT is less than 10 ms, no RTT-specific change is made; if the RTT is over 1000 ms or 1 s, the maximum RTT-specific cost is added. You can also use `rtt cost` to specify how high the maximum RTT specific costs may be. These are 96 for tunnel interfaces and 0 otherwise. In the case of CRXN, 192 is recommended - the RTT costs are therefore increased approximately every fifth second in the RTT. There is also the `max-rtt-penalty` setting, which specifies how quickly old RTT measurements should be discarded and therefore no longer included in the calculation (higher values mean that old measurements are discarded more quickly). The default value is 42, but if you have the feeling or observation that this is not suitable for the link between the routers you can increase the value, for example to `125` or similar. ## Links