Sqm-scripts not working on startup

Hi, am unsure to the reasons this is occuring as I am using a snapshot as a stable release is not available for my device that is a Netgear DM200.

Basically sqm-scripts does not work on startup, if I make any changes to the ingree/egress it will start working, if I simply press restart in the startup section it will start.

Here is some info that may assist

cat /etc/config/sqm

config queue 'eth1'
                option linklayer 'none'
                option enabled '1'
                option interface 'dsl0'
                option debug_logging '0'
                option verbosity '5'
                option qdisc 'cake'
                option script 'piece_of_cake.qos'
                option qdisc_advanced '1'
                option squash_dscp '1'
                option squash_ingress '1'
                option ingress_ecn 'ECN'
                option egress_ecn 'NOECN'
                option qdisc_really_really_advanced '1'
                option download '18000'
                option upload '1200'

tc -s qdisc - not active

qdisc noqueue 0: dev lo root refcnt 2
     Sent 0 bytes 0 pkts (dropped 0, overlimits 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 94240496 bytes 76273 pkts (dropped 0, overlimits 0)
      maxpacket 86 drop_overlimit 0 new_flow_count 1 ecn_mark 0
      new_flows_len 0 old_flows_len 0
    qdisc noqueue 0: dev br-lan root refcnt 2
     Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
    qdisc fq_codel 0: dev dsl0 root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn
     Sent 27226396 bytes 52519 pkts (dropped 0, overlimits 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 dsl0.42 root refcnt 2
     Sent 0 bytes 0 pkts (dropped 0, overlimits 0)

tc -s qdisc - active

qdisc noqueue 0: dev lo root refcnt 2
 Sent 0 bytes 0 pkts (dropped 0, overlimits 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 94424599 bytes 76772 pkts (dropped 0, overlimits 0)
  maxpacket 86 drop_overlimit 0 new_flow_count 1 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc noqueue 0: dev br-lan root refcnt 2
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
qdisc cake 8004: dev dsl0 root refcnt 2 bandwidth 1200Kbit besteffort triple-isolate rtt 100.0ms raw total_overhead 14 hard_header_len 14
 Sent 2533 bytes 13 pkt (dropped 0, overlimits 2 requeues 0)
 backlog 0b 0p requeues 0
 memory used: 2080b of 4Mb
 capacity estimate: 1200Kbit
                  Tin 0
  thresh       1200Kbit
  target         15.1ms
  interval      110.1ms
  pk_delay        2.5ms
  av_delay         39us
  sp_delay         22us
  pkts               13
  bytes            2533
  way_inds            0
  way_miss            3
  way_cols            0
  drops               0
  marks               0
  ack_drop            0
  sp_flows            0
  bk_flows            1
  un_flows            0
  max_len          1502

qdisc ingress ffff: dev dsl0 parent ffff:fff1 ----------------
 Sent 1396 bytes 13 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev dsl0.42 root refcnt 2
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
qdisc cake 8005: dev ifb4dsl0 root refcnt 2 bandwidth 18Mbit besteffort triple-isolate wash rtt 100.0ms raw total_overhead 14 hard_header_len 14
 Sent 1578 bytes 13 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
 memory used: 2112b of 4Mb
 capacity estimate: 18Mbit
                  Tin 0
  thresh         18Mbit
  target          5.0ms
  interval      100.0ms
  pk_delay         21us
  av_delay          1us
  sp_delay          1us
  pkts               13
  bytes            1578
  way_inds            0
  way_miss            4
  way_cols            0
  drops               0
  marks               0
  ack_drop            0
  sp_flows            0
  bk_flows            1
  un_flows            0
  max_len           738

I have eth0 and dsl0.42 in a bridge on the LAN interface

Hopefully someone can point out how I can get this to work.

Thanks

I too have this problem on v19.07.3. After a power on or soft reboot SQM doesn't seem to work. However, I can get it working again a couple of ways. One is to un-check and re-check the enable box on the SQM page and the other is to click the restart button under System > Startup > sqm-qos.

I have noticed this odd behaviour for a while and thought it was just my router or custom firmware. It's good to see that I'm not alone on this. I would be intrigued to know if anyone has noticed this behaviour.

When I get time this weekend I will file a bug report so that it can be diagnosed properly.

The original post is from 2018...
But, please post the output of cat /etc/config/sqm, tc -s qdisc, ifstatus wan.

** cat /etc/config/sqm**

config queue 'eth1'
        option qdisc_advanced '0'
        option linklayer 'none'
        option download '300000'
        option upload '45000'
        option debug_logging '0'
        option verbosity '5'
        option qdisc 'cake'
        option script 'piece_of_cake.qos'
        option interface 'eth1.10'
        option enabled '1'

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 eth1 root
 Sent 65095075 bytes 117395 pkt (dropped 0, overlimits 0 requeues 3152)
 backlog 0b 0p requeues 3152
qdisc fq_codel 0: dev eth1 parent :8 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb 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 eth1 parent :7 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb 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 eth1 parent :6 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb 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 eth1 parent :5 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb 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 eth1 parent :4 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb 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 eth1 parent :3 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb 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 eth1 parent :2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb 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 eth1 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn
 Sent 65095075 bytes 117395 pkt (dropped 0, overlimits 0 requeues 3152)
 backlog 0b 0p requeues 3152
  maxpacket 1506 drop_overlimit 0 new_flow_count 1253 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc mq 0: dev eth0 root
 Sent 374977338 bytes 266204 pkt (dropped 0, overlimits 0 requeues 72)
 backlog 0b 0p requeues 72
qdisc fq_codel 0: dev eth0 parent :8 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb 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 eth0 parent :7 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb 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 eth0 parent :6 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb 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 eth0 parent :5 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb 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 eth0 parent :4 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb 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 eth0 parent :3 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb 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 eth0 parent :2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb 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 eth0 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn
 Sent 374977338 bytes 266204 pkt (dropped 0, overlimits 0 requeues 72)
 backlog 0b 0p requeues 72
  maxpacket 1498 drop_overlimit 0 new_flow_count 39 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc noqueue 0: dev br-IoT root refcnt 2
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev eth0.9 root refcnt 2
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev br-admin 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 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.5 root refcnt 2
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc cake 8006: dev ifb4eth1.10 root refcnt 2 bandwidth 300Mbit besteffort triple-isolate nonat wash no-ack-filter split-gso rtt 100.0ms raw overhead 0
 Sent 4514 bytes 34 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
 memory used: 1984b of 15000000b
 capacity estimate: 300Mbit
 min/max network layer size:           60 /     610
 min/max overhead-adjusted size:       60 /     610
 average network hdr offset:            2

                  Tin 0
  thresh        300Mbit
  target          5.0ms
  interval      100.0ms
  pk_delay         10us
  av_delay          0us
  sp_delay          0us
  backlog            0b
  pkts               34
  bytes            4514
  way_inds            0
  way_miss           14
  way_cols            0
  drops               0
  marks               0
  ack_drop            0
  sp_flows            1
  bk_flows            0
  un_flows            0
  max_len           610
  quantum          1514

qdisc mq 0: dev wlan0 root
 Sent 69102 bytes 388 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc fq_codel 0: dev wlan0 parent :4 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb 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 memory_limit 4Mb ecn
 Sent 69102 bytes 388 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 memory_limit 4Mb 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 :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb 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 wlan1 root
 Sent 374595 bytes 1143 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc fq_codel 0: dev wlan1 parent :4 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb 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 memory_limit 4Mb ecn
 Sent 232592 bytes 895 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 110 drop_overlimit 0 new_flow_count 1 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 memory_limit 4Mb ecn
 Sent 140353 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 wlan1 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn
 Sent 1650 bytes 6 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 wlan1-1 root
 Sent 533709 bytes 1178 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc fq_codel 0: dev wlan1-1 parent :4 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb 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-1 parent :3 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn
 Sent 511715 bytes 1035 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-1 parent :2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn
 Sent 16389 bytes 118 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-1 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn
 Sent 5605 bytes 25 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-1 root
 Sent 57854 bytes 259 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc fq_codel 0: dev wlan0-1 parent :4 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb 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-1 parent :3 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn
 Sent 57854 bytes 259 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-1 parent :2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb 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-1 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb 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 noqueue 0: dev eth1.10 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 1510 target 5.0ms interval 100.0ms memory_limit 4Mb ecn
 Sent 62507537 bytes 117288 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 1484 drop_overlimit 0 new_flow_count 45 ecn_mark 0
  new_flows_len 1 old_flows_len 2

ifstatus wan

{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "dynamic": false,
        "uptime": 349,
        "l3_device": "pppoe-wan",
        "proto": "pppoe",
        "device": "eth1.10",
        "updated": [
                "addresses"
        ],
        "metric": 0,
        "dns_metric": 0,
        "delegation": true,
        "ipv4-address": [
                {
                        "address": "123.123.123.123",
                        "mask": 32,
                        "ptpaddress": "172.16.15.208"
                }
        ],
        "ipv6-address": [
                {
                        "address": "",
                        "mask": 128
                }
        ],
        "ipv6-prefix": [

        ],
        "ipv6-prefix-assignment": [

        ],
        "route": [
                {
                        "target": "0.0.0.0",
                        "mask": 0,
                        "nexthop": "172.16.15.208",
                        "source": "0.0.0.0/0"
                }
        ],
        "dns-server": [
                "2620:119:35::35",
                "2620:119:35::53",
                "208.67.220.220",
                "208.67.222.222"
        ],
        "dns-search": [

        ],
        "neighbors": [

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

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [
                        "81.139.56.100",
                        "81.139.57.100"
                ],
                "dns-search": [

                ],
                "neighbors": [

                ]
        },
        "data": {

        }
}

sqm-qos doesn't seem to work from a physical power off and back on. I am able to get to sqm-qos working every time by doing a soft reboot through LuCI (System > Reboot > Perform reboot).

Thanks, you should probably instantiate SQM on pppoe-wan instead on eth1.10, with a bit of luck SQM's hotplug support will fix the issue for you.

1 Like

Setting PPoE-WAN fixed it. The problem I have now is the Wi-Fi is slow and caps out at 180Mbps rather than 290Mbps (with SQM enabled). Switching back to eth1.10 (wan) brings the wireless speeds back to full.

That sounds rather odd. How did you measure that and could you run and monitor the output of
top -d 1 on the router during the wifi testing? Please look at the %idle value during the test and report minimal and typical values (by just looking at the idle number during the test, no need for precise measurements). Also it would be nice if you could remind me what router make and model you use.

Sorry for the late reply.

My router is the Linksys WRT1900ACSv2

I have been testing with the Android Ookla Speedtest and Magic iPerf apps on a Samsung S8. I first disabled SQM for my initial tests and did half a dozen tests on the same server to ensure I was reaching maximum speeds that are just over 300Mbps on 5GHz.

SQM disabled
Ookla Speedtest = 300Mbps
iperf3 = 442Mbps
Minimum idle = 63%
Average idle = 70%

I then checked the Enable this SQM instance checkbox on the sqm-qos page and selected pppoe-wan (wan,wan-6) from the drop-down menu, clicked the save & apply button and retested on the same server. The download speeds now capped out at 170Mbps.

pppoe-wan (wan,wan_6)
Ookla Speedtest = 170Mbps
iperf3 = 434Mbps
Miniumum idle = 71%
Average idle = 75%

To ensure the test server wasn't being slow and giving me false readings, I immediately went back to the sqm-qos page, unchecked the checkbox, clicked the save & apply button and retested. The speeds went straight back up to 300Mbps.

SQM disabled
Ookla Speedtest = 303Mbps
iperf3 = 468Mbps
Minimum idle = 68%
Average idle = 74%

For the final test I selected eth1.10 (wan) from the dropdown menu on the sqm-qos page and retested. This time I maxed out at 280Mbps and thesr are the speeds I should be expecting.

eth1.10 (wan)
Ookla Speedtest = 281Mbps
iperf3 = 447Mbps
Minimum idle = 37%
Average idle = 50%

From the results it seems there is something throttling the WAN - WLAN speeds as iPerf3 is unaffected via LAN - WLAN.

I tried looking at the startup scripts for sqm-qos but it's too complex for me to understand. Obviously selecting pppoe fixes the startup issue but it's a shame I can't get it to behave the same way with whatever interface is selected.

Thanks a lot. Unfortunately I have no real idea why this seems to happen.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.