linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Toke Høiland-Jørgensen" <toke@toke.dk>
To: Ben Greear <greearb@candelatech.com>,
	Jean-Pierre TOSONI <jp.tosoni@acksys.fr>,
	SEDE <s.deronne@televic.com>,
	Benjamin Beichler <Benjamin.Beichler@uni-rostock.de>,
	ath10k <ath10k@lists.infradead.org>,
	"linux-wireless\@vger.kernel.org"
	<linux-wireless@vger.kernel.org>
Subject: Re: Setting tx retry count in ath10k
Date: Wed, 18 Jul 2018 18:21:58 +0200	[thread overview]
Message-ID: <877els5xax.fsf@toke.dk> (raw)
In-Reply-To: <ea2ff457-e84e-8395-148d-8d90a749a40d@candelatech.com>

Ben Greear <greearb@candelatech.com> writes:

> On 07/18/2018 08:50 AM, Jean-Pierre TOSONI wrote:
>> Hi,
>>
>> We made retries configurable in our mac80211+ath9k system, and we ended with 3 counts:
>> 1) short retry count, defaults to 4
>> 2) long retrys count, defauts to 7
>> 3) software retry count, defaults to 30
>> This last one is used separately for each frame in an aggregated frame, since they can be separately acknowledged.
>
> Did you have to change code for #3, and if so, can you share the patch?
>
> I wonder also if retries should be different for different types of
> data. For instance, if someone is using UDP, maybe they don't care so
> much about lost packets and would prefer a lower retry count. Or,
> maybe IP type-of-service could be taken into account and retry frames
> different amounts based on ToS?

For general internet traffic, a retry count of 30 is way too high; that
is up to 120 ms of HOL blocking latency. Better to just drop the packet
at that point.

Ideally, the retry count should be dynamically calculated in units of
time (which would depend on the rate and aggregate size), and also take
queueing time into account. I've been meaning to experiment with this
for minstrel and ath9k, but haven't gotten around to it...

-Toke

  reply	other threads:[~2018-07-18 17:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-17  0:37 Setting tx retry count in ath10k Ben Greear
2018-07-17  7:39 ` Benjamin Beichler
2018-07-17  7:56   ` SEDE
2018-07-17 15:07     ` Ben Greear
2018-07-18 15:50       ` Jean-Pierre TOSONI
2018-07-18 16:00         ` Ben Greear
2018-07-18 16:21           ` Toke Høiland-Jørgensen [this message]
2018-07-18 17:01             ` Jean-Pierre TOSONI
2018-07-18 18:27               ` Toke Høiland-Jørgensen
2018-07-19 12:39               ` Benjamin Beichler
2018-07-19 13:21                 ` Ben Greear
2018-07-19 13:48                 ` Toke Høiland-Jørgensen

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=877els5xax.fsf@toke.dk \
    --to=toke@toke.dk \
    --cc=Benjamin.Beichler@uni-rostock.de \
    --cc=ath10k@lists.infradead.org \
    --cc=greearb@candelatech.com \
    --cc=jp.tosoni@acksys.fr \
    --cc=linux-wireless@vger.kernel.org \
    --cc=s.deronne@televic.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).