Ping spikes with sqm enabled

I just installed openwrt on my wrt3200acm using a PureFusion build, and I have set up cake sqm using the guidelines from this page. I just upgraded to this router, as my previous router did not have the cake qdisc available, and I am getting ping spikes still. I am connected via ethernet, and have connection speed of 70/18. What could I be doing wrong?

Please post the following information here
output of the following commands run on a ssh terminal to your router (please copy and past the text from the terminal window and paste it as preformatted text b clicking the "</>" icon in the forum tool bar)

  1. ifstatus wan
  2. cat /etc/config/sqm
  3. tc -s qdisc
  4. run a speedtest, e.g. the waveform bufferbloat test and post the link to the results here
  5. tc -s qdisc # again

also how did you notice the ping spikes (how did you measure them)?

What kind of link, DSL, cable/DOCSIS, or true fiber? And what ISP are you customer of?

{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "dynamic": false,
        "uptime": 3750,
        "l3_device": "pppoe-wan",
        "proto": "pppoe",
        "device": "wan",
        "updated": [
                "addresses",
                "routes"
        ],
        "metric": 0,
        "dns_metric": 0,
        "delegation": true,
        "ipv4-address": [
                {
                        "address": "147.148.165.226",
                        "mask": 32,
                        "ptpaddress": "172.16.10.197"
                }
        ],
        "ipv6-address": [
                {
                        "address": "fe80::3480:3774:7c12:4dd",
                        "mask": 128
                }
        ],
        "ipv6-prefix": [

        ],
        "ipv6-prefix-assignment": [

        ],
        "route": [
                {
                        "target": "0.0.0.0",
                        "mask": 0,
                        "nexthop": "172.16.10.197",
                        "source": "0.0.0.0/0"
                }
        ],
        "dns-server": [
                "1.1.1.1",
                "1.0.0.1"
        ],
        "dns-search": [

        ],
        "neighbors": [

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

                ],
                "ipv6-address": [

                ],
                "route": [

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

                ],
                "neighbors": [

                ]
        },
        "data": {

        }
}

config queue 'eth1'
        option qdisc 'cake'
        option script 'piece_of_cake.qos'
        option enabled '1'
        option interface 'pppoe-wan'
        option debug_logging '0'
        option verbosity '5'
        option linklayer 'ethernet'
        option overhead '34'
        option download '63000'
        option upload '16300'
        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 iqdisc_opts 'nat dual-dsthost'
        option eqdisc_opts 'nat dual-srchost'

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 eth0 root
 Sent 13932122335 bytes 13975736 pkt (dropped 0, overlimits 0 requeues 94)
 backlog 0b 0p requeues 94
qdisc fq_codel 0: dev eth0 parent :8 limit 10240p flows 1024 quantum 1522 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 eth0 parent :7 limit 10240p flows 1024 quantum 1522 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 eth0 parent :6 limit 10240p flows 1024 quantum 1522 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 eth0 parent :5 limit 10240p flows 1024 quantum 1522 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 eth0 parent :4 limit 10240p flows 1024 quantum 1522 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 eth0 parent :3 limit 10240p flows 1024 quantum 1522 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 eth0 parent :2 limit 10240p flows 1024 quantum 1522 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 eth0 parent :1 limit 10240p flows 1024 quantum 1522 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 13932122335 bytes 13975736 pkt (dropped 0, overlimits 0 requeues 94)
 backlog 0b 0p requeues 94
  maxpacket 36528 drop_overlimit 0 new_flow_count 4150 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc noqueue 0: dev lan4 root refcnt 2
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev lan3 root refcnt 2
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev lan2 root refcnt 2
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev lan1 root refcnt 2
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev wan 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 cake 8015: dev pppoe-wan root refcnt 2 bandwidth 16300Kbit besteffort dual-srchost nat nowash no-ack-filter split-gso rtt 100ms noatm overhead 34
 Sent 243826141 bytes 3820842 pkt (dropped 297, overlimits 5216196 requeues 0)
 backlog 0b 0p requeues 0
 memory used: 202240b of 4Mb
 capacity estimate: 16300Kbit
 min/max network layer size:           40 /    1460
 min/max overhead-adjusted size:       74 /    1494
 average network hdr offset:            0

                  Tin 0
  thresh      16300Kbit
  target            5ms
  interval        100ms
  pk_delay        293us
  av_delay         74us
  sp_delay          5us
  backlog            0b
  pkts          3821139
  bytes       244252809
  way_inds         6447
  way_miss         5342
  way_cols            0
  drops             297
  marks               0
  ack_drop            0
  sp_flows            2
  bk_flows            1
  un_flows            0
  max_len         13591
  quantum           497

qdisc ingress ffff: dev pppoe-wan parent ffff:fff1 ----------------
 Sent 11880432888 bytes 8224035 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc mq 0: dev wlan0 root
 Sent 15868486 bytes 73114 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 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 wlan0 parent :3 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 15867304 bytes 73109 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 1125 drop_overlimit 0 new_flow_count 274 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 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 wlan0 parent :1 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 1182 bytes 5 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 2083759306 bytes 1681324 pkt (dropped 0, overlimits 0 requeues 1)
 backlog 0b 0p requeues 1
qdisc fq_codel 0: dev wlan1 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 wlan1 parent :3 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 1913893389 bytes 1506993 pkt (dropped 0, overlimits 0 requeues 1)
 backlog 0b 0p requeues 1
  maxpacket 1514 drop_overlimit 0 new_flow_count 2553 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 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 1767 bytes 2 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 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 169864150 bytes 174329 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 951 drop_overlimit 0 new_flow_count 277 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc cake 8016: dev ifb4pppoe-wan root refcnt 2 bandwidth 63Mbit besteffort dual-dsthost nat wash no-ack-filter split-gso rtt 100ms noatm overhead 34
 Sent 11878219299 bytes 8222494 pkt (dropped 1527, overlimits 15822633 requeues 0)
 backlog 18980b 13p requeues 0
 memory used: 582Kb of 4Mb
 capacity estimate: 63Mbit
 min/max network layer size:           36 /    1460
 min/max overhead-adjusted size:       70 /    1494
 average network hdr offset:            0

                  Tin 0
  thresh         63Mbit
  target            5ms
  interval        100ms
  pk_delay       4.61ms
  av_delay       2.98ms
  sp_delay        466us
  backlog        18980b
  pkts          8224034
  bytes     11880431428
  way_inds          535
  way_miss         5145
  way_cols            0
  drops            1527
  marks               1
  ack_drop            0
  sp_flows            0
  bk_flows            2
  un_flows            0
  max_len          1460
  quantum          1514


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 eth0 root
 Sent 16110928735 bytes 16073477 pkt (dropped 0, overlimits 0 requeues 114)
 backlog 0b 0p requeues 114
qdisc fq_codel 0: dev eth0 parent :8 limit 10240p flows 1024 quantum 1522 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 eth0 parent :7 limit 10240p flows 1024 quantum 1522 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 eth0 parent :6 limit 10240p flows 1024 quantum 1522 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 eth0 parent :5 limit 10240p flows 1024 quantum 1522 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 eth0 parent :4 limit 10240p flows 1024 quantum 1522 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 eth0 parent :3 limit 10240p flows 1024 quantum 1522 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 eth0 parent :2 limit 10240p flows 1024 quantum 1522 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 eth0 parent :1 limit 10240p flows 1024 quantum 1522 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 16110928735 bytes 16073477 pkt (dropped 0, overlimits 0 requeues 114)
 backlog 0b 0p requeues 114
  maxpacket 36528 drop_overlimit 0 new_flow_count 7180 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc noqueue 0: dev lan4 root refcnt 2
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev lan3 root refcnt 2
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev lan2 root refcnt 2
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev lan1 root refcnt 2
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev wan 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 cake 8015: dev pppoe-wan root refcnt 2 bandwidth 16300Kbit besteffort dual-srchost nat nowash no-ack-filter split-gso rtt 100ms noatm overhead 34
 Sent 384122988 bytes 4498134 pkt (dropped 882, overlimits 6159431 requeues 0)
 backlog 0b 0p requeues 0
 memory used: 320640b of 4Mb
 capacity estimate: 16300Kbit
 min/max network layer size:           36 /    1460
 min/max overhead-adjusted size:       70 /    1494
 average network hdr offset:            0

                  Tin 0
  thresh      16300Kbit
  target            5ms
  interval        100ms
  pk_delay        421us
  av_delay        102us
  sp_delay          6us
  backlog            0b
  pkts          4499016
  bytes       385402802
  way_inds         6617
  way_miss         6387
  way_cols            0
  drops             882
  marks               0
  ack_drop            0
  sp_flows            0
  bk_flows            1
  un_flows            0
  max_len         14600
  quantum           497

qdisc ingress ffff: dev pppoe-wan parent ffff:fff1 ----------------
 Sent 14004157949 bytes 9730928 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc mq 0: dev wlan0 root
 Sent 18666441 bytes 85726 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 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 wlan0 parent :3 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 18665259 bytes 85721 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 1125 drop_overlimit 0 new_flow_count 334 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 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 wlan0 parent :1 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 1182 bytes 5 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 2226781340 bytes 1794478 pkt (dropped 0, overlimits 0 requeues 1)
 backlog 0b 0p requeues 1
qdisc fq_codel 0: dev wlan1 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 wlan1 parent :3 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 2056908229 bytes 1620126 pkt (dropped 0, overlimits 0 requeues 1)
 backlog 0b 0p requeues 1
  maxpacket 1514 drop_overlimit 0 new_flow_count 2982 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 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 1767 bytes 2 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 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 169871344 bytes 174350 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 951 drop_overlimit 0 new_flow_count 277 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc cake 8016: dev ifb4pppoe-wan root refcnt 2 bandwidth 63Mbit besteffort dual-dsthost nat wash no-ack-filter split-gso rtt 100ms noatm overhead 34
 Sent 14000880200 bytes 9728658 pkt (dropped 2256, overlimits 18738667 requeues 0)
 backlog 18980b 13p requeues 0
 memory used: 600Kb of 4Mb
 capacity estimate: 63Mbit
 min/max network layer size:           36 /    1460
 min/max overhead-adjusted size:       70 /    1494
 average network hdr offset:            0

                  Tin 0
  thresh         63Mbit
  target            5ms
  interval        100ms
  pk_delay       2.74ms
  av_delay       1.83ms
  sp_delay        339us
  backlog        18980b
  pkts          9730927
  bytes     14004156489
  way_inds          664
  way_miss         6139
  way_cols            0
  drops            2256
  marks               1
  ack_drop            0
  sp_flows            0
  bk_flows            1
  un_flows            0
  max_len          1460
  quantum          1514

As for what im using to check for ping spikes, https://ping.canbeuseful.com/en#ping
My ping is completely unstable when looking at this, it spikes up to 100ms randomly, but pretty frequently.

Im with BT, and I believe im using VDSL, as we don't have fiber, but are living in a relatively new development (2 years old)

Try the Waveform bufferbloat/speed test mentioned above.

Waveform results look good.

See this disclaimer on the ping test website...

Reliability of this tool?

Although this tool is reliable, the ping time measurement is indicative and not as accurate as the ping command. This is due to the fact that the tool uses the HTTP protocol(S).

I reset all my settings to default, swapped over to vanilla openwrt, and put my settings in again, just to make sure it wasnt my config. I currently am the only user connected to the network, I added my phone, and started streaming netflix, and my ping became instantly unstable. The waveform test works on my pc, and I get good results, but anytime an actual device outside of my pc uses the internet, my ping starts to become unstable. https://i.gyazo.com/dae141b1db8d015f5db8dcfe40466bb2.mp4 (the graph was flat before i started streaming netflix on my phone)

Try the Fast.com speed test (Netflix)

Change the default settings to these, and re-run -

Screenshot 2022-04-24 180011

This is the fast.com result from my pc


This is how my ping spikes when i run the fast.com test on my phone
image

For some reason, other devices on my network cause my ping to spike, but my own pc downloading doesnt

What are the "other devices"?

Wired, or wireless?

My pc is wired, and my phone is wireless. Right now no other devices are active other than those 2. The 'other devices' are anything other than my pc

So at the end of the phone's ping test, what was the min, max, and average?

I ran that ping test on my pc, whilst doing the fast.com test on my phone. I haven't measured ping on my phone, as I only really care about ping stability on my pc

Fine...what's the min, max, and average on the PC when running the test on the phone?

If this is a VDSL connection, I would set the Per Packet Overhead to 44.

Minimum = 12ms, Maximum = 66ms, Average = 27ms,
I tried setting Per Packet Overhead to 44, and nothing really changed

Nothing wrong with those numbers.

One test that I do (with no browsers involved) is a continous ping to a speed test server, while downloading a large file using wget (Linux distros run around 6 GB+).

Did you stop and restart SQM?

Yes, i did stop and start. I also noticed when i half the download speed in sqm settings, the ping spikes almost go away completely, is there anything else i can do other than this to prevent spikes?

You would need to determine where the latency is coming from.

Could be inside your network, inside your ISP's network, or outside the ISP's network.

I would download the free version of PingPlotter, and run tests to different endpoints.

It will give you a picture of what's going on along the route.

1 Like

I will do that, thanks.

OK, that is good, you are using pppoe-wan in sqm.

Two things I forgot to ask for
a) a speedtest with sqm disabled
b) information from your modem about the sync

I will try to give a more detailled response later....