RFT: Babel RTT extension in Bird

Ondrej Zajicek santiago at crfreenet.org
Fri Apr 22 17:35:23 CEST 2022


On Fri, Apr 22, 2022 at 01:48:46AM +0200, Toke Høiland-Jørgensen wrote:
> Hi everyone
> 
> I've implemented the Babel RTT extension specified in
> draft-ietf-babel-rtt-extension in Bird. I've tested that it talks to
> babeld on a single link and that the two implementations agree on each
> others' (smoothed) RTT values. However, I'd like to subject the code to
> some more tortured testing before submitting it to upstream Bird. So I'm
> sending this note as a request for testing.

Hi

That seems like an interesting idea, especially for things like
automatically switching between multiple Wireguard tunnel concentrators.

Did not yet checked the code how smoothing is done here, but seems to me
that considering:

1) There is baseline RTT from distance / speed of propagation
2) There is one-side noise from congestion
3) The metric should be based on 1) and suppress effects of 2)

It would make sense to use something like running minimum instead of
running average.


> The code currently lives here:
> 
> https://github.com/tohojo/bird/tree/babel-rtt-01
> 
> To compile it, do:
> 
>  git clone -b babel-rtt-01 https://github.com/tohojo/bird
>  cd bird && autoreconf && ./configure && make
> 
> To run it, create a config file enabling the RTT extension; the simplest
> way to do this is to set the interface type to 'tunnel'.

There is one thing that is IMHO a bit strange, type wired/wireless/tunnel
option is just an indirect way of set k-from-j / ETX / RTT-based cost
algorithm. But RTT-based cost have applications that are unrelated to
tunnels.

Seems to me that it would make sense to have a direct option to set the
cost algorithm (and just that), while the 'type' option would provide
reasonable default for that (and possibly other options).

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."



More information about the Bird-users mailing list