Re: [B.A.T.M.A.N.] Traffic Control in batman-adv

Sven Eckelmann
2012-04-25T20:51:42Z

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

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.

> 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.

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.

Kind regards,
Sven

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]