Before:
root@C2600v1_LEDE:~# tc -s 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 cake 800a: dev eth0 root refcnt 2 bandwidth 19Mbit diffserv4 dual-srchost nat rtt 300.0ms noatm overhead 18 via-ethernet mpu 64
Sent 809614439455 bytes 599197325 pkt (dropped 3273934, overlimits 1305927563 requeues 209)
backlog 0b 0p requeues 209
memory used: 2773797b of 4Mb
capacity estimate: 19Mbit
Bulk Best Effort Video Voice
thresh 1187Kbit 19Mbit 9500Kbit 4750Kbit
target 15.3ms 15.0ms 15.0ms 15.0ms
interval 300.3ms 300.0ms 300.0ms 300.0ms
pk_delay 0us 10.8ms 1.6ms 391us
av_delay 0us 2.9ms 498us 36us
sp_delay 0us 9us 16us 6us
pkts 0 602355318 76776 39181
bytes 0814367655375 97456448 4310912
way_inds 0 18231781 0 2
way_miss 0 12874502 437 2550
way_cols 0 3 0 0
drops 0 3273932 0 2
marks 0 0 0 0
sp_flows 0 1 0 0
bk_flows 0 0 0 0
un_flows 0 0 0 0
max_len 0 51476 1294 590
qdisc ingress ffff: dev eth0 parent ffff:fff1 ----------------
Sent 69513007617 bytes 430280650 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc fq_codel 0: dev eth1 root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
Sent 47817158910 bytes 408650053 pkt (dropped 2, overlimits 0 requeues 1896)
backlog 0b 0p requeues 1896
maxpacket 1514 drop_overlimit 0 new_flow_count 20078705 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 mq 0: dev wlan1 root
Sent 13960724893 bytes 10687067 pkt (dropped 246, overlimits 0 requeues 136)
backlog 0b 0p requeues 136
qdisc fq_codel 0: dev wlan1 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
Sent 1123186 bytes 5947 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 fq_codel 0: dev wlan1 parent :2 limit 10240p flows 1024 quantum 1514 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 fq_codel 0: dev wlan1 parent :3 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
Sent 13959601707 bytes 10681120 pkt (dropped 246, overlimits 0 requeues 136)
backlog 0b 0p requeues 136
maxpacket 1514 drop_overlimit 0 new_flow_count 62195 ecn_mark 0
new_flows_len 1 old_flows_len 2
qdisc fq_codel 0: dev wlan1 parent :4 limit 10240p flows 1024 quantum 1514 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 mq 0: dev wlan0 root
Sent 27091119598 bytes 20941085 pkt (dropped 0, overlimits 0 requeues 6)
backlog 0b 0p requeues 6
qdisc fq_codel 0: dev wlan0 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
Sent 38991 bytes 242 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 fq_codel 0: dev wlan0 parent :2 limit 10240p flows 1024 quantum 1514 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 fq_codel 0: dev wlan0 parent :3 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
Sent 27091080607 bytes 20940843 pkt (dropped 0, overlimits 0 requeues 6)
backlog 0b 0p requeues 6
maxpacket 1514 drop_overlimit 0 new_flow_count 16756 ecn_mark 0
new_flows_len 1 old_flows_len 1
qdisc fq_codel 0: dev wlan0 parent :4 limit 10240p flows 1024 quantum 1514 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 fq_codel 0: dev tun0 root refcnt 2 limit 10240p flows 1024 quantum 1500 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 cake 800b: dev ifb4eth0 root refcnt 2 bandwidth 237500Kbit diffserv4 dual-dsthost nat wash rtt 300.0ms noatm overhead 18 via-ethernet mpu 64
Sent 76131243971 bytes 430280017 pkt (dropped 633, overlimits 9784003 requeues 0)
backlog 0b 0p requeues 0
memory used: 4617920b of 15140Kb
capacity estimate: 237500Kbit
Bulk Best Effort Video Voice
thresh 14843Kbit 237500Kbit 118750Kbit 59375Kbit
target 15.0ms 15.0ms 15.0ms 15.0ms
interval 300.0ms 300.0ms 300.0ms 300.0ms
pk_delay 921us 190us 2.5ms 12us
av_delay 29us 58us 71us 7us
sp_delay 17us 9us 18us 2us
pkts 5252 421662502 1921235 6691661
bytes 466107 75073609726 656278435 401669417
way_inds 0 36060884 18285 0
way_miss 165 16392329 104283 483
way_cols 0 0 0 0
drops 0 621 10 2
marks 0 2 0 0
sp_flows 0 0 0 1
bk_flows 0 0 0 0
un_flows 0 0 0 0
max_len 1514 63588 56018 679
After:
root@C2600v1_LEDE:~# tc -s 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 cake 800a: dev eth0 root refcnt 2 bandwidth 19Mbit diffserv4 dual-srchost nat rtt 300.0ms noatm overhead 18 via-ethernet mpu 64
Sent 809705801995 bytes 599554680 pkt (dropped 3276003, overlimits 1306218367 requeues 209)
backlog 0b 0p requeues 209
memory used: 2773797b of 4Mb
capacity estimate: 19Mbit
Bulk Best Effort Video Voice
thresh 1187Kbit 19Mbit 9500Kbit 4750Kbit
target 15.3ms 15.0ms 15.0ms 15.0ms
interval 300.3ms 300.0ms 300.0ms 300.0ms
pk_delay 0us 1.3ms 1.4ms 4.1ms
av_delay 0us 787us 456us 128us
sp_delay 0us 5us 12us 6us
pkts 0 602713109 76815 40775
bytes 0814461827747 97506914 4499678
way_inds 0 18246049 0 13
way_miss 0 12874744 437 3273
way_cols 0 3 0 0
drops 0 3276001 0 2
marks 0 0 0 0
sp_flows 0 0 0 0
bk_flows 0 1 0 0
un_flows 0 0 0 0
max_len 0 51476 1294 590
qdisc ingress ffff: dev eth0 parent ffff:fff1 ----------------
Sent 70348003636 bytes 430901791 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc fq_codel 0: dev eth1 root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
Sent 48675758810 bytes 409265357 pkt (dropped 2, overlimits 0 requeues 1961)
backlog 0b 0p requeues 1961
maxpacket 1514 drop_overlimit 0 new_flow_count 20170324 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 mq 0: dev wlan1 root
Sent 13960751674 bytes 10687378 pkt (dropped 246, overlimits 0 requeues 136)
backlog 0b 0p requeues 136
qdisc fq_codel 0: dev wlan1 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
Sent 1124160 bytes 5951 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 fq_codel 0: dev wlan1 parent :2 limit 10240p flows 1024 quantum 1514 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 fq_codel 0: dev wlan1 parent :3 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
Sent 13959627514 bytes 10681427 pkt (dropped 246, overlimits 0 requeues 136)
backlog 0b 0p requeues 136
maxpacket 1514 drop_overlimit 0 new_flow_count 62195 ecn_mark 0
new_flows_len 1 old_flows_len 2
qdisc fq_codel 0: dev wlan1 parent :4 limit 10240p flows 1024 quantum 1514 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 mq 0: dev wlan0 root
Sent 27091139835 bytes 20941342 pkt (dropped 0, overlimits 0 requeues 6)
backlog 0b 0p requeues 6
qdisc fq_codel 0: dev wlan0 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
Sent 38991 bytes 242 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 fq_codel 0: dev wlan0 parent :2 limit 10240p flows 1024 quantum 1514 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 fq_codel 0: dev wlan0 parent :3 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
Sent 27091100844 bytes 20941100 pkt (dropped 0, overlimits 0 requeues 6)
backlog 0b 0p requeues 6
maxpacket 1514 drop_overlimit 0 new_flow_count 16756 ecn_mark 0
new_flows_len 1 old_flows_len 1
qdisc fq_codel 0: dev wlan0 parent :4 limit 10240p flows 1024 quantum 1514 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 fq_codel 0: dev tun0 root refcnt 2 limit 10240p flows 1024 quantum 1500 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 cake 800b: dev ifb4eth0 root refcnt 2 bandwidth 237500Kbit diffserv4 dual-dsthost nat wash rtt 300.0ms noatm overhead 18 via-ethernet mpu 64
Sent 76990311050 bytes 430900959 pkt (dropped 832, overlimits 9917564 requeues 0)
backlog 0b 0p requeues 0
memory used: 4617920b of 15140Kb
capacity estimate: 237500Kbit
Bulk Best Effort Video Voice
thresh 14843Kbit 237500Kbit 118750Kbit 59375Kbit
target 15.0ms 15.0ms 15.0ms 15.0ms
interval 300.0ms 300.0ms 300.0ms 300.0ms
pk_delay 921us 149us 2.5ms 29us
av_delay 29us 33us 70us 7us
sp_delay 17us 8us 13us 4us
pkts 5252 422280955 1921238 6694346
bytes 466107 75932813391 656278863 401830517
way_inds 0 36064118 18285 0
way_miss 165 16394848 104285 483
way_cols 0 0 0 0
drops 0 820 10 2
marks 0 2 0 0
sp_flows 0 0 0 1
bk_flows 0 0 0 0
un_flows 0 0 0 0
max_len 1514 51590 56018 679
For this test I disconnected the BitTorrent server from the network.
Speedtest:
For this test I reinstalled LEDE without SFE (Shortcut Forward Engine). I think it will be easier to diagnose the problem.
For this test I connected the BitTorrent server. The Internet speed has lowered without SFE.
Another one:
One thing is sure. Without SFE the download is hurting.