From: Marek Lindner <marek.lindner@mailbox.org>
To: "Linus Lüssing" <linus.luessing@c0d3.blue>,
b.a.t.m.a.n@lists.open-mesh.org,
"René Treffer" <treffer@measite.de>
Cc: Andrew Strohman <andrew@andrewstrohman.com>
Subject: Re: [PATCH RFC] batman-adv: BATMAN V: use/prefer 11s airtime link metric
Date: Sat, 18 Jan 2025 05:59:56 +0100 [thread overview]
Message-ID: <6131569.pqZb4hCDXM@rousseau> (raw)
In-Reply-To: <CAA8ajJnqXBuUmBzAHVjyEchD2CU9E7SmqJXXvy0V7QAQF9536A@mail.gmail.com>
On Saturday, 18 January 2025 03:00:07 CET Andrew Strohman wrote:
> The second problem I have, seems to be that sta_get_expected_throughput()
> returns a bandwidth which is an over-estimate. For example, it
> estimates 150Mb/s. But really, I'm only getting 25Mb/s, or less on the
> link. I *think*
> the expected bandwidth delivered by minstrel is not considering the
> fact that the
> radio cannot tx as often as it would like due to contention. The return
> value seems to reflect that fact that we tx to the sta at a high rate,
> but doesn't reflect the fact that it's hard to get an opportunity to tx.
It is important to point out that batman-adv is not trying to get an
'accurate' knowledge of the throughput. The throughput metric is an estimate
and the important aspect is that the method of estimating the throughput is
consistent across all radios on the same AP. This is necessary to make the
estimated throughput values comparable. At the end of the day, the routing
algorithm has to make an informed decision about which route is better, not
getting the most accurate throughput measurement.
Please also keep in mind that the accuracy of any 'measured' throughput value
over WiFi is temporary (in real world setups). If you measured 5 minutes later
you might get a different throughput value due to interference, traffic from
other mesh participants, the weather, etc.
FYI, expected throughput and also 802.11 throughput estimation are taking
congestion into account. If you believe this isn't sufficient to get an accurate
read of the situation, can you please expand on your findings? Note that the
data rate fallback (tx rate / 3) is the exception to this rule.
> HWMP doesn't need to consider this, because it only supports one radio.
Where do you see the difference to expected throughput? Expected throughput and
data rate also is per radio and neighbor.
> I found that adding a 2.4ghz radio to my bat interface has caused
> instability and poor performance compared to just running batman with the
> 5ghz radio only.
With batman-adv throughput metric the 5GHz radio should be preferred due to
the higher throughput of the radio. Can you please share details about your
setup and highlight why you believe 2.4GHz is chosen over 5GHz.
Cheers,
Marek
next prev parent reply other threads:[~2025-01-18 8:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-18 0:35 [PATCH RFC] batman-adv: BATMAN V: use/prefer 11s airtime link metric Linus Lüssing
2025-01-18 2:00 ` Andrew Strohman
2025-01-18 4:59 ` Marek Lindner [this message]
2025-01-19 3:20 ` Andrew Strohman
2025-01-19 3:48 ` Marek Lindner
2025-01-19 4:28 ` Linus Lüssing
2025-01-19 5:05 ` Linus Lüssing
2025-01-19 5:15 ` Linus Lüssing
2025-01-18 5:08 ` Marek Lindner
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=6131569.pqZb4hCDXM@rousseau \
--to=marek.lindner@mailbox.org \
--cc=andrew@andrewstrohman.com \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
--cc=linus.luessing@c0d3.blue \
--cc=treffer@measite.de \
/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