Once again, thanks for looking into this, and sorry for being slow. Here are the results for 4.13-rc3 kernel using BBR congestion control:
kir@kd:~/wifiperf/4.13-rc3/2$ cat results
limit = max(2 * skb->truesize, sk->sk_pacing_rate >> 10);
min 7.64 max 17.30 avg 13.92 num 40
limit = max(2 * skb->truesize, sk->sk_pacing_rate >> 6);
min 52.20 max 95.90 avg 73.25 num 40
limit = max(2 * skb->truesize, sk->sk_pacing_rate >> 7);
min 17.20 max 94.80 avg 57.54 num 40
limit = max(2 * skb->truesize, sk->sk_pacing_rate >> 8);
min 19.00 max 80.40 avg 65.97 num 40
limit = max(4 * skb->truesize, sk->sk_pacing_rate >> 7);
min 53.30 max 92.50 avg 69.37 num 40
limit = max(4 * skb->truesize, sk->sk_pacing_rate >> 8);
min 38.40 max 84.20 avg 61.54 num 40
There is not much difference in throughput (unless with default values), maybe the reason is absolute numbers are slow (my T440s wifi is about twice as fast), so there is something else involved.
Eric,
Once again, thanks for looking into this, and sorry for being slow. Here are the results for 4.13-rc3 kernel using BBR congestion control:
kir@kd: ~/wifiperf/ 4.13-rc3/ 2$ cat results
limit = max(2 * skb->truesize, sk->sk_pacing_rate >> 10);
min 7.64 max 17.30 avg 13.92 num 40
limit = max(2 * skb->truesize, sk->sk_pacing_rate >> 6);
min 52.20 max 95.90 avg 73.25 num 40
limit = max(2 * skb->truesize, sk->sk_pacing_rate >> 7);
min 17.20 max 94.80 avg 57.54 num 40
limit = max(2 * skb->truesize, sk->sk_pacing_rate >> 8);
min 19.00 max 80.40 avg 65.97 num 40
limit = max(4 * skb->truesize, sk->sk_pacing_rate >> 7);
min 53.30 max 92.50 avg 69.37 num 40
limit = max(4 * skb->truesize, sk->sk_pacing_rate >> 8);
min 38.40 max 84.20 avg 61.54 num 40
There is not much difference in throughput (unless with default values), maybe the reason is absolute numbers are slow (my T440s wifi is about twice as fast), so there is something else involved.
Do you need to test for cubic cc?