From: Ben Greear <greearb@candelatech.com>
To: "Johannes Berg" <johannes@sipsolutions.net>,
"Toke Høiland-Jørgensen" <toke@redhat.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: debugging TXQs being empty
Date: Thu, 5 Dec 2019 10:34:19 -0800 [thread overview]
Message-ID: <25b5ffba-eb63-e3a4-4372-95ffbeff581d@candelatech.com> (raw)
In-Reply-To: <792356df00a9be73f2613f5b4c74bfe2edb05013.camel@sipsolutions.net>
On 12/5/19 10:20 AM, Johannes Berg wrote:
> On Thu, 2019-12-05 at 10:09 -0800, Ben Greear wrote:
>
>>> Hmm, yeah, maybe not then. Something more general in the stack? I just
>>> can't think of anything.
>>
>> Test similar setup 10g wired to 10g wired to make sure traffic generator
>> can generate hoped for load?
>
> Oh, I think it normally works better - I'd have to look up the numbers,
> don't have them handy now. It's a specific issue to this specific PC
> that I have, could be related to the (bastardized) kernel that has, or
> something else.
>
> Hence my more general questions how I would understand/debug this, I
> don't think I can say what the hardware or even kernel is (and even if
> you knew it'd probably be useless, not sure that's public now.)
Well, my questions were based around trying to verify that the problem is actually
down in the wifi stack/queues vs farther up the stack and/or user-space.
If you can't trust your traffic generator can actually generate the load,
then you could be chasing phantom problems.
If you can use something like pktgen, then you can bypass upper stack and
user-space, so area to test and debug is smaller.
If you use some more stable kernel and it works fine, then you can suspect
the kernel is issue.
If you put ax200 in more standard PC and it works fine, then you can suspect
hardware is issue.
...
I'm debugging 160Mhz bugs in my /AC firmware, when I get that sorted, will try
ax200 as station and see what I can push through it in the upload direction.
Thanks,
Ben
>
>>> Using chariot. I don't really know it well, just the testers use it.
>>
>> So, you have some PC with AX200 in it, acting as station, connected to some AP,
>> and Charriot runs on that PC and something upstream of the AP and tries to
>> send traffic from PC to AP?
>
> Traffic is going from the DUT to a wired station behind the AP, which
> actually has two gigabit ethernet links to the AP and two IP addresses,
> so that we can distribute the wireless load onto two gigabit links.
>
>> If you can share the AP model, just possibly we have one and could do a similar
>> test....
>
> :)
>
> I think it's a RT-AX88U. Not sure that really makes a difference.
>
> Seems this AP has a bug btw, it's advertising packet extension of 16usec
> for 20 and 40 MHz, but not for 80 and 160 MHz, which seems a bit odd,
> and indeed we miss ACK there sometimes. To exclude that as a reason I
> hacked the driver to always do 16us ignoring the AP information. But I
> think the issues I outlined with the TXQs are the primary reason for
> even sending single frames where this would matter ... rather than only
> A-MPDUs.
>
> So I don't *think* it's really related to that, but others are looking
> at that part (or well, I hope they will be on Sunday, given they're in
> Israel).
>
> In the meantime, I'm stuck trying to figure out why we run the TXQs
> empty :)
>
> johannes
>
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
next prev parent reply other threads:[~2019-12-05 18:34 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-05 16:34 debugging TXQs being empty Johannes Berg
2019-12-05 16:37 ` Ben Greear
2019-12-05 16:49 ` Johannes Berg
2019-12-05 16:51 ` Johannes Berg
2019-12-05 16:57 ` Ben Greear
2019-12-05 18:04 ` Johannes Berg
2019-12-05 18:09 ` Ben Greear
2019-12-05 18:20 ` Johannes Berg
2019-12-05 18:34 ` Ben Greear [this message]
[not found] ` <CAPB2EAong6X2_gazqJUxs968Kb9EG3Eob2TcSJwCcuMP2p9-7w@mail.gmail.com>
2019-12-05 18:08 ` Johannes Berg
2019-12-05 18:22 ` Johannes Berg
2019-12-05 20:35 ` Johannes Berg
[not found] ` <CA+iem5tjTpO_2MKL_pEu7enTa-8=g5vY3=2WJKjg9f=JA2eCEw@mail.gmail.com>
2019-12-06 8:41 ` Johannes Berg
2019-12-06 9:12 ` Johannes Berg
2019-12-06 10:22 ` Koen Vandeputte
2019-12-06 10:23 ` Johannes Berg
2019-12-06 11:49 ` Johannes Berg
2019-12-06 23:44 ` Ben Greear
2019-12-07 20:09 ` Johannes Berg
2019-12-08 17:26 ` Ben Greear
2019-12-09 19:49 ` Johannes Berg
2019-12-09 8:07 ` Johannes Berg
2019-12-09 17:49 ` Ben Greear
2019-12-09 19:37 ` Johannes Berg
2019-12-09 19:55 ` Ben Greear
2019-12-09 19:57 ` Johannes Berg
2019-12-10 20:47 ` Ben Greear
2019-12-10 20:49 ` Johannes Berg
2019-12-12 18:07 ` Ben Greear
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=25b5ffba-eb63-e3a4-4372-95ffbeff581d@candelatech.com \
--to=greearb@candelatech.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=toke@redhat.com \
/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;
as well as URLs for NNTP newsgroup(s).