public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Simon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
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.] B.A.T.M.A.N.-Advanced Multicast Optimizations
Date: Thu, 9 Dec 2010 22:02:52 +0100	[thread overview]
Message-ID: <20101209210251.GA4592@pandem0nium> (raw)
In-Reply-To: <20101208072915.GA8875@lunn.ch>

[-- Attachment #1: Type: text/plain, Size: 2513 bytes --]

Hey Andrew, 

thank you for your comments and the review!

On Wed, Dec 08, 2010 at 08:29:15AM +0100, Andrew Lunn wrote:
> 
> [...]
> 
> Do you think you could do a search/replace with "multicast MAC
> address"?

You've got a point, we can change that.

> [...] 
>
> Is this symmetric assumption a problem? Depends one the use case. Your
> PIM gateway into the multicast cloud should be a member of the
> group. It has to receive the packets from the local hosts, so it can
> forward them upstream to the RP, the root of the distribution tree. So
> your traffic coming from upstream should be O.K. However if you have a
> webcam which is multicasting a video stream, it might not be a member
> of the group, since it is not interesting in receiving video streams,
> just sending them. So in this use case you won't have any benefit from
> your scheme.
> 
> The symmetric assumption is a nice simplification to get started, but
> i think you need to have a good plan for allowing none members to send
> multicast traffic.

Yup, we had a "symmetric" application in mind when designing
this algorithm, but we have discussed ideas to improve the algorithm to
a more general scheme. For example we could detect if a multicast MAC
address is sent to through the soft interface, and then start
sending tracker packets accordingly - this method might need some tuning
however, the build up might take some time, and maybe we should avoid 
building it up for single packets.

Detecting non-local receivers (like SNMP snooping) appears to be the
harder task IMHO to become more general - you will most likely not receive 
your webcam stream with your WiFi AP. :)

> 
> Have you considered handing broadcast packets as multicast packets?
> Broadcast is just a special case of multicast.

That is right, but I don't think this is a good idea to use this multicast
approach for broadcast in this case. From a theoretical point of view, 
this algorithm is a group aware one for "sparse" mesh networks, where the number of 
group members is quite small (< 50% of all mesh nodes). If all nodes were 
in a group (as it would be the case for broadcast), the overhead of the 
tracker packets would most likely nullify any gain. Non-group-aware algorithm 
like MPR and its variations [1] are probably more suited for this case. But
maybe someone will find a clever workaround. ;)

best regards,
	Simon

[1] http://tools.ietf.org/html/draft-ietf-manet-smf-10 Appendices A to C

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

      reply	other threads:[~2010-12-09 21:02 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-07 22:13 [B.A.T.M.A.N.] B.A.T.M.A.N.-Advanced Multicast Optimizations Linus Lüssing
2010-12-07 22:32 ` [B.A.T.M.A.N.] [PATCH 01/20] batman-adv: Add packet structures for multicast optimizations Linus Lüssing
2010-12-08  8:18   ` Andrew Lunn
2010-12-07 22:32 ` [B.A.T.M.A.N.] [PATCH 02/20] batman-adv: Adding configurable variables " Linus Lüssing
2010-12-07 22:32 ` [B.A.T.M.A.N.] [PATCH 03/20] batman-adv: compat macros/defines for local multicast group fetching Linus Lüssing
2010-12-07 22:32 ` [B.A.T.M.A.N.] [PATCH 04/20] batman-adv: Attach local MCAs to OGMs Linus Lüssing
2010-12-07 22:32 ` [B.A.T.M.A.N.] [PATCH 05/20] batman-adv: Add periodic multicast tracker timer Linus Lüssing
2010-12-07 22:32 ` [B.A.T.M.A.N.] [PATCH 06/20] batman-adv: Buffer other originator's received MCA entries Linus Lüssing
2010-12-07 22:32 ` [B.A.T.M.A.N.] [PATCH 07/20] batman-adv: Prepare and send own multicast tracker packets Linus Lüssing
2010-12-08  9:06   ` Andrew Lunn
2010-12-07 22:32 ` [B.A.T.M.A.N.] [PATCH 08/20] batman-adv: Add length check for (received) " Linus Lüssing
2010-12-07 22:32 ` [B.A.T.M.A.N.] [PATCH 09/20] batman-adv: Route multicast " Linus Lüssing
2010-12-07 22:32 ` [B.A.T.M.A.N.] [PATCH 10/20] batman-adv: Add/refresh entries to/in mcast forwarding table Linus Lüssing
2010-12-07 22:32 ` [B.A.T.M.A.N.] [PATCH 11/20] batman-adv: Output mcast forw table in debugfs Linus Lüssing
2010-12-07 22:32 ` [B.A.T.M.A.N.] [PATCH 12/20] batman-adv: Purge timeouted entries in mcast forw table Linus Lüssing
2010-12-08 18:08   ` Andrew Lunn
2010-12-07 22:32 ` [B.A.T.M.A.N.] [PATCH 13/20] batman-adv: Send own BAT_MCAST packets in proact_tracking multicast mode Linus Lüssing
2010-12-08 18:12   ` Andrew Lunn
2010-12-07 22:32 ` [B.A.T.M.A.N.] [PATCH 14/20] batman-adv: Export broadcast packet ethernet header checks Linus Lüssing
2010-12-07 22:32 ` [B.A.T.M.A.N.] [PATCH 15/20] batman-adv: Receive multicast data packets BAT_MCAST Linus Lüssing
2010-12-07 22:32 ` [B.A.T.M.A.N.] [PATCH 16/20] batman-adv: Forward multicast data in proact_tracking mode Linus Lüssing
2010-12-07 22:32 ` [B.A.T.M.A.N.] [PATCH 17/20] batman-adv: Add duplicate checks for multicast data Linus Lüssing
2010-12-07 22:32 ` [B.A.T.M.A.N.] [PATCH 18/20] batman-adv: Still flood multicast packets we are not a receiver of Linus Lüssing
2010-12-10 13:07   ` Andrew Lunn
2010-12-07 22:32 ` [B.A.T.M.A.N.] [PATCH 19/20] batman-adv: Make number of (re)broadcasts configurable via sysfs Linus Lüssing
2010-12-07 22:32 ` [B.A.T.M.A.N.] [PATCH 20/20] batman-adv: Do not disable irqs for spinlocks in multicast specific code Linus Lüssing
2010-12-08  7:29 ` [B.A.T.M.A.N.] B.A.T.M.A.N.-Advanced Multicast Optimizations Andrew Lunn
2010-12-09 21:02   ` Simon Wunderlich [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=20101209210251.GA4592@pandem0nium \
    --to=simon.wunderlich@s2003.tu-chemnitz.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