Hi want to set sqm for a friend's router, its a D-Link DGL-5500 with latest snapshot firmware (linux 4.14.91-1). Internet speed is Cable 200mb/20mb, dslreports speed test says 174/19.23mb and C in Bufferbloat (the test runs for about 16s for dl and ul).
I'm trying to set SQM like this
config queue 'eth1'
option debug_logging '0'
option verbosity '5'
option linklayer 'ethernet'
option interface 'eth0.2'
option overhead '18'
option qdisc_advanced '1'
option squash_ingress '1'
option qdisc_really_really_advanced '1'
option squash_dscp '1'
option ingress_ecn 'ECN'
option egress_ecn 'NOECN'
option download '0'
option eqdisc_opts 'nat dual-srchost'
option qdisc 'cake'
option script 'layer_cake.qos'
option upload '17000'
option enabled '1'
like this dslreports says A in bufferbloat but the speeds are not good enough 40mb/16.17mb.
here are the other reports
root@DGL-5500:~# 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 8074: dev eth0.2 root refcnt 2 bandwidth 17Mbit diffserv3 dual-srchost nat nowash no-ack-filter split-gso rtt 100.0ms noatm overhead 18
qdisc noqueue 0: dev wlan1 root refcnt 2
qdisc noqueue 0: dev wlan0 root refcnt 2
qdisc noqueue 0: dev wlan1-1 root refcnt 2
root@DGL-5500:~# 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 1880220469 bytes 3413006 pkt (dropped 0, overlimits 0 requeues 169)
backlog 0b 0p requeues 169
maxpacket 1514 drop_overlimit 0 new_flow_count 171 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 8074: dev eth0.2 root refcnt 2 bandwidth 17Mbit diffserv3 dual-srchost nat nowash no-ack-filter split-gso rtt 100.0ms noatm overhead 18
Sent 83880 bytes 309 pkt (dropped 0, overlimits 39 requeues 0)
backlog 0b 0p requeues 0
memory used: 8960b of 4Mb
capacity estimate: 17Mbit
min/max network layer size: 28 / 1500
min/max overhead-adjusted size: 46 / 1518
average network hdr offset: 10
Bulk Best Effort Voice
thresh 1062Kbit 17Mbit 4250Kbit
target 17.1ms 5.0ms 5.0ms
interval 112.1ms 100.0ms 100.0ms
pk_delay 9us 855us 49us
av_delay 0us 54us 0us
sp_delay 0us 17us 0us
backlog 0b 0b 0b
pkts 4 299 6
bytes 272 83110 498
way_inds 0 0 0
way_miss 1 41 2
way_cols 0 0 0
drops 0 0 0
marks 0 0 0
ack_drop 0 0 0
sp_flows 0 0 1
bk_flows 0 0 0
un_flows 0 0 0
max_len 74 3882 202
quantum 300 518 300
qdisc noqueue 0: dev wlan1 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 noqueue 0: dev wlan1-1 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
root@DGL-5500:~#
What do you guys think?? I'd like it to have around 190mb/18mb and good bufferbloat.