Re: [B.A.T.M.A.N.] [PATCH v2 6/7] batman-adv: ELP - use tp meter to estimate the throughput if otherwise not available

Sven Eckelmann
2018-05-21T16:36:50Z

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

On Freitag, 18. Mai 2018 03:47:53 CEST Marek Lindner wrote:
> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
> ---
> net/batman-adv/bat_v_elp.c | 63 ++++++++++++++++++++++++++++++++++++--
> net/batman-adv/bat_v_elp.h | 21 +++++++++++++
> net/batman-adv/main.h | 1 +
> net/batman-adv/tp_meter.c | 37 +++++++++++++++++-----
> net/batman-adv/types.h | 14 +++++++++
> 5 files changed, 126 insertions(+), 10 deletions(-)

This seems to create weird (as in incorrect) looking results. Here the ones
from Matthias Fritzsche:

[2018-05-21 18:19:41] <txt-file> ordexm, marec, ecsv_: Now I have one router and the its neighbour with batman_V with tp-meter. https://paste.debian.net/1025691/
[2018-05-21 18:24:28] <txt-file> ah … now "batctl n" shows a tp of 16064.1
[2018-05-21 18:29:07] <ecsv_> uhm, isn't this rather... high
[2018-05-21 18:29:53] <txt-file> ecsv_: I think so. This node has an upload of 4 MBit/s
[2018-05-21 18:30:34] <txt-file> now (6 minutes later) tq=2.2
[2018-05-21 18:30:48] <txt-file> which sounds much more realistic.

The setup is using an gluon based router (TP-Link TL-WDR3600 v1) [1] which
uses a vpn connection (fastd) to a server
(descartes.routers.chemnitz.freifunk.net) in the internet. The automatic
throughput test runs between these two devices.

Kind regards,
Sven

[1] https://meshviewer.chemnitz.freifunk.net/#!v:m;n:c04a00e44be0

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