* [Make-wifi-fast] ath9k airtime fairness stabiity issues?
@ 2017-01-05 12:59 Dave Taht
2017-01-05 13:02 ` Felix Fietkau
2017-01-05 13:22 ` Loganaden Velvindron
0 siblings, 2 replies; 12+ messages in thread
From: Dave Taht @ 2017-01-05 12:59 UTC (permalink / raw)
To: make-wifi-fast, LEDE Development List, Felix Fietkau
Felix:
Was there a bugreport? (don't see one)
Do you have a specific device or behavior triggering this revert?
On Thu, Jan 5, 2017 at 4:42 AM, Dave Taht <dave.taht@gmail.com> wrote:
> https://github.com/lede-project/source/commit/c296ba834db4ce8c71e0ad7030aab188fe60b27b
--
Dave Täht
Let's go make home routers and wifi faster! With better software!
http://blog.cerowrt.org
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Make-wifi-fast] ath9k airtime fairness stabiity issues?
2017-01-05 12:59 [Make-wifi-fast] ath9k airtime fairness stabiity issues? Dave Taht
@ 2017-01-05 13:02 ` Felix Fietkau
2017-01-05 13:11 ` Dave Taht
2017-01-05 13:22 ` Loganaden Velvindron
1 sibling, 1 reply; 12+ messages in thread
From: Felix Fietkau @ 2017-01-05 13:02 UTC (permalink / raw)
To: Dave Taht, make-wifi-fast, LEDE Development List
On 2017-01-05 13:59, Dave Taht wrote:
> Felix:
>
> Was there a bugreport? (don't see one)
>
> Do you have a specific device or behavior triggering this revert?
Not yet. I'm still collecting information, but since we want to release
soon, and I trust at least some of the users that reported these issues
to me, I decided that airtime fairness is not ready for this release yet.
- Felix
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Make-wifi-fast] ath9k airtime fairness stabiity issues?
2017-01-05 13:02 ` Felix Fietkau
@ 2017-01-05 13:11 ` Dave Taht
0 siblings, 0 replies; 12+ messages in thread
From: Dave Taht @ 2017-01-05 13:11 UTC (permalink / raw)
To: Felix Fietkau; +Cc: make-wifi-fast, LEDE Development List
On Thu, Jan 5, 2017 at 5:02 AM, Felix Fietkau <nbd@nbd.name> wrote:
> On 2017-01-05 13:59, Dave Taht wrote:
>> Felix:
>>
>> Was there a bugreport? (don't see one)
>>
>> Do you have a specific device or behavior triggering this revert?
> Not yet. I'm still collecting information, but since we want to release
> soon, and I trust at least some of the users that reported these issues
> to me, I decided that airtime fairness is not ready for this release yet.
Well in my case I am seeing what I'd been putting down to
some ipv6 multicast weirdness (using babel and dnsmasq), particularly
over a bridge
(I see several bugs on this filed, I'm still scratching my head on
what I'm seeing)
but otherwise ATF seeeeemed OK on the devices I was testing. (uap-lite, archer)
I guess it would be too much to hope that some builds are archived
enough to a/b, and can assume post jan 4 builds are "- atf"?
(I was *just* rolling out a sizeable test on 12 routers, sigh)
> - Felix
--
Dave Täht
Let's go make home routers and wifi faster! With better software!
http://blog.cerowrt.org
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Make-wifi-fast] ath9k airtime fairness stabiity issues?
2017-01-05 12:59 [Make-wifi-fast] ath9k airtime fairness stabiity issues? Dave Taht
2017-01-05 13:02 ` Felix Fietkau
@ 2017-01-05 13:22 ` Loganaden Velvindron
2017-01-05 13:23 ` Felix Fietkau
1 sibling, 1 reply; 12+ messages in thread
From: Loganaden Velvindron @ 2017-01-05 13:22 UTC (permalink / raw)
To: Dave Taht; +Cc: make-wifi-fast, LEDE Development List, Felix Fietkau
On Thu, Jan 5, 2017 at 4:59 PM, Dave Taht <dave.taht@gmail.com> wrote:
> Felix:
>
> Was there a bugreport? (don't see one)
>
> Do you have a specific device or behavior triggering this revert?
>
>
> On Thu, Jan 5, 2017 at 4:42 AM, Dave Taht <dave.taht@gmail.com> wrote:
>> https://github.com/lede-project/source/commit/c296ba834db4ce8c71e0ad7030aab188fe60b27b
>
>
Hi nbd & Toke,
Would it be possible to enable it only on platforms like the tp-link
archer c7 v2 and the ubnt, where we have confirmed test reports for
the upcoming release ?
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Make-wifi-fast] ath9k airtime fairness stabiity issues?
2017-01-05 13:22 ` Loganaden Velvindron
@ 2017-01-05 13:23 ` Felix Fietkau
2017-01-05 14:03 ` Michal Kazior
2017-01-05 14:18 ` [Make-wifi-fast] " Dave Taht
0 siblings, 2 replies; 12+ messages in thread
From: Felix Fietkau @ 2017-01-05 13:23 UTC (permalink / raw)
To: Loganaden Velvindron, Dave Taht; +Cc: make-wifi-fast, LEDE Development List
On 2017-01-05 14:22, Loganaden Velvindron wrote:
> On Thu, Jan 5, 2017 at 4:59 PM, Dave Taht <dave.taht@gmail.com> wrote:
>> Felix:
>>
>> Was there a bugreport? (don't see one)
>>
>> Do you have a specific device or behavior triggering this revert?
>>
>>
>> On Thu, Jan 5, 2017 at 4:42 AM, Dave Taht <dave.taht@gmail.com> wrote:
>>> https://github.com/lede-project/source/commit/c296ba834db4ce8c71e0ad7030aab188fe60b27b
>>
>>
>
> Hi nbd & Toke,
>
> Would it be possible to enable it only on platforms like the tp-link
> archer c7 v2 and the ubnt, where we have confirmed test reports for
> the upcoming release ?
I think it's quite unlikely that these issues are hardware specific.
It's probably more related to the environment, types of clients, or even
traffic patterns.
- Felix
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Make-wifi-fast] ath9k airtime fairness stabiity issues?
2017-01-05 13:23 ` Felix Fietkau
@ 2017-01-05 14:03 ` Michal Kazior
2017-01-05 14:51 ` Dave Taht
2017-01-05 14:18 ` [Make-wifi-fast] " Dave Taht
1 sibling, 1 reply; 12+ messages in thread
From: Michal Kazior @ 2017-01-05 14:03 UTC (permalink / raw)
To: Felix Fietkau
Cc: Loganaden Velvindron, Dave Taht, make-wifi-fast, LEDE Development List
On 5 January 2017 at 14:23, Felix Fietkau <nbd@nbd.name> wrote:
> On 2017-01-05 14:22, Loganaden Velvindron wrote:
>> On Thu, Jan 5, 2017 at 4:59 PM, Dave Taht <dave.taht@gmail.com> wrote:
>>> Felix:
>>>
>>> Was there a bugreport? (don't see one)
>>>
>>> Do you have a specific device or behavior triggering this revert?
>>>
>>>
>>> On Thu, Jan 5, 2017 at 4:42 AM, Dave Taht <dave.taht@gmail.com> wrote:
>>>> https://github.com/lede-project/source/commit/c296ba834db4ce8c71e0ad7030aab188fe60b27b
>>>
>>>
>>
>> Hi nbd & Toke,
>>
>> Would it be possible to enable it only on platforms like the tp-link
>> archer c7 v2 and the ubnt, where we have confirmed test reports for
>> the upcoming release ?
> I think it's quite unlikely that these issues are hardware specific.
> It's probably more related to the environment, types of clients, or even
> traffic patterns.
Some people are complaining ath10k is unstable for them when
wake_tx_queue is enabled. I suspect the ATF problem in ath9k might be
providing extra opportunities to hit the same bug.
I think RCU is not properly handled. txq_info shares lifecycle of
sta_info and should therefore be protected in the same manner. When
you queue up ieee80211_txq in a driver and use it later you
effectively break RCU. Grabbing rcu_read_lock() *later*, e.g. when
re-scheduling tx is not sufficient to protect from the possible race
of part1/part2 of station destroying logic and driver accessing its
internal txq list.
There seems to be a mechanism to hook up with to fix that already -
drv_sta_pre_rcu_remove().
I've been seldom looking at the ath10k problem and noticed this bit. I
didn't get a chance (and probably won't, any time soon) to take a
closer look, nor test/verify it for that matter.
Michał
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Make-wifi-fast] ath9k airtime fairness stabiity issues?
2017-01-05 13:23 ` Felix Fietkau
2017-01-05 14:03 ` Michal Kazior
@ 2017-01-05 14:18 ` Dave Taht
1 sibling, 0 replies; 12+ messages in thread
From: Dave Taht @ 2017-01-05 14:18 UTC (permalink / raw)
To: Felix Fietkau; +Cc: Loganaden Velvindron, make-wifi-fast, LEDE Development List
On Thu, Jan 5, 2017 at 5:23 AM, Felix Fietkau <nbd@nbd.name> wrote:
> On 2017-01-05 14:22, Loganaden Velvindron wrote:
>> On Thu, Jan 5, 2017 at 4:59 PM, Dave Taht <dave.taht@gmail.com> wrote:
>>> Felix:
>>>
>>> Was there a bugreport? (don't see one)
>>>
>>> Do you have a specific device or behavior triggering this revert?
>>>
>>>
>>> On Thu, Jan 5, 2017 at 4:42 AM, Dave Taht <dave.taht@gmail.com> wrote:
>>>> https://github.com/lede-project/source/commit/c296ba834db4ce8c71e0ad7030aab188fe60b27b
>>>
>>>
>>
>> Hi nbd & Toke,
>>
>> Would it be possible to enable it only on platforms like the tp-link
>> archer c7 v2 and the ubnt, where we have confirmed test reports for
>> the upcoming release ?
> I think it's quite unlikely that these issues are hardware specific.
> It's probably more related to the environment, types of clients, or even
> traffic patterns.
OK, well, I filed a bug. Can I encourage your reporters to chime in on
their issues and what hardware they see them on?
https://bugs.lede-project.org/index.php?do=details&task_id=368
We have extensive testbeds available, but my big one is 2 hours away
right now (and running a version of lede with this patch from october
or so), and hard to upgrade remotely. Been building up a new one in SF
(warmer) this week, just deployed a bunch of "c.h.i.p"s to stress it
out, but now I have to go check to see which builds of lede I
installed where. I'm pretty sure the UAP-lites are running jan 2...
the wndr is jan 4....
(And here I was dreaming up ways to seriously stress out ipv6
multicast (adding tons of routes to babel,
and/or using "uftp" heavily) (see
https://bugs.lede-project.org/index.php?do=details&task_id=253 ))
I'm going to finish getting something up that works and then go blow
up multicast harder, I think, while scratching my head on ATF. At
least I can get some non-atf data on how the chips behave, I guess.
--
Dave Täht
Let's go make home routers and wifi faster! With better software!
http://blog.cerowrt.org
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Make-wifi-fast] ath9k airtime fairness stabiity issues?
2017-01-05 14:03 ` Michal Kazior
@ 2017-01-05 14:51 ` Dave Taht
2017-01-05 15:17 ` [Make-wifi-fast] [LEDE-DEV] " L. D. Pinney
0 siblings, 1 reply; 12+ messages in thread
From: Dave Taht @ 2017-01-05 14:51 UTC (permalink / raw)
To: Michal Kazior
Cc: Felix Fietkau, Loganaden Velvindron, make-wifi-fast,
LEDE Development List
On Thu, Jan 5, 2017 at 6:03 AM, Michal Kazior <michal.kazior@tieto.com> wrote:
> On 5 January 2017 at 14:23, Felix Fietkau <nbd@nbd.name> wrote:
>> On 2017-01-05 14:22, Loganaden Velvindron wrote:
>>> On Thu, Jan 5, 2017 at 4:59 PM, Dave Taht <dave.taht@gmail.com> wrote:
>>>> Felix:
>>>>
>>>> Was there a bugreport? (don't see one)
>>>>
>>>> Do you have a specific device or behavior triggering this revert?
>>>>
>>>>
>>>> On Thu, Jan 5, 2017 at 4:42 AM, Dave Taht <dave.taht@gmail.com> wrote:
>>>>> https://github.com/lede-project/source/commit/c296ba834db4ce8c71e0ad7030aab188fe60b27b
>>>>
>>>>
>>>
>>> Hi nbd & Toke,
>>>
>>> Would it be possible to enable it only on platforms like the tp-link
>>> archer c7 v2 and the ubnt, where we have confirmed test reports for
>>> the upcoming release ?
>> I think it's quite unlikely that these issues are hardware specific.
>> It's probably more related to the environment, types of clients, or even
>> traffic patterns.
>
> Some people are complaining ath10k is unstable for them when
> wake_tx_queue is enabled. I suspect the ATF problem in ath9k might be
> providing extra opportunities to hit the same bug.
Hmm. I would assume most ath10k users are on a multi-core?
> I think RCU is not properly handled. txq_info shares lifecycle of
> sta_info and should therefore be protected in the same manner. When
> you queue up ieee80211_txq in a driver and use it later you
> effectively break RCU. Grabbing rcu_read_lock() *later*, e.g. when
> re-scheduling tx is not sufficient to protect from the possible race
> of part1/part2 of station destroying logic and driver accessing its
> internal txq list.
Sounds like a promising theory. Most of our testing was on single-core
devices, with the multi-core x86 version being kernel mainline
(4.8ish), and not the lede backport.
I long had mildly poor results in terms of throughput on the apu2 (x86
dual core), but assumed it was due to poor antennas. (no crashes)
The omnia is a dual core arm, but I don't have one of those.
As it turns out the UAP-lite I flashed ~2 days back is crashed right
now, and another box was failing to get dhcp addresses (why I was
looking at multicast), not even over ethernet.
(someone remind me to not take a vacation over the holidays, next time
there's holidays)
> There seems to be a mechanism to hook up with to fix that already -
> drv_sta_pre_rcu_remove().
>
> I've been seldom looking at the ath10k problem and noticed this bit. I
> didn't get a chance (and probably won't, any time soon) to take a
> closer look, nor test/verify it for that matter.
>
>
> Michał
--
Dave Täht
Let's go make home routers and wifi faster! With better software!
http://blog.cerowrt.org
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Make-wifi-fast] [LEDE-DEV] ath9k airtime fairness stabiity issues?
2017-01-05 14:51 ` Dave Taht
@ 2017-01-05 15:17 ` L. D. Pinney
2017-01-05 15:28 ` Felix Fietkau
0 siblings, 1 reply; 12+ messages in thread
From: L. D. Pinney @ 2017-01-05 15:17 UTC (permalink / raw)
To: Dave Taht, Michal Kazior
Cc: make-wifi-fast, Loganaden Velvindron, LEDE Development List,
Felix Fietkau
[-- Attachment #1: Type: text/plain, Size: 3302 bytes --]
Hello Dave :
Can you please stop cross posting?
It's quite annoying to see this unrelated babble about UN-related ath10k when subject is ath9k
Felix says it a no go on ath9k airtime fairness for the release....AND that's all we really need to know :)
Larry
On Thursday, January 5, 2017 11:08 PM, Dave Taht <dave.taht@gmail.com> wrote:
On Thu, Jan 5, 2017 at 6:03 AM, Michal Kazior <michal.kazior@tieto.com> wrote:
> On 5 January 2017 at 14:23, Felix Fietkau <nbd@nbd.name> wrote:
>> On 2017-01-05 14:22, Loganaden Velvindron wrote:
>>> On Thu, Jan 5, 2017 at 4:59 PM, Dave Taht <dave.taht@gmail.com> wrote:
>>>> Felix:
>>>>
>>>> Was there a bugreport? (don't see one)
>>>>
>>>> Do you have a specific device or behavior triggering this revert?
>>>>
>>>>
>>>> On Thu, Jan 5, 2017 at 4:42 AM, Dave Taht <dave.taht@gmail.com> wrote:
>>>>> https://github.com/lede-project/source/commit/c296ba834db4ce8c71e0ad7030aab188fe60b27b
>>>>
>>>>
>>>
>>> Hi nbd & Toke,
>>>
>>> Would it be possible to enable it only on platforms like the tp-link
>>> archer c7 v2 and the ubnt, where we have confirmed test reports for
>>> the upcoming release ?
>> I think it's quite unlikely that these issues are hardware specific.
>> It's probably more related to the environment, types of clients, or even
>> traffic patterns.
>
> Some people are complaining ath10k is unstable for them when
> wake_tx_queue is enabled. I suspect the ATF problem in ath9k might be
> providing extra opportunities to hit the same bug.
Hmm. I would assume most ath10k users are on a multi-core?
> I think RCU is not properly handled. txq_info shares lifecycle of
> sta_info and should therefore be protected in the same manner. When
> you queue up ieee80211_txq in a driver and use it later you
> effectively break RCU. Grabbing rcu_read_lock() *later*, e.g. when
> re-scheduling tx is not sufficient to protect from the possible race
> of part1/part2 of station destroying logic and driver accessing its
> internal txq list.
Sounds like a promising theory. Most of our testing was on single-core
devices, with the multi-core x86 version being kernel mainline
(4.8ish), and not the lede backport.
I long had mildly poor results in terms of throughput on the apu2 (x86
dual core), but assumed it was due to poor antennas. (no crashes)
The omnia is a dual core arm, but I don't have one of those.
As it turns out the UAP-lite I flashed ~2 days back is crashed right
now, and another box was failing to get dhcp addresses (why I was
looking at multicast), not even over ethernet.
(someone remind me to not take a vacation over the holidays, next time
there's holidays)
> There seems to be a mechanism to hook up with to fix that already -
> drv_sta_pre_rcu_remove().
>
> I've been seldom looking at the ath10k problem and noticed this bit. I
> didn't get a chance (and probably won't, any time soon) to take a
> closer look, nor test/verify it for that matter.
>
>
> Michał
--
Dave Täht
Let's go make home routers and wifi faster! With better software!
http://blog.cerowrt.org
_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev
[-- Attachment #2: Type: text/html, Size: 6987 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Make-wifi-fast] [LEDE-DEV] ath9k airtime fairness stabiity issues?
2017-01-05 15:17 ` [Make-wifi-fast] [LEDE-DEV] " L. D. Pinney
@ 2017-01-05 15:28 ` Felix Fietkau
2017-01-05 18:53 ` Weedy
0 siblings, 1 reply; 12+ messages in thread
From: Felix Fietkau @ 2017-01-05 15:28 UTC (permalink / raw)
To: L. D. Pinney, Dave Taht, Michal Kazior
Cc: make-wifi-fast, Loganaden Velvindron, LEDE Development List
On 2017-01-05 16:17, L. D. Pinney wrote:
> Hello Dave :
>
> Can you please stop cross posting?
>
> It's quite annoying to see this unrelated babble about UN-related ath10k
> when subject is ath9k
>
> Felix says it a no go on ath9k airtime fairness for the release....AND
> that's all we really need to know :)
Larry, please calm down and read the thread more carefully before
getting annoyed :)
Michal brought up ath10k first, because he thinks the issues might be
related to what we're seeing with ath9k + ATF.
Also, the mailing lists that Dave Cc'd make sense to me and any
discussion that might lead to resolving these issues is highly appreciated.
- Felix
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Make-wifi-fast] [LEDE-DEV] ath9k airtime fairness stabiity issues?
2017-01-05 15:28 ` Felix Fietkau
@ 2017-01-05 18:53 ` Weedy
0 siblings, 0 replies; 12+ messages in thread
From: Weedy @ 2017-01-05 18:53 UTC (permalink / raw)
To: Felix Fietkau; +Cc: Dave Taht, make-wifi-fast, LEDE Development List
I just want to chime in that I have felt no negatives and arguable
positives since deploying v1 of the airtime fairness patch.
I'm currently on git master from Dec 29th (so after the compat bump
and v2 fairness merge) and I want to say my Wi-Fi feels better then my
build from v1 timeframe. I got a few laptops (mines ath9k, pretty sure
ones intel, and the last ones broadcom), a few phones (qualcomm
CPUs/radios), and a couple tablets (broadcom). I even deployed a
wireless repeater I made with 2 ath9k cards so wds is turned on too.
I would think airtime fairness is not going to be pulled out of
master, but I really hope we can still ship it to people in 17.01. If
there is anything you want me to try I can do my best to test things.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Make-wifi-fast] [LEDE-DEV] ath9k airtime fairness stabiity issues?
@ 2017-01-19 10:28 Jaap Buurman
0 siblings, 0 replies; 12+ messages in thread
From: Jaap Buurman @ 2017-01-19 10:28 UTC (permalink / raw)
To: lede-dev, make-wifi-fast
[-- Attachment #1: Type: text/plain, Size: 875 bytes --]
Hi all,
According to Dave Täht the following code disables Airtime Fairness:
for i in /sys/kernel/debug/ieee80211/phy*/*/airtime_flags
do
echo 0 > $i
done
Wouldn't it be a good idea to ship Lede with ATF baked in, but disabled at
default? That would allow end-users to easily enable ATF. Since enabling
ATF takes some work, people without the knowledge wouldn't accidentally
enable this feature and run into possible instability issues. But at the
same time, this would enable tech savvy people to experiment.
There are reports of people running their networks with ATF enabled for
weeks with no issues whatsoever, so if there are instability issues it
might not be as widespread as one would think. There is an interesting
discussion going on here:
https://bugs.lede-project.org/index.php?do=details&task_id=368
I'm curious to your thoughts!
[-- Attachment #2: Type: text/html, Size: 2302 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2017-01-19 10:28 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-05 12:59 [Make-wifi-fast] ath9k airtime fairness stabiity issues? Dave Taht
2017-01-05 13:02 ` Felix Fietkau
2017-01-05 13:11 ` Dave Taht
2017-01-05 13:22 ` Loganaden Velvindron
2017-01-05 13:23 ` Felix Fietkau
2017-01-05 14:03 ` Michal Kazior
2017-01-05 14:51 ` Dave Taht
2017-01-05 15:17 ` [Make-wifi-fast] [LEDE-DEV] " L. D. Pinney
2017-01-05 15:28 ` Felix Fietkau
2017-01-05 18:53 ` Weedy
2017-01-05 14:18 ` [Make-wifi-fast] " Dave Taht
2017-01-19 10:28 [Make-wifi-fast] [LEDE-DEV] " Jaap Buurman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox