b.a.t.m.a.n.lists.open-mesh.org archive mirror
 help / color / mirror / Atom feed
From: "\"Linus Lüssing\"" <linus.luessing@web.de>
To: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@lists.open-mesh.org>
Cc: 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 2/2] batman-adv: make number of broadcasts configurable per hardif
Date: Sat, 9 Mar 2013 22:03:54 +0100 (CET)	[thread overview]
Message-ID: <trinity-27069899-f60c-4931-9e7b-7b5c426148dc-1362863034733@3capp-webde-bs30> (raw)
In-Reply-To: <201303090328.38621.lindner_marek@yahoo.de>



> Gesendet: Freitag, 08. März 2013 um 20:28 Uhr
> Von: "Marek Lindner" <lindner_marek@yahoo.de>
> An: "The list for a Better Approach To Mobile Ad-hoc Networking" <b.a.t.m.a.n@lists.open-mesh.org>
> Betreff: Re: [B.A.T.M.A.N.] [PATCH 2/2] batman-adv: make number of broadcasts configurable per hardif
>
> On Saturday, March 09, 2013 01:38:56 Linus Lüssing wrote:
> > From: Matthias Schiffer <mschiffer@universe-factory.net>
> >
> > In heterogenous networks, setting the number of broadcasts to differing
> > values on different interfaces can be beneficial.
> >
> > E.g., on wireless interfaces with high packet loss a higher number of
> > broadcasts may be necessary, whereas on low-bandwidth interfaces with
> > relatively high reliablily (such as VPN links over slow internet lines)
> > sending only a single packet makes more sense to preserve bandwidth.
>
> In general, I like the idea but the approach isn't the best. Can't we automate
> these settings instead of adding hundreds of little knobs nobody will
> understand ? Why not detecting wifi interfaces as such and configure the
> broadcast value accordingly ? The same goes for ethernet / vpns ?

I like the idea of automating things, especially if the automated mechanism isn't too complex and therefore I like the idea of Matthias latest patch. And it helps us just as well for our setup.

Nevertheless I'm still wondering, whether a manually configurable number of broadcast might be of general interest, not only for debugging and not only for obscure scenarios.

Two things I could think of: A scenario where people might use a higher multicast rate, where maybe a slightly higher rebroadcast number might become necessary. Or for wifi longshots, which could have a very changing, whether dependant link quality (while generalizing a dynamic number of broadcast isn't that easy, it's very easy to write a script to check the current link-quality (or even the local whether station :) ) towards the target which adjusts the number of rebroadcasts from this upper level.)

What do the others think? Or are such scenarios still too obscure to justify the addition of such a sysctl parameters? Has anyone on this ML maybe had a setup where s/he thought such a sysctl parameter could be useful?

Cheers, Linus

>
> Cheers,
> Marek
>

      parent reply	other threads:[~2013-03-09 21:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-08 17:38 [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: Make number of (re)broadcasts configurable via sysfs Linus Lüssing
2013-03-08 17:38 ` [B.A.T.M.A.N.] [PATCH 2/2] batman-adv: make number of broadcasts configurable per hardif Linus Lüssing
2013-03-08 19:28   ` Marek Lindner
2013-03-08 19:42     ` Matthias Schiffer
2013-03-08 20:06       ` Marek Lindner
2013-03-08 21:50         ` Matthias Schiffer
2013-03-09 10:07           ` Marek Lindner
2013-03-09 21:03     ` "Linus Lüssing" [this message]

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=trinity-27069899-f60c-4931-9e7b-7b5c426148dc-1362863034733@3capp-webde-bs30 \
    --to=linus.luessing@web.de \
    --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).