Xiaomi MiWifi Nano router LEDE17.01.4 Jan.30/18
tc -s qdisc ; tc -d qdisc
TekSavvy SR505n VDSL2 modem: Rate (Kbps): 16192 11328 down/up (kbps)
SQM: 15000/10800kbps/pppoe-wan, 92.6%/95.3% of modem rate, getting great results
- Default optimum setting for the last few weeks:
SQM: 15000/10800kbps/pppoe-wan/cake/layer_cake/8bytes_overhead
14.33 megabit/s down, 7.68 megabit/s up
Overall A, BufferBloat A+, Quality A, Speed C
13ms/17ms/17msec idle/dl/ul Bufferbloat
root@MiWifiNano:~# tc -s qdisc ; tc -d qdisc
qdisc noqueue 0: dev lo root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc fq_codel 0: dev eth0 root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
Sent 46465872 bytes 56958 pkt (dropped 0, overlimits 0 requeues 4)
backlog 0b 0p requeues 4
maxpacket 1514 drop_overlimit 0 new_flow_count 8 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc noqueue 0: dev br-lan root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev eth0.1 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc cake 8004: dev eth0.2 root refcnt 2 bandwidth 10800Kbit diffserv3 triple-isolate rtt 100.0ms raw total_overhead 18 hard_header_len 18
Sent 22479209 bytes 25868 pkt (dropped 28, overlimits 24425 requeues 0)
backlog 0b 0p requeues 0
memory used: 22880b of 4Mb
capacity estimate: 10800Kbit
Bulk Best Effort Voice
thresh 675Kbit 10800Kbit 2700Kbit
target 27.0ms 5.0ms 6.7ms
interval 122.0ms 100.0ms 13.5ms
pk_delay 0us 82us 0us
av_delay 0us 23us 0us
sp_delay 0us 6us 0us
pkts 0 25896 0
bytes 0 22521825 0
way_inds 0 0 0
way_miss 0 351 0
way_cols 0 0 0
drops 0 28 0
marks 0 0 0
sp_flows 0 1 0
bk_flows 0 1 0
un_flows 0 0 0
max_len 0 1522 0
qdisc ingress ffff: dev eth0.2 parent ffff:fff1 ----------------
Sent 23795885 bytes 30014 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev wlan0 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc cake 8005: dev ifb4eth0.2 root refcnt 2 bandwidth 15Mbit besteffort triple-isolate wash rtt 100.0ms raw total_overhead 14 hard_header_len 14
Sent 23868541 bytes 29522 pkt (dropped 492, overlimits 35272 requeues 0)
backlog 0b 0p requeues 0
memory used: 84672b of 4Mb
capacity estimate: 15Mbit
Tin 0
thresh 15Mbit
target 5.0ms
interval 100.0ms
pk_delay 612us
av_delay 155us
sp_delay 6us
pkts 30014
bytes 24456193
way_inds 0
way_miss 360
way_cols 0
drops 492
marks 0
sp_flows 1
bk_flows 1
un_flows 0
max_len 1522
qdisc cake 800d: dev pppoe-wan root refcnt 2 bandwidth 10800Kbit diffserv3 triple-isolate rtt 100.0ms raw total_overhead 26 hard_header_len 26
Sent 21889966 bytes 25244 pkt (dropped 148, overlimits 27862 requeues 0)
backlog 0b 0p requeues 0
memory used: 77312b of 4Mb
capacity estimate: 10800Kbit
Bulk Best Effort Voice
thresh 675Kbit 10800Kbit 2700Kbit
target 27.0ms 5.0ms 6.7ms
interval 122.0ms 100.0ms 13.5ms
pk_delay 0us 947us 91us
av_delay 0us 242us 2us
sp_delay 0us 14us 2us
pkts 0 25380 12
bytes 0 22105364 1301
way_inds 0 0 0
way_miss 0 273 12
way_cols 0 0 0
drops 0 148 0
marks 0 0 0
sp_flows 0 1 0
bk_flows 0 0 0
un_flows 0 0 0
max_len 0 3070 270
qdisc ingress ffff: dev pppoe-wan parent ffff:fff1 ----------------
Sent 22879447 bytes 28893 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc cake 800e: dev ifb4pppoe-wan root refcnt 2 bandwidth 15Mbit besteffort triple-isolate wash rtt 100.0ms raw total_overhead 14 hard_header_len 14
Sent 23110591 bytes 28893 pkt (dropped 0, overlimits 11450 requeues 0)
backlog 0b 0p requeues 0
memory used: 8064b of 4Mb
capacity estimate: 15Mbit
Tin 0
thresh 15Mbit
target 5.0ms
interval 100.0ms
pk_delay 103us
av_delay 13us
sp_delay 4us
pkts 28893
bytes 23110591
way_inds 19
way_miss 288
way_cols 0
drops 0
marks 0
sp_flows 1
bk_flows 1
un_flows 0
max_len 1500
qdisc noqueue 0: dev lo root refcnt 2
qdisc fq_codel 0: dev eth0 root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
qdisc noqueue 0: dev br-lan root refcnt 2
qdisc noqueue 0: dev eth0.1 root refcnt 2
qdisc cake 8004: dev eth0.2 root refcnt 2 bandwidth 10800Kbit diffserv3 triple-isolate rtt 100.0ms raw total_overhead 18 hard_header_len 18
linklayer ethernet overhead 8
qdisc ingress ffff: dev eth0.2 parent ffff:fff1 ----------------
qdisc noqueue 0: dev wlan0 root refcnt 2
qdisc cake 8005: dev ifb4eth0.2 root refcnt 2 bandwidth 15Mbit besteffort triple-isolate wash rtt 100.0ms raw total_overhead 14 hard_header_len 14
linklayer ethernet overhead 8
qdisc cake 800d: dev pppoe-wan root refcnt 2 bandwidth 10800Kbit diffserv3 triple-isolate rtt 100.0ms raw total_overhead 26 hard_header_len 26
linklayer ethernet overhead 8
qdisc ingress ffff: dev pppoe-wan parent ffff:fff1 ----------------
qdisc cake 800e: dev ifb4pppoe-wan root refcnt 2 bandwidth 15Mbit besteffort triple-isolate wash rtt 100.0ms raw total_overhead 14 hard_header_len 14
linklayer ethernet overhead 8
root@MiWifiNano:~#
- SQM disabled:
15.17 megabit/s down, 8.92 megabit/s up
Overall B, BufferBloat B, Quality B, Speed B
12/38/72msec idle/dl/ul Bufferbloat
root@MiWifiNano:~# tc -s qdisc ; tc -d qdisc
qdisc noqueue 0: dev lo root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc fq_codel 0: dev eth0 root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
Sent 338667 bytes 1211 pkt (dropped 0, overlimits 0 requeues 3)
backlog 0b 0p requeues 3
maxpacket 542 drop_overlimit 0 new_flow_count 3 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc noqueue 0: dev br-lan root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev eth0.1 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev eth0.2 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev wlan0 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc fq_codel 0: dev pppoe-wan root refcnt 2 limit 10240p flows 1024 quantum 1518 target 5.0ms interval 100.0ms ecn
Sent 42971 bytes 290 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc noqueue 0: dev lo root refcnt 2
qdisc fq_codel 0: dev eth0 root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
qdisc noqueue 0: dev br-lan root refcnt 2
qdisc noqueue 0: dev eth0.1 root refcnt 2
qdisc noqueue 0: dev eth0.2 root refcnt 2
qdisc noqueue 0: dev wlan0 root refcnt 2
qdisc fq_codel 0: dev pppoe-wan root refcnt 2 limit 10240p flows 1024 quantum 1518 target 5.0ms interval 100.0ms ecn
root@MiWifiNano:~#
- Simple/fq_codel request from moeller0:
SQM: 15000/10800/pppoe/simple/fq_codel/0bytes
14.51 megabit/s, 9.52 megabit/s
Overall A, BufferBloat A, Quality A, Speed A
12/21/16msec idle/dl/ul Bufferbloat
root@MiWifiNano:~# tc -s qdisc ; tc -d qdisc
qdisc noqueue 0: dev lo root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc fq_codel 0: dev eth0 root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
Sent 46673912 bytes 61534 pkt (dropped 0, overlimits 0 requeues 3)
backlog 0b 0p requeues 3
maxpacket 542 drop_overlimit 0 new_flow_count 7 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc noqueue 0: dev br-lan root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev eth0.1 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev eth0.2 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev wlan0 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc htb 1: dev pppoe-wan root refcnt 2 r2q 10 default 12 direct_packets_stat 2 direct_qlen 3
Sent 23176317 bytes 30244 pkt (dropped 151, overlimits 42224 requeues 0)
backlog 0b 0p requeues 0
qdisc fq_codel 110: dev pppoe-wan parent 1:11 limit 1001p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn
Sent 245730 bytes 2672 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
maxpacket 576 drop_overlimit 0 new_flow_count 2225 ecn_mark 0
new_flows_len 0 old_flows_len 9
qdisc fq_codel 120: dev pppoe-wan parent 1:12 limit 1001p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn
Sent 22929816 bytes 27567 pkt (dropped 151, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
maxpacket 4476 drop_overlimit 0 new_flow_count 7407 ecn_mark 0
new_flows_len 1 old_flows_len 4
qdisc fq_codel 130: dev pppoe-wan parent 1:13 limit 1001p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc ingress ffff: dev pppoe-wan parent ffff:fff1 ----------------
Sent 22461950 bytes 33975 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc htb 1: dev ifb4pppoe-wan root refcnt 2 r2q 10 default 10 direct_packets_stat 0 direct_qlen 32
Sent 21971198 bytes 33540 pkt (dropped 435, overlimits 31516 requeues 0)
backlog 0b 0p requeues 0
qdisc fq_codel 110: dev ifb4pppoe-wan parent 1:10 limit 1001p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
Sent 21971198 bytes 33540 pkt (dropped 435, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
maxpacket 1492 drop_overlimit 0 new_flow_count 8466 ecn_mark 0
new_flows_len 1 old_flows_len 13
qdisc noqueue 0: dev lo root refcnt 2
qdisc fq_codel 0: dev eth0 root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
qdisc noqueue 0: dev br-lan root refcnt 2
qdisc noqueue 0: dev eth0.1 root refcnt 2
qdisc noqueue 0: dev eth0.2 root refcnt 2
qdisc noqueue 0: dev wlan0 root refcnt 2
qdisc htb 1: dev pppoe-wan root refcnt 2 r2q 10 default 12 direct_packets_stat 2 ver 3.17 direct_qlen 3
qdisc fq_codel 110: dev pppoe-wan parent 1:11 limit 1001p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn
qdisc fq_codel 120: dev pppoe-wan parent 1:12 limit 1001p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn
qdisc fq_codel 130: dev pppoe-wan parent 1:13 limit 1001p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn
qdisc ingress ffff: dev pppoe-wan parent ffff:fff1 ----------------
qdisc htb 1: dev ifb4pppoe-wan root refcnt 2 r2q 10 default 10 direct_packets_stat 0 ver 3.17 direct_qlen 32
qdisc fq_codel 110: dev ifb4pppoe-wan parent 1:10 limit 1001p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
root@MiWifiNano:~#