b.a.t.m.a.n.lists.open-mesh.org archive mirror
 help / color / mirror / Atom feed
From: Ignacio Quezada <dreamtrick@gmail.com>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] is the multicast performance throttled?
Date: Fri, 12 Aug 2016 09:50:56 +0200	[thread overview]
Message-ID: <1470988256.16102.4.camel@gmail.com> (raw)
In-Reply-To: <20160811163153.GK4483@otheros>


-- 

MVH
Ignacio Quezada

On tor, 2016-08-11 at 18:31 +0200, Linus Lüssing wrote:
> On Thu, Aug 11, 2016 at 06:09:34PM +0200, Ignacio Quezada wrote:
> > 
> > Hi Linus,
> > 
> > On tor, 2016-08-11 at 17:47 +0200, Linus Lüssing wrote:
> > > 
> > > Hi Ignacio,
> > > 
> > > Could you describe your setup a little more, just two devices?
> > > What hardware are you using, which wifi cards? Which operating
> > > system and version?
> > > 
> > > Which version of batman-adv are you using? What is your kernel
> > > version?
> > 
> > The test environment is 2 android phones with Android 5.1 running
> > kernel 3.4 where I backported batman 2016.2, same wifi chip (same
> > soc)
> > BCM4339.
> 
> Note sure how usable IBSS on Android is. Last time I heard someone
> talking about it, it was supposedly unusable. But maybe someone
> else has some more current information :-).
> 
After some tweaking, it works good enough.
> > 
> > 
> > > 
> > > What is a typical bitrate your wifi cards are agreeing on (iw
> > > station dump)? What multicast rate have you configured for your
> > > wifi cards?
> > 
> > Sadly, the support of iw for these kind of chipsets is very limited
> > and
> > iw dev wlan0 station dump returns nothing. I don't know how to get
> > you
> > that information.
> 
> And the multicast rate is still left at the 1MBit/s default?
> Unfortunately, usually multicast packets are sent at the lowest
> rate available as there are no wifi ACKs. To maximize the probability
> of
> reception. There are some tweaks in OpenWRT though.
> 
> Also, often people change the bitrate from 1MBit/s to more like
> 12MBit/s or even above. That gives more free airtime and enhances the
> batman-adv estimations (BATMAN IV).
> 
Do you mean that with 1MBit/s for multicast, batman protocol needs
80kb/s to set up the connections? 1MBit/s for my application is more
than enough. 
> > 
> > 
> > > 
> > > What software are you using for testing? What is the bitrate you
> > > have configured in there? Is the unicast test UDP as well? What
> > > bitrates are you able to achieve via TCP? Does a lower payload
> > > length make any difference?
> > > 
> > 
> > The software used is a java program with 1 socket each where one
> > sends
> > and the other receives. The unicast is UDP as well, yes. I haven't
> > tried with TCP but I can do it if it is necessary, my application
> > only
> > relies on UDP.
> 
> UDP has no flow control. That's why I was asking about the bitrate
> you have configured in the application. Sending with "as fast as
> possible" will basically jam your (and your neighbors) wifi. And
> will create trouble for batman-adv to find usable routes too
> without any airtime available.
> 
> Regards, Linus

What I don't understand is that you are explaining standard behavior of
WiFi networks, but using plain WiFi without batman works ok and the
multicast goes up to 100kb/s (I think I wrote that in my first email). 
The tests have been like this so far:
- wlan0 (no batman),  multicast: 100kb/s
- wlan0 (no batman),  unicast: 100kb/s
- bat0,  unicast: 100kb/s
- bat0,  multicast: 20kb/s


PS: Emails from the Gmail Android App get rejected by the mailinglist,
I guess it is because of the HTML format? I wasn't able to disable it,
back at the desktop.

MVH 
Ignacio Quezada

  reply	other threads:[~2016-08-12  7:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-11 15:13 [B.A.T.M.A.N.] is the multicast performance throttled? Ignacio Quezada
2016-08-11 15:47 ` Linus Lüssing
2016-08-11 16:09   ` Ignacio Quezada
2016-08-11 16:31     ` Linus Lüssing
2016-08-12  7:50       ` Ignacio Quezada [this message]
2016-08-14 17:21         ` Linus Lüssing
2016-08-14 17:28           ` Linus Lüssing
2016-08-15 18:03             ` Ignacio Quezada

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=1470988256.16102.4.camel@gmail.com \
    --to=dreamtrick@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).