SQM just making things worse

I am using openwrt for like 1 year, i bought xiaomi 4a router for sqm fix and im still having bufferbloat issues despite the fact i worked so hard to fix it and it seems sqm settings on router making things even worse because i get better results with sqm disabled

i can confirm that there is no low ram or cpu issues on router, my openwrt is maybe not latest version but it is fine (OpenWrt 23.05.3), i know how settings works because i tried every kind of settings, it is just that im giving another chance for asking help.

my current settings:
interface: wan
download speed: 55000 (my SQM disabled internet speed is 75 download 5 upload)
upload speed: 3500

cake
piece of cake

link layer is none, i tried 34 44 everything it didn't changed anything

my bufferbloat test:
https://www.waveform.com/tools/bufferbloat?test-id=ea6060e5-1d2b-41c7-93de-686403ce9f23
my cloudflare test:
https://imgur.com/a/bW8a2B4
my fast.com test:
https://imgur.com/a/acX3Wow
my speedtest.net test:
https://www.speedtest.net/result/17285119380

the important thing I want to say is, as you can see fast and speedtest results in the end are not bad yeah? low latencies. the thing i notice when i test with speedtest is, download latency goes crazy during test and it comes to normal in the end, like it goes to 900 download latency, drops to 300, goes to 1400 latency, see it's not stable. i don't see that with fast. my bufferbloat test is also not stable.

thanks for reading. i hope there might be solution because i would really like to fix bufferbloat and move on.

What is your router likke

ubus call system board

What result you get via waveform (links as you duly did) , wired.

  • after reboot without qos enabled
  • with fw soft offload enabled
  • offload disabled, qos enabled with dl set to zero and ul set to half of bw reached in previous tests
1 Like
root@OpenWrt:~# ubus call system board
{
        "kernel": "5.15.150",
        "hostname": "OpenWrt",
        "system": "MediaTek MT7621 ver:1 eco:3",
        "model": "Xiaomi Mi Router 4A Gigabit Edition",
        "board_name": "xiaomi,mi-router-4a-gigabit",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "23.05.3",
                "revision": "r23809-234f1a2efa",
                "target": "ramips/mt7621",
                "description": "OpenWrt 23.05.3 r23809-234f1a2efa"
        }
}
  • after reboot without qos enabled

sqm qos not enabled here

https://www.waveform.com/tools/bufferbloat?test-id=17d2915b-0344-464e-8518-61805a9bae26

  • with fw soft offload enabled

software offload enabled, sqm qos still not enabled
https://www.waveform.com/tools/bufferbloat?test-id=219369a9-3d58-4a23-9d77-bd5acba847fb

  • offload disabled, qos enabled with dl set to zero and ul set to half of bw reached in previous tests

ok offload disabled download set to zero upload set to 2500, sqm qos enabled
https://www.waveform.com/tools/bufferbloat?test-id=52742a26-80e0-4b2a-bd0c-35df0334fd44

Now splice up upload bw, when up latency increases step back.

If still no A repeat with download.

1 Like

https://www.waveform.com/tools/bufferbloat?test-id=cf425cbe-f866-4af3-9ff9-2f1db02bc174
im perfectly happy with results tbh
0 download
4500 upload

can i lower download latency a little bit to make it A+, is there a way?

Much stronger cpu needed.

1 Like

thanks a lot it's solved :+1: :+1:

1 Like

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