From: Stanislaw Gruszka <sgruszka@redhat.com>
To: Daniel Santos <daniel.santos@pobox.com>
Cc: Johannes Berg <johannes@sipsolutions.net>,
linux-wireless@vger.kernel.org
Subject: Re: rt2800 tx frame dropping issue.
Date: Tue, 4 Dec 2018 11:16:59 +0100 [thread overview]
Message-ID: <20181204101658.GA14692@redhat.com> (raw)
In-Reply-To: <b23f23bb-c543-bf9c-2827-618841a9b708@pobox.com>
Hi Daniel
On Mon, Dec 03, 2018 at 03:44:46PM -0600, Daniel Santos wrote:
> I almost managed to get that patch in a build to send to somebody who
> can reproduce the error in abundance, but they have 15 different people
> hammer the router to do it and we ended up sending them a few other
> experimental builds instead.
>
> I'm still learning this driver, but I don't see where it creates a
> struct net_device -- was that something that came out after the driver
> was originally written? (And maybe gets implicitly created somewhere
> else?)
It is done in ieee80211_if_add(), one netdev per vif.
> iiuc, the best way to do this is by setting tx_queue_len while
> the interface is down (via "ip link") and then allocating the queue when
> it's brought up.
We have diffrent queues at various levels in the network stack.
The queues size I plan to increase are referenced as HW queues
> Unless you know of a problem with this approach, I'm planning on making
> a patch just for that. It will then be easier to tune for an end user's
> particular application.
I don't think it's correct approch. Maybe module parameter will be
better just for testing. But since this is for routers/APs just
making build with diffrent tx queues size seems to be better
approach.
> For instance, if there is a small number of
> uses who just use a very large amount of bandwidth then buffer bloat
> could become a problem if it's too high. But for a larger number of
> users I don't think the buffer bloat probably will matter as much as
> lost performance from dropping frames and needing to re-request many
> lost packets at the TCP layer. This would also result in more uplink
> bandwidth being consumed.
Well, I guess that correct, but I still wish to see if increase queues
size do not cause big negative effect.
Thanks
Stanislaw
next prev parent reply other threads:[~2018-12-04 10:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-20 21:20 rt2800 tx frame dropping issue Daniel Santos
2018-11-23 19:45 ` Johannes Berg
2018-11-26 9:38 ` Stanislaw Gruszka
2018-12-03 21:44 ` Daniel Santos
2018-12-04 10:16 ` Stanislaw Gruszka [this message]
2018-12-03 21:28 ` Daniel Santos
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=20181204101658.GA14692@redhat.com \
--to=sgruszka@redhat.com \
--cc=daniel.santos@pobox.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.