Hello,
I just got a Ubiquiti ER-X, installed OpenWrt on it. Then I installed SQM and tried out some configuration.
But my Download speed is jumping a lot. Maybe I did something wrong?
Without SQM: 210 Mbit down, 15 Mbit up
I get the 210Mbit constantly without any jumps
With SQM it is jumping a lot:
Downloads are relatively slow and jumping. Speedtests are fine
Config:
cat /etc/config/sqm
config queue 'eth1'
option qdisc_advanced '0'
option debug_logging '0'
option verbosity '5'
option script 'piece_of_cake.qos'
option linklayer 'ethernet'
option overhead '22'
option qdisc 'cake'
option interface 'eth0.2'
option upload '11500'
option download '193536'
option enabled '1'
tc -d qdisc
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 memory_limit 4Mb ecn
qdisc noqueue 0: dev br-lan root refcnt 2
qdisc noqueue 0: dev eth0.1 root refcnt 2
qdisc cake 8080: dev eth0.2 root refcnt 2 bandwidth 11500Kbit besteffort triple-isolate nonat nowash no-ack-filter split-gso rtt 100.0ms noatm overhead 22
qdisc ingress ffff: dev eth0.2 parent ffff:fff1 ----------------
qdisc cake 8081: dev ifb4eth0.2 root refcnt 2 bandwidth 193536Kbit besteffort triple-isolate nonat wash no-ack-filter split-gso rtt 100.0ms noatm overhead 22
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 fq_codel 0: dev eth0 root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn
Sent 23021130070 bytes 17520771 pkt (dropped 0, overlimits 0 requeues 1111)
backlog 0b 0p requeues 1111
maxpacket 27252 drop_overlimit 0 new_flow_count 291246 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 8080: dev eth0.2 root refcnt 2 bandwidth 11500Kbit besteffort triple-isolate nonat nowash no-ack-filter split-gso rtt 100.0ms noatm overhead 22
Sent 12382895 bytes 223399 pkt (dropped 1, overlimits 918 requeues 0)
backlog 0b 0p requeues 0
memory used: 28800b of 4Mb
capacity estimate: 11500Kbit
min/max network layer size: 28 / 1500
min/max overhead-adjusted size: 50 / 1522
average network hdr offset: 14
Tin 0
thresh 11500Kbit
target 5.0ms
interval 100.0ms
pk_delay 14us
av_delay 11us
sp_delay 9us
backlog 0b
pkts 223400
bytes 12384389
way_inds 0
way_miss 197
way_cols 0
drops 1
marks 0
ack_drop 0
sp_flows 2
bk_flows 1
un_flows 0
max_len 7470
quantum 350
qdisc ingress ffff: dev eth0.2 parent ffff:fff1 ----------------
Sent 2108479746 bytes 1444962 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc cake 8081: dev ifb4eth0.2 root refcnt 2 bandwidth 193536Kbit besteffort triple-isolate nonat wash no-ack-filter split-gso rtt 100.0ms noatm overhead 22
Sent 2158728344 bytes 1444923 pkt (dropped 39, overlimits 595971 requeues 0)
backlog 0b 0p requeues 0
memory used: 1506084b of 9450Kb
capacity estimate: 193536Kbit
min/max network layer size: 46 / 1500
min/max overhead-adjusted size: 68 / 1522
average network hdr offset: 14
Tin 0
thresh 193536Kbit
target 5.0ms
interval 100.0ms
pk_delay 3.2ms
av_delay 1.4ms
sp_delay 12us
backlog 0b
pkts 1444962
bytes 2158787390
way_inds 0
way_miss 196
way_cols 0
drops 39
marks 0
ack_drop 0
sp_flows 2
bk_flows 1
un_flows 0
max_len 66616
quantum 1514
Thank you