* [Make-wifi-fast] ath10k fq_codel support
@ 2016-10-13 15:27 Noah Causin
2016-10-13 15:41 ` Toke Høiland-Jørgensen
0 siblings, 1 reply; 6+ messages in thread
From: Noah Causin @ 2016-10-13 15:27 UTC (permalink / raw)
To: make-wifi-fast
Hi,
I was looking into getting an Ubiquiti Unifi AC-Pro to flash LEDE onto
for testing the ath10k performance and latency with fq_codel.
I already have an Archer C7 V2 which uses the ath10k-firmware-qca988x
package, which the Unifi AC-Pro and Lite seem to use.
Would I have all I need if I flashed the latest git version of LEDE?
Also, what firmware versions support the intermediate software queues,
and would my Archer C7 be fine for preliminary testing?
Thank you,
Noah Causin
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Make-wifi-fast] ath10k fq_codel support
2016-10-13 15:27 [Make-wifi-fast] ath10k fq_codel support Noah Causin
@ 2016-10-13 15:41 ` Toke Høiland-Jørgensen
2016-10-13 15:59 ` Michal Kazior
0 siblings, 1 reply; 6+ messages in thread
From: Toke Høiland-Jørgensen @ 2016-10-13 15:41 UTC (permalink / raw)
To: Noah Causin; +Cc: make-wifi-fast
Noah Causin <n0manletter@gmail.com> writes:
> Hi,
>
> I was looking into getting an Ubiquiti Unifi AC-Pro to flash LEDE onto for
> testing the ath10k performance and latency with fq_codel.
>
> I already have an Archer C7 V2 which uses the ath10k-firmware-qca988x package,
> which the Unifi AC-Pro and Lite seem to use.
>
> Would I have all I need if I flashed the latest git version of LEDE?
>
> Also, what firmware versions support the intermediate software queues,
> and would my Archer C7 be fine for preliminary testing?
You can check if it's active by seeing if you can read
/sys/kernel/debug/ieee80211/phy0/aqm - if that exists and outputs
anything when you 'cat' it, the intermediate queues are active.
They are disabled for some hardware revisions, but not sure which ones.
-Toke
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Make-wifi-fast] ath10k fq_codel support
2016-10-13 15:41 ` Toke Høiland-Jørgensen
@ 2016-10-13 15:59 ` Michal Kazior
2016-10-13 16:08 ` Noah Causin
0 siblings, 1 reply; 6+ messages in thread
From: Michal Kazior @ 2016-10-13 15:59 UTC (permalink / raw)
To: Toke Høiland-Jørgensen; +Cc: Noah Causin, make-wifi-fast
On 13 Octsuppber 2016 at 17:41, Toke Høiland-Jørgensen <toke@toke.dk> wrote:
> Noah Causin <n0manletter@gmail.com> writes:
>
>> Hi,
>>
>> I was looking into getting an Ubiquiti Unifi AC-Pro to flash LEDE onto for
>> testing the ath10k performance and latency with fq_codel.
>>
>> I already have an Archer C7 V2 which uses the ath10k-firmware-qca988x package,
>> which the Unifi AC-Pro and Lite seem to use.
>>
>> Would I have all I need if I flashed the latest git version of LEDE?
>>
>> Also, what firmware versions support the intermediate software queues,
>> and would my Archer C7 be fine for preliminary testing?
>
> You can check if it's active by seeing if you can read
> /sys/kernel/debug/ieee80211/phy0/aqm - if that exists and outputs
> anything when you 'cat' it, the intermediate queues are active.
>
> They are disabled for some hardware revisions, but not sure which ones.
wake_tx_queue is disabled if fw doesn't advertise flow control support
(which is supported in qca99xx and qca40xx chip fw blobs only so far).
qca988x found in archer c7 will have it disabled.
The patch that disables it is [1]. You can revert it or tinker around
the logic it introduced if you want to force fq_codel.
[1]: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/net/wireless/ath/ath10k?id=4ca1807815aa6801aaced7fdefa9edacc2521767
Michal
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Make-wifi-fast] ath10k fq_codel support
2016-10-13 15:59 ` Michal Kazior
@ 2016-10-13 16:08 ` Noah Causin
2016-10-13 16:15 ` Toke Høiland-Jørgensen
0 siblings, 1 reply; 6+ messages in thread
From: Noah Causin @ 2016-10-13 16:08 UTC (permalink / raw)
To: Toke Høiland-Jørgensen; +Cc: make-wifi-fast
[-- Attachment #1: Type: text/plain, Size: 1740 bytes --]
It seems like the patch in LEDE was removed 5 days ago.
https://github.com/lede-project/source/commit/ad51e09fd1301484820a466a49447a34d7504882
Search the page for:
311-ath10k-disable-wake_tx_queue-for-older-devices.patch
I'm going to compile a new build for my Archer C7 and see.
On 10/13/2016 11:59 AM, Michal Kazior wrote:
> On 13 Octsuppber 2016 at 17:41, Toke Høiland-Jørgensen <toke@toke.dk> wrote:
>> Noah Causin <n0manletter@gmail.com> writes:
>>
>>> Hi,
>>>
>>> I was looking into getting an Ubiquiti Unifi AC-Pro to flash LEDE onto for
>>> testing the ath10k performance and latency with fq_codel.
>>>
>>> I already have an Archer C7 V2 which uses the ath10k-firmware-qca988x package,
>>> which the Unifi AC-Pro and Lite seem to use.
>>>
>>> Would I have all I need if I flashed the latest git version of LEDE?
>>>
>>> Also, what firmware versions support the intermediate software queues,
>>> and would my Archer C7 be fine for preliminary testing?
>> You can check if it's active by seeing if you can read
>> /sys/kernel/debug/ieee80211/phy0/aqm - if that exists and outputs
>> anything when you 'cat' it, the intermediate queues are active.
>>
>> They are disabled for some hardware revisions, but not sure which ones.
> wake_tx_queue is disabled if fw doesn't advertise flow control support
> (which is supported in qca99xx and qca40xx chip fw blobs only so far).
>
> qca988x found in archer c7 will have it disabled.
>
> The patch that disables it is [1]. You can revert it or tinker around
> the logic it introduced if you want to force fq_codel.
>
> [1]: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/net/wireless/ath/ath10k?id=4ca1807815aa6801aaced7fdefa9edacc2521767
>
>
> Michal
[-- Attachment #2: Type: text/html, Size: 3045 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Make-wifi-fast] ath10k fq_codel support
2016-10-13 16:08 ` Noah Causin
@ 2016-10-13 16:15 ` Toke Høiland-Jørgensen
2016-10-13 23:06 ` Noah Causin
0 siblings, 1 reply; 6+ messages in thread
From: Toke Høiland-Jørgensen @ 2016-10-13 16:15 UTC (permalink / raw)
To: Noah Causin; +Cc: make-wifi-fast
That's because the LEDE WiFi stack was just rebased on a newer upstream. But the patch that disables it is upstream, so it'll still be disabled, I think...
-Toke
On 13 October 2016 18:08:12 CEST, Noah Causin <n0manletter@gmail.com> wrote:
>It seems like the patch in LEDE was removed 5 days ago.
>
>https://github.com/lede-project/source/commit/ad51e09fd1301484820a466a49447a34d7504882
>
>Search the page for:
>
>311-ath10k-disable-wake_tx_queue-for-older-devices.patch
>
>I'm going to compile a new build for my Archer C7 and see.
>
>
>On 10/13/2016 11:59 AM, Michal Kazior wrote:
>> On 13 Octsuppber 2016 at 17:41, Toke Høiland-Jørgensen <toke@toke.dk>
>wrote:
>>> Noah Causin <n0manletter@gmail.com> writes:
>>>
>>>> Hi,
>>>>
>>>> I was looking into getting an Ubiquiti Unifi AC-Pro to flash LEDE
>onto for
>>>> testing the ath10k performance and latency with fq_codel.
>>>>
>>>> I already have an Archer C7 V2 which uses the
>ath10k-firmware-qca988x package,
>>>> which the Unifi AC-Pro and Lite seem to use.
>>>>
>>>> Would I have all I need if I flashed the latest git version of
>LEDE?
>>>>
>>>> Also, what firmware versions support the intermediate software
>queues,
>>>> and would my Archer C7 be fine for preliminary testing?
>>> You can check if it's active by seeing if you can read
>>> /sys/kernel/debug/ieee80211/phy0/aqm - if that exists and outputs
>>> anything when you 'cat' it, the intermediate queues are active.
>>>
>>> They are disabled for some hardware revisions, but not sure which
>ones.
>> wake_tx_queue is disabled if fw doesn't advertise flow control
>support
>> (which is supported in qca99xx and qca40xx chip fw blobs only so
>far).
>>
>> qca988x found in archer c7 will have it disabled.
>>
>> The patch that disables it is [1]. You can revert it or tinker around
>> the logic it introduced if you want to force fq_codel.
>>
>> [1]:
>https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/net/wireless/ath/ath10k?id=4ca1807815aa6801aaced7fdefa9edacc2521767
>>
>>
>> Michal
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Make-wifi-fast] ath10k fq_codel support
2016-10-13 16:15 ` Toke Høiland-Jørgensen
@ 2016-10-13 23:06 ` Noah Causin
0 siblings, 0 replies; 6+ messages in thread
From: Noah Causin @ 2016-10-13 23:06 UTC (permalink / raw)
To: make-wifi-fast
I tested it, and it is disabled. I am noticing better latency
performance on the ath9k though.
On 10/13/2016 12:15 PM, Toke Høiland-Jørgensen wrote:
> That's because the LEDE WiFi stack was just rebased on a newer upstream. But the patch that disables it is upstream, so it'll still be disabled, I think...
>
> -Toke
>
> On 13 October 2016 18:08:12 CEST, Noah Causin <n0manletter@gmail.com> wrote:
>> It seems like the patch in LEDE was removed 5 days ago.
>>
>> https://github.com/lede-project/source/commit/ad51e09fd1301484820a466a49447a34d7504882
>>
>> Search the page for:
>>
>> 311-ath10k-disable-wake_tx_queue-for-older-devices.patch
>>
>> I'm going to compile a new build for my Archer C7 and see.
>>
>>
>> On 10/13/2016 11:59 AM, Michal Kazior wrote:
>>> On 13 Octsuppber 2016 at 17:41, Toke Høiland-Jørgensen <toke@toke.dk>
>> wrote:
>>>> Noah Causin <n0manletter@gmail.com> writes:
>>>>
>>>>> Hi,
>>>>>
>>>>> I was looking into getting an Ubiquiti Unifi AC-Pro to flash LEDE
>> onto for
>>>>> testing the ath10k performance and latency with fq_codel.
>>>>>
>>>>> I already have an Archer C7 V2 which uses the
>> ath10k-firmware-qca988x package,
>>>>> which the Unifi AC-Pro and Lite seem to use.
>>>>>
>>>>> Would I have all I need if I flashed the latest git version of
>> LEDE?
>>>>> Also, what firmware versions support the intermediate software
>> queues,
>>>>> and would my Archer C7 be fine for preliminary testing?
>>>> You can check if it's active by seeing if you can read
>>>> /sys/kernel/debug/ieee80211/phy0/aqm - if that exists and outputs
>>>> anything when you 'cat' it, the intermediate queues are active.
>>>>
>>>> They are disabled for some hardware revisions, but not sure which
>> ones.
>>> wake_tx_queue is disabled if fw doesn't advertise flow control
>> support
>>> (which is supported in qca99xx and qca40xx chip fw blobs only so
>> far).
>>> qca988x found in archer c7 will have it disabled.
>>>
>>> The patch that disables it is [1]. You can revert it or tinker around
>>> the logic it introduced if you want to force fq_codel.
>>>
>>> [1]:
>> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/net/wireless/ath/ath10k?id=4ca1807815aa6801aaced7fdefa9edacc2521767
>>>
>>> Michal
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-10-13 23:06 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-13 15:27 [Make-wifi-fast] ath10k fq_codel support Noah Causin
2016-10-13 15:41 ` Toke Høiland-Jørgensen
2016-10-13 15:59 ` Michal Kazior
2016-10-13 16:08 ` Noah Causin
2016-10-13 16:15 ` Toke Høiland-Jørgensen
2016-10-13 23:06 ` Noah Causin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox