[Make-wifi-fast] Testing the LEDE nbd/staging branch

Dave Taht dave.taht at gmail.com
Mon Aug 29 18:22:23 EDT 2016

I have tested toke's wndr3800 build below, and with psk2+ccmp crypto
enabled, using an osx box
to drive the tests, I can get 210Mbit wifi downloads and uploads for
nearly any number of flows. Fairness is nearly perfect. w00t!

Regrettably my laptop is still running the broken code (and toke's got
patches to send), so I can't test the linux wifi on that laptop.

I(or someone with a non-borken laptop running) need to test tkip and
other forms of aes... see table here for how to configure


One really impressive thing, during a 24 flow download test, was how
good packet aggregation got.

Total packet count::    ideal 7702277      lookaround 4715
Average # of aggregated frames per A-MPDU: 31.8

I have never, driving tests with tcp, seen it get that good (nor have
I tested via an osx box much)

The script that I'm basically using, if you'd like to replicate my
results with your hardware/conditions with various forms of crypto on
(and please compare against off!).


flent -t "psk2-cc-ht40-osx-ether" -H -l 30 rrul
flent -t "psk2-cc-ht40-osx-ether" -H -l 30 rrul_be

for i in 1 2 4 8 12 16 24;
flent -t "psk2-cc-ht40-$i-flows-osx-ether" -H -l 30
--test-parameter=upload_streams=$i tcp_nup
flent -t "psk2-cc-ht40-$i-flows-osx-ether" -H -l 30
--test-parameter=download_streams=$i tcp_ndown

On Mon, Aug 29, 2016 at 2:09 PM, Toke Høiland-Jørgensen <toke at toke.dk> wrote:
> Richard Smith <smithbone at gmail.com> writes:
>> On 08/29/2016 04:01 PM, Dave Taht wrote:
>>> I guess I'm confused - does felix's repo also have your airtime
>>> fairness scheduler?
>> I may have confused you.  I added the patches from your "wifi airtime fairness
>> patches could use eyeballs and testing" post to the nbd/staging branch.
>> The email (indirectly) suggested that was the branch to use.
> Yup, that's the right thing to do.
> I think I managed to fix the remaining crypto bug. Will send an updated
> patch tomorrow (need to extract it from my pile of test versions). In
> the meantime, here are some images with the patch applied if someone
> wants to go ahead and test before then:
> https://kau.toke.dk/experiments/softq-debug/
> -Toke

Dave Täht
Let's go make home routers and wifi faster! With better software!

More information about the Make-wifi-fast mailing list