From: Marek Lindner <marek.lindner@mailbox.org>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: "Linus Lüssing" <linus.luessing@c0d3.blue>,
b.a.t.m.a.n@lists.open-mesh.org,
"René Treffer" <treffer@measite.de>,
"Andrew Strohman" <andrew@andrewstrohman.com>
Subject: Re: [PATCH RFC] batman-adv: BATMAN V: use/prefer 11s airtime link metric
Date: Sun, 19 Jan 2025 04:48:09 +0100 [thread overview]
Message-ID: <6101869.CFs8Y8CuNP@rousseau> (raw)
In-Reply-To: <CAA8ajJnwrAidkea_tVDvRxJy6T_bJ9VQDKq2FW4SSdJfZxYKqQ@mail.gmail.com>
On Sunday, 19 January 2025 04:20:46 CET Andrew Strohman wrote:
> In my case, my 2.4ghz radio driver uses minstrel for rate control,
> so throughput estimates are derived using sta_get_expected_throughput().
> For me, this estimation is chronically an over estimate. The 5ghz radio
> does rate control in hardware, so we cannot use the
> sta_get_expected_throughput() method for it.
>
. [..]
> I'm suggesting that we make an effort to make the throughput
> calculation method consistent across radios.
That's certainly an interesting observation but seems irrelevant to the patch
proposal you are responding to. Feel free to propose a code change that aims
to unify the chosen metric source across all radios on the same AP. With the
current implementation, this is left to the administrator.
> After this patch, it means that the throughput estimation for 5ghz
> stas/neighbors in my network will be derived by examining an exponentially
> weighted average of tx rate with consideration of tx failures.
After this patch, the 11s throughput estimation is available as a metric
source. That's all. The patch does not even attempt to address your concern.
> If this new fallback method results in in more similar results to
> sta_get_expected_throughput(), then my problem will be lessened, possibly to
> the point of my network preferring 5ghz (as should be done).
Even if the 11s metric source accidentally provides a similar metric in your
test setup, there is no guarantee it always will. Again, your are conflating
your desired outcome with a random patch which isn't trying to do what you
want it to do.
> OK, thanks. If you're confident that sta_get_expected_throughput()
> returns a result that reflects the recent or likely external contention on
> the operating frequency, that's good to know.
Feel free to read up on how minstrel arrives at the expected throughput.
> Like I noted in my original message, I was seeing the estimated throughput
> as 150Mb/s for the sta_get_expected_throughput() method, while really
> only able to tx at ~25Mb/s.
Am I right assuming this '~25Mb/s' was measured using iperf or some other
speed test? The numbers minstrel provides are in a completely different ball
park and can not be compared to WiFi throughput numbers. You are also not
taking into account what I have already explained why getting 'accurate'
throughput numbers is meaningless.
> I'll now be debugging under the assumption that something else causes
> overestimation in my case.
You are still stuck on over / under estimation. In this email alone you are
mentioning it 6 times. Whether there is over or under estimation is
irrelevant. Consistency is relevant.
Cheers,
Marek
next prev parent reply other threads:[~2025-01-19 3:48 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
2025-01-19 3:20 ` Andrew Strohman
2025-01-19 3:48 ` Marek Lindner [this message]
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=6101869.CFs8Y8CuNP@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.