SQM does not work, speeds too inconsistent?

Hey everyone,

I have been struggling with very poor internet performance for quite a while now. I've had a AX3600 with OpenWRT installed on it for about a year and still struggle with performance. I currently have Spectrum internet, non symmetrical. The speeds are advertised at 1Gb but obviously I get around 40mbps upload, while getting about 950mbps down. Simple enough, I set my SQM to 95% of my speeds and call it a day. Unfortunately, that doesn't solve anything.

I am unsure if it's on my end, or my ISP, but every speed test I do has drastically different download speeds. The only consistency is the upload and how bad my ping spikes. As I am typing this I am getting 650 down, so I set my SQM to 95% of that and it does nothing. It slows my speeds but does not reduce bufferbloat, ping spikes, or jitter in any capacity.

I've read about a SQM script that adapts (can't recall the name) to your speed fluctuations but have never tried it as I couldn't get it to work. However, I can't imagine that's the solution I need considering even when adjusting for current speeds, my SQM just doesn't actually do anything positive. I've spent months and months dealing with this poor internet performance and see no light at the end of the tunnel.

Can the AX3600 shape at 1Gbit/s?

1 Like

I'm thinking it can't. I did buy it when I only had half gig speeds. Anyways, even with it set to 500 or lower, it doesn't effect performance positively at all

Well, let's start with the fundamentals for the static sqm installation (this is a decent basis for cake-autorate so this should not be wasted time even if the problem requires cake-autorate in the end):
Please post the output of:

  1. ifstatus wan
  2. cat /etc/config/sqm
  3. tc -s qdisc
  4. run a speedtest on https://speed.cloudflare.com (use a real computer connected via ethernet to the router)
  5. once that finished tc -s qdisc again
  6. take a screenshot of the full results page of 4 and post it to this thread

Thanks for the response, hope this is the right info

root@OpenWrt:~# ifstatus wan
{
"up": true,
"pending": false,
"available": true,
"autostart": true,
"dynamic": false,
"uptime": 166455,
"l3_device": "wan",
"proto": "dhcp",
"device": "wan",
"metric": 0,
"dns_metric": 0,
"delegation": true,
"ipv4-address": [
{
"address": "68.186.152.49",
"mask": 23
}
],
"ipv6-address": [

    ],
    "ipv6-prefix": [

    ],
    "ipv6-prefix-assignment": [

    ],
    "route": [
            {
                    "target": "0.0.0.0",
                    "mask": 0,
                    "nexthop": "68.186.152.1",
                    "source": "68.186.152.49/32"
            }
    ],
    "dns-server": [
            "71.10.216.2",
            "71.10.216.1"
    ],
    "dns-search": [

    ],
    "neighbors": [

    ],
    "inactive": {
            "ipv4-address": [

            ],
            "ipv6-address": [

            ],
            "route": [

            ],
            "dns-server": [

            ],
            "dns-search": [

            ],
            "neighbors": [

            ]
    },
    "data": {
            "dhcpserver": "47.132.80.1",
            "hostname": "OpenWrt",
            "leasetime": 86400
    }

}

root@OpenWrt:~# cat /etc/config/sqm

config queue
option enabled '1'
option interface 'wan'
option download '900000'
option upload '30000'
option debug_logging '0'
option verbosity '5'
option qdisc 'cake'
option script 'piece_of_cake.qos'
option linklayer 'ethernet'
option overhead '22'

root@OpenWrt:~# 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 mq 0: dev lan4 root
Sent 14897244912 bytes 10370341 pkt (dropped 0, overlimits 0 requeues 20991)
backlog 0b 0p requeues 20991
qdisc fq_codel 0: dev lan4 parent :4 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 2368627963 bytes 1667722 pkt (dropped 0, overlimits 0 requeues 3631)
backlog 0b 0p requeues 3631
maxpacket 1514 drop_overlimit 0 new_flow_count 286 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev lan4 parent :3 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 4678883311 bytes 3259748 pkt (dropped 0, overlimits 0 requeues 8802)
backlog 0b 0p requeues 8802
maxpacket 1514 drop_overlimit 0 new_flow_count 528 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev lan4 parent :2 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 4706847324 bytes 3257617 pkt (dropped 0, overlimits 0 requeues 8175)
backlog 0b 0p requeues 8175
maxpacket 1514 drop_overlimit 0 new_flow_count 502 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev lan4 parent :1 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 3142886314 bytes 2185254 pkt (dropped 0, overlimits 0 requeues 383)
backlog 0b 0p requeues 383
maxpacket 1514 drop_overlimit 0 new_flow_count 397 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc mq 0: dev lan3 root
Sent 10678936735 bytes 9802413 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc fq_codel 0: dev lan3 parent :4 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 2063705624 bytes 1896020 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 lan3 parent :3 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 2894655234 bytes 2675762 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 lan3 parent :2 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 3812586524 bytes 3349334 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 lan3 parent :1 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 1907989353 bytes 1881297 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 lan2 root
Sent 47886712287 bytes 34915535 pkt (dropped 0, overlimits 0 requeues 297)
backlog 0b 0p requeues 297
qdisc fq_codel 0: dev lan2 parent :4 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 13471157001 bytes 9715406 pkt (dropped 0, overlimits 0 requeues 33)
backlog 0b 0p requeues 33
maxpacket 1514 drop_overlimit 0 new_flow_count 3 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev lan2 parent :3 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 14934835099 bytes 11013024 pkt (dropped 0, overlimits 0 requeues 238)
backlog 0b 0p requeues 238
maxpacket 1514 drop_overlimit 0 new_flow_count 7 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev lan2 parent :2 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 9620225923 bytes 6911497 pkt (dropped 0, overlimits 0 requeues 22)
backlog 0b 0p requeues 22
maxpacket 1514 drop_overlimit 0 new_flow_count 2 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev lan2 parent :1 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 9860494264 bytes 7275608 pkt (dropped 0, overlimits 0 requeues 4)
backlog 0b 0p requeues 4
maxpacket 1514 drop_overlimit 0 new_flow_count 6 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc mq 0: dev lan1 root
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc fq_codel 0: dev lan1 parent :4 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
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 lan1 parent :3 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
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 lan1 parent :2 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
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 lan1 parent :1 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
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 802f: dev wan root refcnt 5 bandwidth 30Mbit besteffort triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms noatm overhead 44
Sent 393366435 bytes 1440732 pkt (dropped 109164, overlimits 2402906 requeues 6084)
backlog 0b 0p requeues 6084
memory used: 4195776b of 4Mb
capacity estimate: 30Mbit
min/max network layer size: 28 / 1500
min/max overhead-adjusted size: 72 / 1544
average network hdr offset: 14

              Tin 0

thresh 30Mbit
target 5ms
interval 100ms
pk_delay 385us
av_delay 34us
sp_delay 1us
backlog 0b
pkts 1549896
bytes 405152539
way_inds 4529
way_miss 4114
way_cols 0
drops 109164
marks 15555
ack_drop 0
sp_flows 1
bk_flows 1
un_flows 0
max_len 8604
quantum 915

qdisc ingress ffff: dev wan parent ffff:fff1 ----------------
Sent 5940484322 bytes 5074195 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 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 cake 8030: dev ifb4wan root refcnt 2 bandwidth 950Mbit besteffort triple-isolate nonat wash no-ack-filter split-gso rtt 100ms noatm overhead 44
Sent 6108562236 bytes 5074191 pkt (dropped 4, overlimits 2764038 requeues 0)
backlog 0b 0p requeues 0
memory used: 4998530b of 15140Kb
capacity estimate: 950Mbit
min/max network layer size: 46 / 1500
min/max overhead-adjusted size: 90 / 1544
average network hdr offset: 14

              Tin 0

thresh 950Mbit
target 5ms
interval 100ms
pk_delay 4us
av_delay 1us
sp_delay 0us
backlog 0b
pkts 5074195
bytes 6108567960
way_inds 10416
way_miss 4369
way_cols 0
drops 4
marks 41
ack_drop 0
sp_flows 0
bk_flows 1
un_flows 0
max_len 68130
quantum 1514

root@OpenWrt:~# ^C

root@OpenWrt:~# 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 mq 0: dev lan4 root
Sent 14897699519 bytes 10372025 pkt (dropped 0, overlimits 0 requeues 20991)
backlog 0b 0p requeues 20991
qdisc fq_codel 0: dev lan4 parent :4 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 2368706835 bytes 1667881 pkt (dropped 0, overlimits 0 requeues 3631)
backlog 0b 0p requeues 3631
maxpacket 1514 drop_overlimit 0 new_flow_count 286 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev lan4 parent :3 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 4679032093 bytes 3260490 pkt (dropped 0, overlimits 0 requeues 8802)
backlog 0b 0p requeues 8802
maxpacket 1514 drop_overlimit 0 new_flow_count 528 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev lan4 parent :2 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 4707032257 bytes 3258175 pkt (dropped 0, overlimits 0 requeues 8175)
backlog 0b 0p requeues 8175
maxpacket 1514 drop_overlimit 0 new_flow_count 502 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev lan4 parent :1 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 3142928334 bytes 2185479 pkt (dropped 0, overlimits 0 requeues 383)
backlog 0b 0p requeues 383
maxpacket 1514 drop_overlimit 0 new_flow_count 397 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc mq 0: dev lan3 root
Sent 10680909086 bytes 9804903 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc fq_codel 0: dev lan3 parent :4 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 2063802800 bytes 1896204 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 lan3 parent :3 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 2894736769 bytes 2676321 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 lan3 parent :2 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 3813418339 bytes 3350192 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 lan3 parent :1 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 1908951178 bytes 1882186 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 lan2 root
Sent 47886744721 bytes 34915785 pkt (dropped 0, overlimits 0 requeues 297)
backlog 0b 0p requeues 297
qdisc fq_codel 0: dev lan2 parent :4 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 13471159423 bytes 9715425 pkt (dropped 0, overlimits 0 requeues 33)
backlog 0b 0p requeues 33
maxpacket 1514 drop_overlimit 0 new_flow_count 3 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev lan2 parent :3 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 14934850221 bytes 11013145 pkt (dropped 0, overlimits 0 requeues 238)
backlog 0b 0p requeues 238
maxpacket 1514 drop_overlimit 0 new_flow_count 7 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev lan2 parent :2 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 9620228349 bytes 6911519 pkt (dropped 0, overlimits 0 requeues 22)
backlog 0b 0p requeues 22
maxpacket 1514 drop_overlimit 0 new_flow_count 2 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev lan2 parent :1 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 9860506728 bytes 7275696 pkt (dropped 0, overlimits 0 requeues 4)
backlog 0b 0p requeues 4
maxpacket 1514 drop_overlimit 0 new_flow_count 6 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc mq 0: dev lan1 root
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc fq_codel 0: dev lan1 parent :4 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
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 lan1 parent :3 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
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 lan1 parent :2 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
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 lan1 parent :1 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
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 8033: dev wan root refcnt 5 bandwidth 30Mbit besteffort triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms noatm overhead 22
Sent 37039 bytes 92 pkt (dropped 0, overlimits 47 requeues 0)
backlog 0b 0p requeues 0
memory used: 28864b of 4Mb
capacity estimate: 30Mbit
min/max network layer size: 40 / 1500
min/max overhead-adjusted size: 62 / 1522
average network hdr offset: 4

              Tin 0

thresh 30Mbit
target 5ms
interval 100ms
pk_delay 2.12ms
av_delay 71us
sp_delay 1us
backlog 0b
pkts 92
bytes 37039
way_inds 0
way_miss 17
way_cols 0
drops 0
marks 0
ack_drop 0
sp_flows 1
bk_flows 1
un_flows 0
max_len 2298
quantum 915

qdisc ingress ffff: dev wan parent ffff:fff1 ----------------
Sent 82236 bytes 1285 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 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 cake 8034: dev ifb4wan root refcnt 2 bandwidth 900Mbit besteffort triple-isolate nonat wash no-ack-filter split-gso rtt 100ms noatm overhead 22
Sent 100278 bytes 1285 pkt (dropped 0, overlimits 14 requeues 0)
backlog 0b 0p requeues 0
memory used: 7872b of 15140Kb
capacity estimate: 900Mbit
min/max network layer size: 46 / 1500
min/max overhead-adjusted size: 68 / 1522
average network hdr offset: 14

              Tin 0

thresh 900Mbit
target 5ms
interval 100ms
pk_delay 3us
av_delay 0us
sp_delay 0us
backlog 0b
pkts 1285
bytes 100278
way_inds 0
way_miss 19
way_cols 0
drops 0
marks 0
ack_drop 0
sp_flows 0
bk_flows 1
un_flows 0
max_len 2415
quantum 1514

root@OpenWrt:~# 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 mq 0: dev lan4 root
Sent 15402996200 bytes 10747874 pkt (dropped 0, overlimits 0 requeues 22366)
backlog 0b 0p requeues 22366
qdisc fq_codel 0: dev lan4 parent :4 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 2871547666 bytes 2026639 pkt (dropped 0, overlimits 0 requeues 5006)
backlog 0b 0p requeues 5006
maxpacket 1514 drop_overlimit 0 new_flow_count 289 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev lan4 parent :3 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 4680764160 bytes 3275122 pkt (dropped 0, overlimits 0 requeues 8802)
backlog 0b 0p requeues 8802
maxpacket 1514 drop_overlimit 0 new_flow_count 528 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev lan4 parent :2 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 4707321768 bytes 3258811 pkt (dropped 0, overlimits 0 requeues 8175)
backlog 0b 0p requeues 8175
maxpacket 1514 drop_overlimit 0 new_flow_count 502 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev lan4 parent :1 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 3143362606 bytes 2187302 pkt (dropped 0, overlimits 0 requeues 383)
backlog 0b 0p requeues 383
maxpacket 1514 drop_overlimit 0 new_flow_count 397 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc mq 0: dev lan3 root
Sent 10683028571 bytes 9808173 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc fq_codel 0: dev lan3 parent :4 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 2063838604 bytes 1896365 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 lan3 parent :3 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 2896102836 bytes 2678410 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 lan3 parent :2 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 3813966587 bytes 3350781 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 lan3 parent :1 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 1909120544 bytes 1882617 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 lan2 root
Sent 47886839239 bytes 34916466 pkt (dropped 0, overlimits 0 requeues 297)
backlog 0b 0p requeues 297
qdisc fq_codel 0: dev lan2 parent :4 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 13471169348 bytes 9715453 pkt (dropped 0, overlimits 0 requeues 33)
backlog 0b 0p requeues 33
maxpacket 1514 drop_overlimit 0 new_flow_count 3 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev lan2 parent :3 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 14934885357 bytes 11013381 pkt (dropped 0, overlimits 0 requeues 238)
backlog 0b 0p requeues 238
maxpacket 1514 drop_overlimit 0 new_flow_count 7 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev lan2 parent :2 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 9620243743 bytes 6911564 pkt (dropped 0, overlimits 0 requeues 22)
backlog 0b 0p requeues 22
maxpacket 1514 drop_overlimit 0 new_flow_count 2 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev lan2 parent :1 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 9860540791 bytes 7276068 pkt (dropped 0, overlimits 0 requeues 4)
backlog 0b 0p requeues 4
maxpacket 1514 drop_overlimit 0 new_flow_count 6 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc mq 0: dev lan1 root
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc fq_codel 0: dev lan1 parent :4 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
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 lan1 parent :3 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
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 lan1 parent :2 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
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 lan1 parent :1 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
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 8033: dev wan root refcnt 5 bandwidth 30Mbit besteffort triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms noatm overhead 22
Sent 54781118 bytes 88306 pkt (dropped 7909, overlimits 150247 requeues 8933)
backlog 0b 0p requeues 8933
memory used: 4195776b of 4Mb
capacity estimate: 30Mbit
min/max network layer size: 40 / 1500
min/max overhead-adjusted size: 62 / 1522
average network hdr offset: 14

              Tin 0

thresh 30Mbit
target 5ms
interval 100ms
pk_delay 1.53ms
av_delay 162us
sp_delay 1us
backlog 0b
pkts 96215
bytes 55569124
way_inds 0
way_miss 130
way_cols 0
drops 7909
marks 61
ack_drop 0
sp_flows 2
bk_flows 1
un_flows 1
max_len 5896
quantum 915

qdisc ingress ffff: dev wan parent ffff:fff1 ----------------
Sent 495650465 bytes 405618 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 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 cake 8034: dev ifb4wan root refcnt 2 bandwidth 900Mbit besteffort triple-isolate nonat wash no-ack-filter split-gso rtt 100ms noatm overhead 22
Sent 511419735 bytes 405617 pkt (dropped 1, overlimits 49304 requeues 0)
backlog 0b 0p requeues 0
memory used: 9858634b of 15140Kb
capacity estimate: 900Mbit
min/max network layer size: 46 / 1500
min/max overhead-adjusted size: 68 / 1522
average network hdr offset: 14

              Tin 0

thresh 900Mbit
target 5ms
interval 100ms
pk_delay 15us
av_delay 2us
sp_delay 0us
backlog 0b
pkts 405618
bytes 511421169
way_inds 0
way_miss 167
way_cols 0
drops 1
marks 147
ack_drop 0
sp_flows 0
bk_flows 1
un_flows 0
max_len 17368
quantum 1514

I have gotten SQM Autorate to work and it seems to help but I am not sure how to actually set the min/max

Could you re-do same test with default qdiscs, i.e SQM off?


second attempt

cake just makes things worse? what line characteristics you have subscribed?

Sorry, I'm not well versed in this type of stuff and not sure exactly what you're asking. Are you talking about my SQM settings or my ISP? lol

There is a mismatch here, you specified 22 but got 44...

Let's start with getting the base sqm/cake setting improved first please...

try adding:

	option iqdisc_opts 'dual-dsthost ingress memlimit 32mb mpu 64'
	option eqdisc_opts 'dual-srchost ack-filter memlimit 8mb mpu 64'

to /etc/config/sqm

The soc seems to sport 4 arm a53's at lowish frequency, so I guess packet steering and irqbalance might be required here.

Could you please disable sqm and reperat the cloudflare test (and post the result) I guess we should start getting the egress/upload shaping optimized...
EDIT: I see you did that, please try changing:

option download '900000'
option upload '30000'

to

option download '0'
option upload '32000'

and repeat the test and post the results, please (this will disable the download shaper for now, let's start with getting the upload shaper in shape (pardon the pun))...
also please post a FULL screenshot of the test page, I want to see it all, not just the result box.

1 Like

What you paid for....

I have a 1gig spectrum cable connection, but its non symmetrical. It's rated at 1gb/40mb

Sorry, I must've grabbed an old command reply but I tested with 22.

Here are the results with the new QDisc options present and only egress shaping

I apologize in advance, but I did get SQM Autorate working after this post was made and am not sure if it is currently active or not, and am unsure how to disable it if so. This test could have autorate active, I am not positive but assume it is active unfortunately.

30ms latency looks like you are fighting some kind of QoS in the CPE.
try fast.con waveform.com/tools/bufferbloat speedtest.net if any reaches <30ms idle latency.
check that in network/interfaces/global options you have packet steering on.

Packet steering is enabled. Would you like me to post test results of fast com with or without SQM?

Just to see if all tests confirm idle latency is fixed at 30ms+ which means we have to adapt to it.

Probably your ISP line is very inconsistent (mine is when it rains :frowning: ) or upload being only 40 Mbps is too low to handle 1 Gbps downloads...

I also have a Xiaomi AX3600 router in a 1 Gbps / 400 Mbps line, and with official openwrt I had speedtests of 940 Gbps and never set SQM.

Now I'm testing with NSS builds and SQM, but it also goes great without SQM.

1 Like

Yeah, it's super unfortunate. I do believe it's too inconsistent for static SQM.


SQM disabled