04-29-2016, 12:41 PM
using netperf and multiple streams, courtesy of the wrapper script: https://github.com/akhepcat/BettererSpeedTest
And then I enable qdisc, via custom wrapper script:
as you can see, my queuing still needs some tweaking to get the download speeds to recover to pre-queuing speeds,
but the upload speeds are quite nice.
Code:
qdisc is not enabled:
root@p64:~# lsmod | grep ifb | wc -l
0
root@p64:~# BettererSpeedTest
2016-04-29 10:29:38 Testing against speedtest (ipv4) with 20 simultaneous sessions while pinging oldspeedtest (30 seconds)
...............................
Download: 942 mb/s
Latency: (in msec, 31 pings, 0.00% packet loss)
Min: 0.306
10pct: 0.325
Median: 0.772
Avg: 1.032
90pct: 1.970
Max: 2.460
...................................
Upload: 575 mb/s
Latency: (in msec, 24 pings, 0.00% packet loss)
Min: 0.414
10pct: 0.424
Median: 42.400
Avg: 58.657
90pct: 137.000
Max: 253.000
And then I enable qdisc, via custom wrapper script:
Code:
root@p64:~# tc qdisc show
qdisc htb 1: dev eth0 root refcnt 2 r2q 625 default 11 direct_packets_stat 0 direct_qlen 1000
qdisc fq_codel 8002: dev eth0 parent 1:11 limit 10240p flows 1024 quantum 300 target 5.0ms interval 100.0ms
qdisc ingress ffff: dev eth0 parent ffff:fff1 ----------------
qdisc htb 1: dev ifb0 root refcnt 2 r2q 625 default 11 direct_packets_stat 0 direct_qlen 32
qdisc fq_codel 8001: dev ifb0 parent 1:11 limit 10240p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn
root@p64:~# BettererSpeedTest
2016-04-29 10:31:54 Testing against speedtest (ipv4) with 20 simultaneous sessions while pinging oldspeedtest (30 seconds)
..............................
Download: 505 mb/s
Latency: (in msec, 31 pings, 0.00% packet loss)
Min: 0.333
10pct: 0.365
Median: 0.457
Avg: 0.626
90pct: 0.546
Max: 5.740
..............................
Upload: 845 mb/s
Latency: (in msec, 29 pings, 0.00% packet loss)
Min: 0.368
10pct: 0.416
Median: 0.750
Avg: 2.315
90pct: 2.820
Max: 26.500
as you can see, my queuing still needs some tweaking to get the download speeds to recover to pre-queuing speeds,
but the upload speeds are quite nice.