b.a.t.m.a.n.lists.open-mesh.org archive mirror
 help / color / mirror / Atom feed
From: Daniele Furlan <daniele.furlan@gmail.com>
To: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: encourage batman to take shorter routes by changing the default hop penalty
Date: Fri, 27 Jan 2012 19:17:36 +0100	[thread overview]
Message-ID: <CAG7VhQRZ462=-eRiKPvQAOpruq-vWmmkrY-_qnUHsp5nBy2fKw@mail.gmail.com> (raw)
In-Reply-To: <201201272354.26055.lindner_marek@yahoo.de>

Hi all,

2012/1/27 Marek Lindner <lindner_marek@yahoo.de>:
>
> Hi Andrew,
>
>> Do you have any performance analysis to show this is really helpful
>> and not harmful?
>>
>> I've seen indoor results where i had to reduce the hop penalty,
>> otherwise BATMAN was taking a short path which worked badly. By
>> reducing the hop penalty, so encouraging it to take more hops, i got
>> usable routes.
>>
>> I see the danger here this could break working networks, so maybe it
>> needs justification?

I have experencied the same situation in some tests, and I agree with Andrew
when he says that some form of justification is necessary.
>
> as a matter of fact I do believe it is helpful. In various networks (more than
> a dozen) I have seen that batman would largely favor multi-hop routes, thus
> reducing the overall throughput. By setting it to a higher value I regained
> some of its performance. The networks are still up & running - I can show them
> to you if you are interested.
>
> So, you had to reduce the default value of 10 to something even smaller ? A
> hop penalty of 10 results in a penatly of 4% per hop. A rough equivalent of 2
> lost packets (62/64). Does not sound very much to me. Can you explain your
> test setup a little more ?
>
> Nevertheless, this patch was intended to get a discussion going. The main
> problem I have been seeing in the last weeks is that OGM broadcasts have a
> hard time estimating the link quality / throughput on 11n devices. I'll also
> try to hack a proof of concept for an rssi influence on the routing and see if
> that has a better effect.

The problems of TQ emerges when the rate of devices increase, because especially
in mixed b,g,n networks TQ does not distinguish between fast and slow link.
We all know that brodcast losses does not say almost nothing about link speed
or load.

The only way to improve the TQ metric is a cross-layer implementation as already
experienced (considering only bandwidth) in my tests. Obviously this
means breaking
the "universal" compatibility with network interfaces, the use of
mac80211 and cfg80211
in any case can limit this problem in my opinion.

>
> Regards,
> Marek

Regards,
Daniele

  reply	other threads:[~2012-01-27 18:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-27 15:11 [B.A.T.M.A.N.] [PATCH] batman-adv: encourage batman to take shorter routes by changing the default hop penalty Marek Lindner
2012-01-27 15:19 ` Andrew Lunn
2012-01-27 15:54   ` Marek Lindner
2012-01-27 18:17     ` Daniele Furlan [this message]
2012-01-28 21:03       ` Marek Lindner
2012-01-27 19:13     ` Andrew Lunn
2012-01-28 14:12       ` Antonio Quartulli
2012-01-28 20:49         ` Marek Lindner
2012-01-30  8:06         ` Andrew Lunn
2012-01-28 20:57       ` Marek Lindner
2012-01-28 15:35     ` Simon Wunderlich
2012-02-05 18:52 ` Marek Lindner

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='CAG7VhQRZ462=-eRiKPvQAOpruq-vWmmkrY-_qnUHsp5nBy2fKw@mail.gmail.com' \
    --to=daniele.furlan@gmail.com \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    /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;
as well as URLs for NNTP newsgroup(s).