public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: gtolon@inti.gob.ar
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] Traffic Control in batman-adv
Date: Thu, 26 Apr 2012 09:58:41 -0300	[thread overview]
Message-ID: <4F994681.9040300@inti.gob.ar> (raw)
In-Reply-To: <27822870.WoBxtuRSLo@sven-laptop.home.narfation.org>

Hi Sven, thanks for replying.

El 25/04/2012 05:51 p.m., Sven Eckelmann escribió:
> On Wednesday 25 April 2012 17:27:03 gtolon@inti.gob.ar wrote:
>> Hi,
> First thing: Don't reply to random messages when you actually want to start a
> new topic.

Ok.

>> We are doing some tests with Traffic Control (tc) in routers with
>> Openwrt running batman-adv, want to be able to share the bandwidth with
>> some degree of fairness between users, so we think that SFQ could help,
>> differentiating the flows depending on ip addresses and ports.
>>
>> The problem is that when adding the SFQ qdisc to the wireless interface
>> managed by batman it doesn't work as expected. We tested the SFQ in
>> other configurations and it worked fine, in full queues, the dropped
>> packets affected the big flows, allowing the others to pass, but in the
>> interface managed by batman-adv when packets are dropped, the result
>> affects all flows almost equally. We thought this could be related with
>> the bridge we use to connect the batman with the non-batman interfaces,
>> but in a wireless Acces Point bridged to bat0 it also worked fine. Maybe
>> it's related with the way bat0 works with it's managed interface? We'd
>> appreciate any advices. Thanks in advance!
> Why do you add the sfq qdisc to the wireless device instead to the bat0
> device? It doesn't really makes sense to me.
I also tryed with bat0, but the packets continued to dropp on the 
wireless device, not in bat0, so i thought that the qdisc of bat0 was 
not being used. Anyway, i'll try again.


> Also your statement about "batman-adv bridged with non-batman-adv" doesn't
> work, but "batman-adv bridged with non-batman-adv interface" works statement
> is slightly irritating. Please explain it a little bit more verbose to help us
> understand what is the difference.
Sorry for the bad explanation,what i wanted to say is:

We have a bridge with bat0, eth0 and wlan0 attached. wlan0 is in ap 
mode. There's another wireless interface, wlan0-1 in ad-hoc mode, 
managed by bat0. When SFQ qdisc is applied to wlan0, it works as 
expected. When it's aplied to wlan0-1, it doesn't. In both cases there's 
a bridge involved, that´s what i was trying to point. I hope now it's 
more clear.

Best regards

Gabriel

  reply	other threads:[~2012-04-26 12:58 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-25 13:26 [B.A.T.M.A.N.] pull request: batman-adv 2012-04-25 Antonio Quartulli
2012-04-25 13:26 ` [B.A.T.M.A.N.] [PATCH 01/15] batman-adv: add UNICAST_4ADDR packet type Antonio Quartulli
2012-04-25 13:26 ` [B.A.T.M.A.N.] [PATCH 02/15] batman-adv: add a new log level for DAT debugging Antonio Quartulli
2012-04-25 13:26 ` [B.A.T.M.A.N.] [PATCH 03/15] batman-adv: add biggest_unsigned_int(x) macro Antonio Quartulli
2012-04-25 14:14   ` David Laight
2012-04-25 14:57     ` David Laight
2012-04-25 18:09       ` David Miller
2012-04-25 20:27         ` [B.A.T.M.A.N.] Traffic Control in batman-adv gtolon
2012-04-25 20:51           ` Sven Eckelmann
2012-04-26 12:58             ` gtolon [this message]
2012-04-26 14:49               ` 3zl Trizonelabs
2012-04-26 15:26                 ` Marek Lindner
2012-04-26 16:04                   ` 3zl Trizonelabs
2012-04-27 18:18                     ` gtolon
2012-04-27 21:20                       ` Guido Iribarren
2012-04-27 22:34                         ` 3zl Trizonelabs
2012-05-03 15:36                           ` gtolon
2012-04-27 12:51         ` [B.A.T.M.A.N.] [PATCH 03/15] batman-adv: add biggest_unsigned_int(x) macro Antonio Quartulli
2012-04-25 13:27 ` [B.A.T.M.A.N.] [PATCH 04/15] batman-adv: Distributed ARP Table - create DHT helper functions Antonio Quartulli
2012-04-25 13:27 ` [B.A.T.M.A.N.] [PATCH 05/15] batman-adv: Distributed ARP Table - add ARP parsing functions Antonio Quartulli
2012-04-25 13:27 ` [B.A.T.M.A.N.] [PATCH 06/15] batman-adv: Distributed ARP Table - add snooping functions for ARP messages Antonio Quartulli
2012-04-25 13:27 ` [B.A.T.M.A.N.] [PATCH 07/15] batman-adv: Distributed ARP Table - increase default soft_iface ARP table timeout Antonio Quartulli
2012-04-25 13:27 ` [B.A.T.M.A.N.] [PATCH 08/15] batman-adv: Distributed ARP Table - add compile option Antonio Quartulli
2012-04-25 13:27 ` [B.A.T.M.A.N.] [PATCH 09/15] batman-adv: fix wrong dhcp option list browsing Antonio Quartulli
2012-04-25 13:27 ` [B.A.T.M.A.N.] [PATCH 10/15] batman-adv: introduce is_single_hop_neigh variable to increase readability Antonio Quartulli
2012-04-25 13:27 ` [B.A.T.M.A.N.] [PATCH 11/15] batman-adv: introduce packet type handler array for incoming packets Antonio Quartulli
2012-04-25 13:27 ` [B.A.T.M.A.N.] [PATCH 12/15] batman-adv: register batman ogm receive function during protocol init Antonio Quartulli
2012-04-25 13:27 ` [B.A.T.M.A.N.] [PATCH 13/15] batman-adv: rename last_valid to last_seen Antonio Quartulli
2012-04-25 13:27 ` [B.A.T.M.A.N.] [PATCH 14/15] batman-adv: replace HZ calculations with jiffies_to_msecs() Antonio Quartulli
2012-04-25 13:27 ` [B.A.T.M.A.N.] [PATCH 15/15] batman-adv: split neigh_new function into generic and batman iv specific parts Antonio Quartulli

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=4F994681.9040300@inti.gob.ar \
    --to=gtolon@inti.gob.ar \
    --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