Lets make wifi fast again!
 help / color / mirror / Atom feed
From: "Toke Høiland-Jørgensen" <toke@redhat.com>
To: Miguel Catalan Cid <miguel.catalan@i2cat.net>,
	make-wifi-fast@lists.bufferbloat.net,
	linux-wireless@vger.kernel.org
Subject: Re: [Make-wifi-fast] Support for airtime scheduling using ath10k
Date: Tue, 23 Jun 2020 11:35:29 +0200	[thread overview]
Message-ID: <87zh8uruou.fsf@toke.dk> (raw)
In-Reply-To: <CAMHmoovK_m=Yd4uUPhsdHZ588+d1DF-fyS+uGKdRWvd33Q2u+A@mail.gmail.com>

Miguel Catalan Cid <miguel.catalan@i2cat.net> writes:

> Hi,
>
> we are trying to apply different airtime weights to different stations in
> order to have some prioritization among connected stations. While this is
> working pretty well with ath9k, with ath10k we always obtain a fair
> distribution of the airtime (i.e. 50%-50% in the case of two stations),
> regardless of the airtime weight specified.
>
> E.g. STA1:
> RX: 0 us
> TX: 2295610622 us
>
> *Weight: 200*Deficit: VO: 256 us VI: 256 us BE: 34 us BK: 256 us
>
> E.g. STA2:
> RX: 0 us
> TX: 162597077 us

2295610622/162597077 ~= 14

which is not *too* far from the 20/1 ratio you've configured? Does the
ratio change at all when you change the weights (i.e., if they are
equal, do you get closer to a 50/50 split?).

Do the two stations have roughly the same signal strength / rate?

> *Weight: 10*Deficit: VO: 256 us VI: 256 us BE: 9 us BK: 256 us
>
> We are using Compex WLE650V5-18A cards.
>
> So, does ath10k support airtime scheduling? In such a case, do we need
> specific Wi-Fi cards?

It should. My guess would be that maybe you're not getting enough
backpressure for the scheduler to actually enforce things correctly. You
could try to look at the TXQ output and see if you actually have any
drops ('iw dev wlan0 station dump -v' and look at the drops/marks
columns).

What kernel version are you running? If it's not new enough to have AQL,
that might help moving the backlog to where the scheduler can do more
with it.

-Toke


  reply	other threads:[~2020-06-23  9:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-22 16:22 Miguel Catalan Cid
2020-06-23  9:35 ` Toke Høiland-Jørgensen [this message]
2020-06-29  9:55   ` Miguel Catalan Cid
2020-06-29 10:25     ` Toke Høiland-Jørgensen
2020-06-30 15:33       ` Miguel Catalan Cid
2020-06-30 15:41         ` Toke Høiland-Jørgensen
2020-09-07 10:29           ` Miguel Catalan Cid
2020-09-11 14:36             ` Toke Høiland-Jørgensen

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

  List information: https://lists.bufferbloat.net/postorius/lists/make-wifi-fast.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zh8uruou.fsf@toke.dk \
    --to=toke@redhat.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=make-wifi-fast@lists.bufferbloat.net \
    --cc=miguel.catalan@i2cat.net \
    /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