* [Make-wifi-fast] bloated ath10k, extra latency at lower rates?
@ 2019-02-10 18:23 Jon Pike
2019-02-10 20:30 ` Toke Høiland-Jørgensen
0 siblings, 1 reply; 5+ messages in thread
From: Jon Pike @ 2019-02-10 18:23 UTC (permalink / raw)
To: make-wifi-fast
[-- Attachment #1: Type: text/plain, Size: 1143 bytes --]
This might be a good time to mention an observation I've seen that's
related to this.
I have noticed about the same as reported, 10's down to single digits on
my ath9k radios, and a similar 20ms-30ms on the ath10k's. Thats at high
signal strength and the highest data rates. But, I've also noticed that
it's different if you get farther out in range, and you end up on the
slower signaling speeds.
Under those conditions, I'm seeing the ath9k latency rise only slightly,
maybe to 20-30ms, while the ath10k will go up more drastically, like a
continuous 100-150ms or more. Been meaning to mention it to see if it
should be considered as an issue.
Haven't dug too deeply to quantify this much yet, and have been going thru
different setup changes, versions of OpenWrt, etc which complicates
things.
Current setup is C7's as dumb AP's, with a Zotac x86 box doing routing.
Have had 17.01.6, 18.06.1, 18.06.2, and recent snapshot on these, with
their various vintages of drivers and associated code.
Couldnt tell you as of now if all of the above versions have the behavior
or not. Willing to investigate more if its thought important.
[-- Attachment #2: Type: text/html, Size: 1457 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Make-wifi-fast] bloated ath10k, extra latency at lower rates?
2019-02-10 18:23 [Make-wifi-fast] bloated ath10k, extra latency at lower rates? Jon Pike
@ 2019-02-10 20:30 ` Toke Høiland-Jørgensen
2019-02-10 20:40 ` Dave Taht
0 siblings, 1 reply; 5+ messages in thread
From: Toke Høiland-Jørgensen @ 2019-02-10 20:30 UTC (permalink / raw)
To: Jon Pike, make-wifi-fast
Jon Pike <jonpike54@gmail.com> writes:
> This might be a good time to mention an observation I've seen that's
> related to this.
>
> I have noticed about the same as reported, 10's down to single digits
> on my ath9k radios, and a similar 20ms-30ms on the ath10k's. Thats at
> high signal strength and the highest data rates. But, I've also
> noticed that it's different if you get farther out in range, and you
> end up on the slower signaling speeds.
>
> Under those conditions, I'm seeing the ath9k latency rise only
> slightly, maybe to 20-30ms, while the ath10k will go up more
> drastically, like a continuous 100-150ms or more. Been meaning to
> mention it to see if it should be considered as an issue.
Well yeah, I guess it should. To answer both you and Adrian: The
debloating of ath10k is only partial currently. It uses the intermediate
queueing system, but it still has quite a bit of buffering in the
firmware, which is not controlled by the driver. The actual latency
induced by this buffering varies by firmware version; but it sounds
quite likely that it would be worse as the rates drop.
The fix for this is to control the queue length in the firmware, similar
to what BQL does for Ethernet drivers. The ChromeOS people at Google
already has this as a patch for ath10k, which we are planning to port
upstream to live inside mac80211 on top of the airtime fairness
mechanism that is in the process of being merged.
So there is some hope that this situation will improve in the future :)
-Toke
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Make-wifi-fast] bloated ath10k, extra latency at lower rates?
2019-02-10 20:30 ` Toke Høiland-Jørgensen
@ 2019-02-10 20:40 ` Dave Taht
[not found] ` <CALukJKSVVQXti=+2QfxUN_44vNU+Cn3co68JvY6_wgCTwS8O6Q@mail.gmail.com>
0 siblings, 1 reply; 5+ messages in thread
From: Dave Taht @ 2019-02-10 20:40 UTC (permalink / raw)
To: Toke Høiland-Jørgensen; +Cc: Jon Pike, make-wifi-fast
Toke Høiland-Jørgensen <toke@redhat.com> writes:
> Jon Pike <jonpike54@gmail.com> writes:
>
>> This might be a good time to mention an observation I've seen that's
>> related to this.
>>
>> I have noticed about the same as reported, 10's down to single digits
>> on my ath9k radios, and a similar 20ms-30ms on the ath10k's. Thats at
>> high signal strength and the highest data rates. But, I've also
>> noticed that it's different if you get farther out in range, and you
>> end up on the slower signaling speeds.
>>
>> Under those conditions, I'm seeing the ath9k latency rise only
>> slightly, maybe to 20-30ms, while the ath10k will go up more
>> drastically, like a continuous 100-150ms or more. Been meaning to
>> mention it to see if it should be considered as an issue.
The C7 has an older version of firmware. It would be interesting to
benchmark the -ct version of the firmware.
>
> Well yeah, I guess it should. To answer both you and Adrian: The
> debloating of ath10k is only partial currently. It uses the intermediate
> queueing system, but it still has quite a bit of buffering in the
> firmware, which is not controlled by the driver. The actual latency
> induced by this buffering varies by firmware version; but it sounds
> quite likely that it would be worse as the rates drop.
>
> The fix for this is to control the queue length in the firmware, similar
> to what BQL does for Ethernet drivers. The ChromeOS people at Google
> already has this as a patch for ath10k, which we are planning to port
> upstream to live inside mac80211 on top of the airtime fairness
> mechanism that is in the process of being merged.
>
> So there is some hope that this situation will improve in the future :)
>
> -Toke
> _______________________________________________
> Make-wifi-fast mailing list
> Make-wifi-fast@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/make-wifi-fast
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-03-03 16:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-10 18:23 [Make-wifi-fast] bloated ath10k, extra latency at lower rates? Jon Pike
2019-02-10 20:30 ` Toke Høiland-Jørgensen
2019-02-10 20:40 ` Dave Taht
[not found] ` <CALukJKSVVQXti=+2QfxUN_44vNU+Cn3co68JvY6_wgCTwS8O6Q@mail.gmail.com>
2019-02-27 6:23 ` Jon Pike
2019-03-03 16:41 ` Adrian Popescu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox