From: Sven Eckelmann <sven@narfation.org>
To: Ligang LIU <heishuihe2008@163.com>
Cc: The list for a Better Approach To Mobile Ad-hoc Networking
<b.a.t.m.a.n@lists.open-mesh.org>,
a@unstable.cc, mareklindner@neomailbox.ch
Subject: Re: [B.A.T.M.A.N.] Recent test result. Re:Re: Paper "Performance Evaluation of BATMAN-adv Wireless Mesh Network Routing Algorithms "
Date: Fri, 31 Aug 2018 12:30:00 +0200 [thread overview]
Message-ID: <3991773.ZLWj8GO7DM@bentobox> (raw)
In-Reply-To: <733b64f0.dcd9.1658f661fb2.Coremail.heishuihe2008@163.com>
[-- Attachment #1: Type: text/plain, Size: 2601 bytes --]
On Freitag, 31. August 2018 17:52:39 CEST Ligang LIU wrote:
> 1. many unicast packets, with length of 200 bytes. I guess it's ELP unicast.
> 2. some batman-adv broadcast packets of 56 bytes length. I guess it's OGM2?
> 3. several batman-adv broadcast packets of 16 bytes length. It's ???
First two are correct and the the 16 bytes one is the broadcast ELP. I
personally have no idea at the moment why the requested padding [0] was not
implemented.
Especially because this frame will now be dropped over some interfaces. We
already saw this in the past with fragmented frames [1]. You can increase the
size in batadv_v_elp_iface_enable by adding the number x to the alloc and the
skb_put. For example 44 to get to the minimum ethernet frame size:
hard_iface->bat_v.elp_skb = dev_alloc_skb(size + 44);
...
elp_buff = skb_put_zero(hard_iface->bat_v.elp_skb, BATADV_ELP_HLEN + 44);
> 3. many rts/cts/ack packets.
Is it possible that RTS, CTS + unicast retries take most of the airtime in
your setup?
> I noticed 2 macro definitons.
> #define BATADV_ELP_PROBES_PER_NODE 2
> #define BATADV_ELP_MIN_PROBE_SIZE 200 /* bytes */
> I wonder why it sends 2 prob ELP packets to each neighbour.
> Can I change the value of BATADV_ELP_PROBES_PER_NODE from 2 to 1?
> And can I decrease ELP prob packet size from 200 to 100, in order to decrase the ELP airtime?
@Antonio, @Marek: Maybe you can explain it better than me.
I would guess that Antonio wanted to make sure that the rate control algorithm
of the driver probes enough and thus provides a more realistic expected
throughput.
But I would guess that the size doesn't matter much. It is more likely that
all the stuff around the actual data frame (rts, cts, IFS, ...) takes more
airtime.
And you can just use elp_interval [2] to reduce the number of times broadcast
and unicast ELP frames are transmitted. But yes, reducing the number of probes
per node might also be interesting. There is also BATADV_ELP_PROBE_MAX_TX_DIFF
to reduce the time even further - but according to a comment [3], this may
make problems with minstrel. But I am not really sure about that because the
default elp_interval (500ms) is also already larger than 100ms.
Kind regards,
Sven
[0] https://www.open-mesh.org/projects/batman-adv/wiki/ELP#section-9
[1] https://git.open-mesh.org/batman-adv.git/commit/11a0c90b439190fd6a104caac5d4ef09e1f65a96
[2] https://www.open-mesh.org/projects/batman-adv/wiki/Tweaking#ELP-interval
[3] https://git.open-mesh.org/batman-adv.git/blob/89dcbd5f2373b955fc8eabb909f6188ae33110b7:/net/batman-adv/bat_v_elp.c#l218
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2018-08-31 10:30 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-04 11:38 [B.A.T.M.A.N.] Paper "Performance Evaluation of BATMAN-adv Wireless Mesh Network Routing Algorithms " Sven Eckelmann
2018-08-04 14:39 ` jmh8
2018-08-04 15:34 ` Sven Eckelmann
2018-08-11 6:47 ` jmh8
[not found] ` <2018081310240755548768@mail.sim.ac.cn>
2018-08-13 7:40 ` Sven Eckelmann
2018-08-30 7:50 ` [B.A.T.M.A.N.] Recent test result. " Ligang LIU
2018-08-30 8:17 ` Sven Eckelmann
2018-08-30 8:55 ` Ligang LIU
2018-08-30 9:06 ` Sven Eckelmann
2018-08-31 9:52 ` Ligang LIU
2018-08-31 10:30 ` Sven Eckelmann [this message]
2018-08-31 10:41 ` Sven Eckelmann
2018-08-31 12:16 ` Marek Lindner
2018-09-01 9:33 ` Antonio Quartulli
2018-09-01 9:08 ` Sven Eckelmann
2018-09-03 4:03 ` [B.A.T.M.A.N.] mcast_rate setting of wifi interface has significant effect to performance of V. " Ligang LIU
2018-09-03 6:25 ` Sven Eckelmann
[not found] ` <aa797db.cdf1.165a3d64b19.Coremail.heishuihe2008@163.com>
2018-09-04 10:34 ` Sven Eckelmann
2018-09-05 17:40 ` Sven Eckelmann
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=3991773.ZLWj8GO7DM@bentobox \
--to=sven@narfation.org \
--cc=a@unstable.cc \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
--cc=heishuihe2008@163.com \
--cc=mareklindner@neomailbox.ch \
/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