public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: elektra <onelektra@gmx.net>
To: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@open-mesh.net>
Subject: Re: [B.A.T.M.A.N.] Node keeps switching back and forth
Date: Tue, 15 Apr 2008 23:09:35 +0200	[thread overview]
Message-ID: <4805198F.8080705@gmx.net> (raw)
In-Reply-To: <A46801E6-B4A6-452F-A1DE-C787A4E947D5@philippeapril.com>

Hi -

>
> With your tests with massive traffic streams, can you confirm that 
> (for example) a user who's downloading something big (or an 
> interactive ssh session) should not see a difference and the flow 
> should stay constant, even though the traffic switches to another path 
> several times during the session? 

If two routes have similar quality it is no wonder that the protocol may 
switch because self-inflicted interference from payload degrades the 
route metric. If the alternative route is 10 % worse, the protocol may 
occasionally use the latter for a short time if the best route is fully 
saturated. As soon as the superior route has no payload anymore the 
metric improves again, while the metric of the inferior route drops. So 
the protocol will switch back quickly.

In such a scenario the superior route may be used most of the time, 
while the inferior route may be chosen less often. This may have a minor 
affect on the throughput - if one route has 10% less throughput than the 
other, but is only used 20% of the time, the negative effect is very 
limited. I'd prefer this behavior over adding hysteresis, which may 
introduce new and more severe headaches.

What is important to me is that the protocol is responsive to changes, 
and while it changes often, doesn't produce any routing errors.

When I was working on OLSR in 2004 and 2005 for Freifunk, we had the 
problem that OLSR started producing routing loops under such conditions 
in our mesh. We saturated a route (transferring high speed data traffic 
at 200 kByte/sec for 10 seconds) and then the route would break down 
completely for 40 seconds and come back at a speed of something like 8 
kByte/sec and 'stabilize' itself there... We solved the problem for OLSR 
(not entirely, but to about 95%) by making its responsiveness slower and 
slower and introducing Fisheye into OLSR (send topology information more 
redundant and more often without drowning the network with protocol 
overhead).

I have made some rough tests to see how much a fully saturated link 
degrades the metric value measured by Originator messages. I have found 
that a fully saturated link does reduce the metric values of Batman a 
bit, but in my tests it was less than 10%.

If the protocol would switch between a miserable route and a good route, 
and utilize each one half of the time this would have a significant 
effect on the throughput, and it was one of my worries in the early days 
of the protocol design. As far as I have seen in practice this is not 
the case.

> That'd be great (and I'll test that tonight!)
Yes, please test it.

cu elektra

  reply	other threads:[~2008-04-15 21:09 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-14 15:12 [B.A.T.M.A.N.] Node keeps switching back and forth Philippe April
2008-04-15  8:04 ` Vinay Menon
2008-04-15 10:08   ` Vinay Menon
2008-04-15 17:31   ` Philippe April
2008-04-15 18:02     ` Marek Lindner
2008-04-15 18:16       ` Philippe April
2008-04-15 18:58         ` Marek Lindner
2008-04-15 19:04         ` elektra
2008-04-15 20:00           ` Philippe April
2008-04-15 21:09             ` elektra [this message]
2008-04-16  8:40               ` Vinay Menon
2008-04-16 13:55                 ` Vinay Menon
2008-04-16 15:41                 ` Philippe April
2008-04-16 16:29                   ` Vinay Menon
2008-04-17 18:40                     ` Philippe April
2008-04-18  3:21                       ` [O.T.] meraki/madwifi [was:Re: [B.A.T.M.A.N.] Node keeps switching back and forth] Jan Hetges
2008-04-18  6:48                       ` [B.A.T.M.A.N.] Node keeps switching back and forth Marek Lindner
2008-04-18  7:24                         ` a.anselmi
2008-04-18 13:46                           ` Philippe April
2008-04-18 14:01                             ` Vinay Menon

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=4805198F.8080705@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