public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Antonio Quartulli <ordex@autistici.org>
To: "Gabriel Tolón" <gtolon@inti.gob.ar>
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.] batctl bw performance
Date: Tue, 4 Jun 2013 07:13:26 +0200	[thread overview]
Message-ID: <20130604051326.GJ1226@ritirata.org> (raw)
In-Reply-To: <51AD0277.1060907@inti.gob.ar>

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

On Mon, Jun 03, 2013 at 05:54:15PM -0300, Gabriel Tolón wrote:
> Hi Antonio,
> 
> 
> El 03/06/13 13:08, Antonio Quartulli escribió:
> > Hello Gabriel,
> >
> > first of all thank you very much for testing the bw meter :-)
> > answers follow inline.
> 
> You're welcome, I think it's an interesting idea.
> 
> >
> > On Mon, Jun 03, 2013 at 12:57:24PM -0300, Gabriel Tolón wrote:
> >>     Hi Antonio,
> >>
> >>     As you suggested, I've tested the bandwidth meter with batman-adv-devel
> >>     38a1b72. I've installed it on two TP-Link WDR-3500 routers.
> >>
> >
> > oky. However, since the bw_meter has not been merged yet, its branch changes
> > from time to time because it gets rebased on top of the very latest development
> > code. Therefore, when you decide to update your testbed, I'd suggest you to look
> > at: http://git.open-mesh.org/batman-adv.git/shortlog/refs/heads/ordex/bw_meter
> > and pick the commit ID of the last patch at the top.
> >
> > If you have problems in doing this, please ask.
> 
> I don't understand what commit ids should I use. For example, how could 
> I find the ones you suggested me before for batman (38a1b72b6) and for 
> batctl (eebba0bfb). Because on the top of the git I see for example the 
> commit d672369c3476f002662fa7e83b76ee56a93a76db for "batman-adv: set 
> maximum number of BW session", which seems in a different format, right?

Right. Becuase it changes everytime the tree is rebased. Now you won't fin that
commit ID anymore. Now you should use the _new_ commit ID of:
"batman-adv: set maximum number of BW session"
(it is not important to change everytime it changes on the git, but in case of
troubles, it may be a good idea to use the current one to see if the problems
are still there).

> 
> >
> >>     Running normal iperf inside the routers, and without unloading any kernel
> >>     module, I get 60 Mbps using UDP, 80 Mbps using TCP (I don't understand why
> >>     TCP works better), and about 4 Mbps with batctl bw -t 10000. Any ideas? By
> >>     the way, the batctl ping between routers doesn't  work, I get time-out.
> >>     Besides, there's another strange behaviour, when I try to pass traffic
> >>     from a PC client connected to one router, to the other router using iperf,
> >>     if I use UDP values of about 100 Mbps, the router that receives the
> >>     traffic and redirects it, reboots. Thanks.
> >>
> >
> > Ok..well, first of all I'd rather check what is wrong in the mesh. If batctl
> > ping does not work, then it means that there is something else which is not
> > working/configured properly.
> 
> Yes, it's weird, specially because there's connectivity between routers 
> thanks to batman-adv.
> 
> >
> > For this reason I'll first suggest you to update to this commit id: d672369 .
> > Then, does "batctl o" properly shows the other node with a "reasonable TQ"?
> 
> So, in menuconfig I should select that id for batman-adv-devel right? I 
> wanted to see that  commit on the git page using the search field but I 
> couldn't. By the way, how to know which batctl version use with each 
> batman-adv-devel commit? Sorry if all these questions are too basic, but 
> I've tried to compile with this d672369 version and I got some errors, 
> so I'd like to understand if it was related to these things.

no problems. These are not basic questions :) Actually the user usually do not
enter these dev details and therefore it is normal to find issues.

For batctl, you should use the last commit ID in this branch (ordex/bw_meter)
http://git.open-mesh.org/batctl.git/shortlog/refs/heads/ordex/bw_meter

> 
> >
> >
> > By the way, your iperf tests have been done on top of batman-adv? or directly on
> > the wifi interface?
> >
> > Cheers,
> >
> 
> I got the results mentioned using interfaces managed by batman-adv.

mh...maybe the pign is not working because of some changes brought by the
bw_meter in the icmp packets. I'll check and I'll let you know.

Cheers,

-- 
Antonio Quartulli

..each of us alone is worth nothing..
Ernesto "Che" Guevara

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

  reply	other threads:[~2013-06-04  5:13 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <51A3C7E9.7080208@inti.gob.ar>
     [not found] ` <20130528070057.GC3333@ritirata.org>
     [not found]   ` <51ACBCE4.8000506@inti.gob.ar>
2013-06-03 16:08     ` [B.A.T.M.A.N.] batctl bw performance Antonio Quartulli
2013-06-03 20:54       ` Gabriel Tolón
2013-06-04  5:13         ` Antonio Quartulli [this message]
2013-06-04  5:38           ` Antonio Quartulli
2013-06-05 15:17             ` Gabriel Tolón
2013-06-05 15:27               ` Gabriel Tolón
2013-06-06  5:51                 ` Antonio Quartulli
2013-06-06 18:19                   ` Gabriel Tolón
2013-06-06 18:29                     ` Antonio Quartulli
2013-06-06 19:04                       ` Gabriel Tolón
2013-06-06 19:18                         ` Antonio Quartulli
2013-06-07 13:49                           ` Gabriel Tolón
2013-06-07 13:57                             ` Antonio Quartulli
2013-06-07 14:38                               ` Gabriel Tolón
2013-06-07 14:40                                 ` Antonio Quartulli
2013-06-07 17:13                                   ` Gabriel Tolón
2013-06-07 17:27                                     ` Antonio Quartulli
2013-06-07 18:39                                       ` Antonio Quartulli
2013-06-07 18:57                                       ` Gabriel Tolón
2013-06-08 12:29                                         ` Antonio Quartulli
2013-06-08 20:20                                           ` Antonio Quartulli
2013-06-09  0:26                                           ` NicoEchániz
2013-06-10 13:12                                           ` Gabriel Tolón

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=20130604051326.GJ1226@ritirata.org \
    --to=ordex@autistici.org \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    --cc=gtolon@inti.gob.ar \
    /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