Lets make wifi fast again!
 help / color / mirror / Atom feed
From: Dave Taht <dave.taht@gmail.com>
To: "Björn Smedman" <bjorn@openias.org>,
	make-wifi-fast@lists.bufferbloat.net
Subject: Re: [Make-wifi-fast] Bayesian rate control
Date: Sun, 30 Oct 2016 16:37:28 -0700	[thread overview]
Message-ID: <CAA93jw7cReMMJ=S3B-OzBuK-qfBYJw1N2TJcS7EqC6jgfoMO+g@mail.gmail.com> (raw)
In-Reply-To: <CAGp19xeDOdF+YuZ34sQrFY+NO4kvzAzuFr0+3Ae62v-a-0eUtg@mail.gmail.com>

Dear Bjorn:

I took a quick look at your patches in
http://www.openias.org/bayesian-wifi-materials-and-methods

sampling minstrel at such a high rate is going to hurt you, I think,
on a lower end architecture, especially. We have a sampler that can
run at about 20ms intervals (tops) on limited hardware, that can grab
mcs rates, in flent, if that helps.

To me, key to fixing rate control is first the other stuff for queue
management, then doing "smart things" fast when a station pops up to
grab a web page and then goes silent. Right now I've seen minstrel
take a minute or more to find the right rate, an ideal one would be
closer to 100ms.



On Sat, Oct 29, 2016 at 1:50 PM, Björn Smedman <bjorn@openias.org> wrote:
> Thomas, Dave, Adrian, Johannes,
>
> Thanks for comments and encouragement. I bought the TP-Link TL-WA901ND
> access point and TP-Link TL-WDN4800 PCIe card. Had no problem getting
> them talking to each other with ath9k, and the rate table contains 52
> entries, so plenty to start out with.
>
> I've written a follow-up post about it if anybody's interested:
> http://www.openias.org/bayesian-wifi-materials-and-methods
>
> Cheers,
>
> Björn
>
> On Wed, Oct 26, 2016 at 7:56 AM, Johannes Berg
> <johannes@sipsolutions.net> wrote:
>>
>>> The intel 7260 and later parts also allow user controllable rate
>>> control and provide transmit completion feedback, but I don't know
>>> whether it's enough for your needs.
>>
>> Perhaps. However, existing rate control is *very* tightly coupled to
>> the driver, and it'd be fairly pointless to disentangle just for the
>> sake of playing with a rate control algorithm.
>>
>> Also, the device doesn't support per-frame control nor any kind of
>> sampling-with-table-fallback, only the rate table that you give to the
>> device and update.
>>
>> Btw, mac80211_hwsim with wmediumd doing some medium simulation might
>> also be something to look at for just extending to VHT.
>>
>> And come to think of it, there's this new driver Felix et al have been
>> working on, mt7601u, which also should support proper rate control
>> APIs.
>>
>> johannes



-- 
Dave Täht
Let's go make home routers and wifi faster! With better software!
http://blog.cerowrt.org

  parent reply	other threads:[~2016-10-30 23:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAGp19xcg1qCP3+JNbuiB7Hx=UjLN7KP55wVJT0sKV-iE12501A@mail.gmail.com>
2016-10-24 15:09 ` Dave Taht
     [not found] ` <1477286912.4085.1.camel@sipsolutions.net>
     [not found]   ` <CAGp19xdgsoyx9Sa=uas1OEiFoJdzFChmt20++9e7fJK=Z1ujWQ@mail.gmail.com>
     [not found]     ` <1477379678.4390.2.camel@sipsolutions.net>
     [not found]       ` <CAJ-Vmon0RTAXJMuwANCO23cPsFyFZ17sAHoReuGBG1u1Q9kK6w@mail.gmail.com>
     [not found]         ` <1477461362.4059.17.camel@sipsolutions.net>
     [not found]           ` <CAGp19xeDOdF+YuZ34sQrFY+NO4kvzAzuFr0+3Ae62v-a-0eUtg@mail.gmail.com>
2016-10-30 23:37             ` Dave Taht [this message]
     [not found] ` <A9EF20BC-E559-4537-89F8-5A490C52FD9A@inet.tu-berlin.de>
2017-01-08 17:09   ` [Make-wifi-fast] Fwd: [ath9k-devel] " Dave Taht

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

  List information: https://lists.bufferbloat.net/postorius/lists/make-wifi-fast.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAA93jw7cReMMJ=S3B-OzBuK-qfBYJw1N2TJcS7EqC6jgfoMO+g@mail.gmail.com' \
    --to=dave.taht@gmail.com \
    --cc=bjorn@openias.org \
    --cc=make-wifi-fast@lists.bufferbloat.net \
    /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