From: elektra <onelektra@gmx.net>
To: b.a.t.m.a.n@open-mesh.net
Subject: Re: [B.A.T.M.A.N.] batman routing clarification
Date: Wed, 19 Sep 2007 19:07:41 +0200 [thread overview]
Message-ID: <200709191907.41922.onelektra@gmx.net> (raw)
In-Reply-To: <17196.85.41.146.90.1190212517.squirrel@krisma.oltrelinux.com>
> What above is well right using that bandwidht values (6Mb) but with
> poor/lossy links we have also to consider the IP datagrams loss at network
> layer ---> which will cause TCP retransmits at higher layers (think to
> http connection) just based on that links.
> For this reason maybe a kind of "bandwidth threshold" can help in
> preferring a 500_Kb per link mulit-hop path rather than a 300_Kb link
> direct path.
Well, you certainly have a point here. The goal of a routing protocol should
be to achive the maximum achievable bandwidth for all nodes using the
network. There is a fancy word for this condition that one can use to brag
around and sound like a scientist: equilibrium.
A route can consist of a large number of very good links - this would be one
extreme. Or consist of a minimum of lousy links with maximum packet loss.
The first option would consume a very high amount of available bandwidth since
there will be many retransimissions disturbing others and it is likely to be
relatively slow if your machines use one wireless interface only. The latter
is likely to be completely unusable for anything more than transfering a few
bytes.
The protocol should find the most effective compromise, of course.
With OLSR and ETX a two hop route with ETX=1,1 on each link won't be used if
there is a direct link with ETX=2,1. The idea of ETX is to find the best
compromise regarding loss and retransmissions. One has to note that this
approach is only useful for wireless networks. ETX on wired connections
sucks.
We are doing basically the same with Batman, but it is inherit in the
algorithm. Usually a shorter route has a smaller propagation delay - so
packets are approaching faster at the node that is counting. Only if the
longer - and slower - route looses significant less packets Batman will
choose the longer path. Batman has a small benefit on wired connections
because they are usually much faster than wireless links and thus tend to be
preferred.
In the previous example OLSR will prefer a single hop route with more than 50%
packetloss, rather than the two-hop path with approx. 17% packetloss.
There are some people suggesting that Batman preferres shorter routes too
much, so it is interesting to collect such reports. But misconfigurations
have to be ruled out when collecting such data.
Something that could help to improve the situation as a workaround in this
case is to increase the broadcast rate in the wireless settings of the cards.
This will reduce the range of broadcasts and can improve the result, because
the number of OGMs on stretched links will decrease.
cu elektra
next prev parent reply other threads:[~2007-09-19 17:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-19 12:19 [B.A.T.M.A.N.] batman routing clarification Stefano Scipioni
2007-09-19 13:25 ` elektra
2007-09-19 14:35 ` a.anselmi
2007-09-19 14:54 ` elektra
2007-09-19 17:07 ` elektra [this message]
2007-09-19 21:12 ` a.anselmi
2007-09-20 5:14 ` [B.A.T.M.A.N.] 919 build Michael Burmeister-Brown
[not found] ` <2bda28cd0709190924o217a3686vabf481bd66927971@mail.gmail.com>
2007-09-19 17:44 ` [B.A.T.M.A.N.] batman routing clarification elektra
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200709191907.41922.onelektra@gmx.net \
--to=onelektra@gmx.net \
--cc=b.a.t.m.a.n@open-mesh.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox