From: Andrew Lunn <andrew.lunn@ascom.ch>
To: B.A.T.M.A.N@lists.open-mesh.net
Subject: [B.A.T.M.A.N.] originator tq_avg oscilations
Date: Tue, 23 Jun 2009 17:06:02 +0200 [thread overview]
Message-ID: <20090623150602.GM19149@ma.tech.ascom.ch> (raw)
Hi Folks
I've been playing with B.A.T.M.A.N advanced for a few weeks now.
One of the scenarios where we might want to use it is nomadic
vehicles. Each vehicle has a wifi radio which is used to build a mesh
between the vehicles when the vehicles are parked together at a
location. I said the vehicles are nomadic. By that i mean they tend to
stay in one place for a while, and then move on. They can move
individually, or in groups. For the moment we are not interested in
meshing while on the move.
I've run into a "problem" when one vehicle/node moves away from the
rest of the vehicles/nodes. It is taking a long time for the mesh to
realize the node has gone and rebuild the mesh. With a 500ms
orig_interval in our little test network, pings get lost for an
average of 26 seconds. The variation is great, sometimes it reroutes
in 10 seconds, sometimes in 50 seconds.
So i want to improve this. The first thing i did was make some plots
of the tq_avg value, as shown in /proc/net/batman-adv/originators. I
look at one particular originator and plot the different tq_avg values
for the list of neighbors. Attaches is a png image showing this.
I was surprised to see that its unstable and oscillating. The
different tq_avg values mostly oscillate together, as shown in the
figure, but i've also seen cases when they oscillate 180 degrees out
of phase. In that case, the routing flips on the cross overs.
Is this normal? Is it expected behavior?
Has anybody worked on making re-routing around disappears nodes
faster?
Thanks
Andrew
next reply other threads:[~2009-06-23 15:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-23 15:06 Andrew Lunn [this message]
2009-06-23 20:00 ` [B.A.T.M.A.N.] originator tq_avg oscilations Marek Lindner
-- strict thread matches above, loose matches on Subject: below --
2009-06-24 8:28 Andrew Lunn
2009-06-24 14:38 ` Marek Lindner
2009-06-24 21:06 ` Linus Lüssing
2009-06-25 19:47 ` Andrew Lunn
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=20090623150602.GM19149@ma.tech.ascom.ch \
--to=andrew.lunn@ascom.ch \
--cc=B.A.T.M.A.N@lists.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