Lets make wifi fast again!
 help / color / mirror / Atom feed
From: Dave Taht <dave.taht@gmail.com>
To: make-wifi-fast@lists.bufferbloat.net
Subject: [Make-wifi-fast] netnext, ubuntu fq_codel+airtime for ath9k, fq_codel for ath10k
Date: Sun, 9 Oct 2016 10:44:05 -0700	[thread overview]
Message-ID: <CAA93jw7MSnF0voOkGFJVZejpwWgaPj2Qsk_jGdjVLVHbmOkbDw@mail.gmail.com> (raw)

I have updated toke's patch set to apply on top of net-next.

You can get pre-built kernel .debs and the patches from:

http://www.taht.net/~d/airtime-8/

These were built for ubuntu 16.04.

I've also supplied a sample hostapd.conf file for x86. I found it
necessary in some cases to "kick" the ath9k card into 5ghz mode by
manually running iwconfig essid whatever channel 36 before hostapd
would start. (I did not get HT40 to work on this card, but I never had
before)

Tested on the pcengines apu2d2 (ath10k), and a Qualcomm Atheros AR9462
in a laptop acting as AP... with up to 5 clients, mostly from the last
working build for lede.

Note, these are "unofficial" - my main purpose was to test crypto and
make sure that the stuff didn't crash.

1) I did not preserve authorship in these (how do you apply git
patches with fuzz?)
2) I moved back the fq_codel defaults to the same as mainline, rather than
the relaxed defaults others have been using. For all I know this will mess
with codel, but there are a few other approaches to try there.
3) enabled the fq_codel stuff for the ath10k cards I have
4) I did not apply toke's patch to make codel gentler at lower rates

As these are based on net-next, I wouldn't risk a machine you care
about to this! I have got an occasional oops from my graphics card in
the laptop.

* Tested on the ath10k and ath9k for several days
**   not having airtime fairness on the ath10k hurts, but for single station
     benchmarks, it's quite lovely.
** ath9k -> elsewhere is nice at both 2.4ghz and 5ghz.
   http://www.taht.net/~d/airtime-8/upisgood.png
   maybe it's too good, have to look at codel harder
** OSX appears to be cheating somehow
** stats seem to be wrong in this case?

root@nemesis:/sys/kernel/debug/ieee80211/phy0/netdev:wlp3s0# cat aqm
ac backlog-bytes backlog-packets new-flows drops marks overlimit
collisions tx-bytes tx-packets
2 0 0 747 0 0 0 3 235451 748

but ok in this case:

root@nemesis:/sys/kernel/debug/ieee80211/phy0/netdev:wlp3s0/stations/48:d7:05:c0:9a:d9#
cat aqm
tid ac backlog-bytes backlog-packets new-flows drops marks overlimit
collisions tx-bytes tx-packets
0 2 0 0 245103 470812 0 0 2 1232820484 1844136




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

                 reply	other threads:[~2016-10-09 17:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CAA93jw7MSnF0voOkGFJVZejpwWgaPj2Qsk_jGdjVLVHbmOkbDw@mail.gmail.com \
    --to=dave.taht@gmail.com \
    --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