[Olsr-users] [Babel-users] A few more comments on the BATMAN routing protocol
Juliusz Chroboczek
(spam-protected)
Wed Aug 27 18:26:11 CEST 2008
>> My claim that there exist topologies in which average-case convergence
>> of BATMAN is exponential in the number of hops has been confirmed by
>> two of the BATMAN developers. I still believe this to be a very
>> significant flaw of BATMAN.
> Packet loss increases also the count of OGMs that trigger a route switch
> decreases.
I realise that. The trouble is that the time needed to reconverge is
proportional to the product of the link qualities, and not to the sum
of the link qualities, as is the case in Babel and in OLSR.
> Now let's come to the worst case. Again two paths that are
> non-overlapping. One is terrible, 99% loss. The other is perfect, no
> loss.
As I mentioned in my point 3, the packet loss, as measured by BATMAN,
is not realistic in the presence of link-layer AQM. As you know,
IEEE 802.11 does perform link-layer AQM for unicast packets.
A 10-hop route with each link having 20% loss will be measured by
BATMAN as a route with 90% loss. However, with 7-persistent per-hop
AQM (the IEEE 802.11 default), such a route has an effective loss rate
of roughly 10^-4, and is therefore quite usable by standard transport-layer
protocols such as TCP. (In case this is not clear to you -- this is
brilliantly exposed in the original ETX paper.)
Hence, my claim that BATMAN converges in exponential time stands, even
if you restrict yourself to routes usable by TCP.
> All versions of Batman benefit from the fact that they don't produce
> much protocol overhead (small amount of data that needs to be
> communicated, OGM flooding is only flooded exclusively via the best
> routing path to a destination).
Given a network with n nodes and e edges, BATMAN sends O(n^2) packets
per unit of time, Babel sends O(n^2) messages, and OLSR sends between
O(e) and O(e.n) depending on the MPR redundancy.
I fail to see how that relates to the fact that BATMAN converges in
exponential time in the network diameter.
Juliusz
More information about the Olsr-users
mailing list