[Solved] Getting bad bufferbloat, SQM only makes it WORSE - reverted to stock firmware

Wireless.

I was.

Nothing outside of what the site did.

Test wired, wireless adds a whole lot of additional things that can go wrong.

Once we know things are working properly on a wired connection, we can then
troubleshoot the wireless issues.
k

Testing it in wired isn't going to be productive, I will never be able to use wired in actual use.

If you can't differentiate problems cause by wifi from problems caused by your
upstream connection, it's pretty much impossible to fix the problem

you need to be able to isolate the different links and test them one at a time.

Even though you will never be using wired in actual use, it's still incredibly
useful to be able to eliminate wifi as a potential source of problems to test
the SQM and upstream links for bufferbloat.

Once we know that the upstream wired links are clean, we can then see if there
are still problems on wifi and if so address them.

The other option would be to try and test wifi first, you would need to setup a
local wired server to test against.

It's far easier to test the wired links first and then add wifi after we are
sure the wired side is clean.

2 Likes

I understand now. I'll do this when I get the chance.

Erm, the huge dips going back to zero are not a sign of bufferbloat but simply caused be the way speedofme performs its measurements; it will use iteratively bigger and bigger test files and the gaps appear when a new filetransfer os started (this is obvious once you look that the duration of the turquoise pats between the dips gets longer and longer). But honestly, the speedofme test is quite nice looking but not the most stringent test for bufferbloat.
Have a look at https://forum.openwrt.org/t/sqm-qos-recommended-settings-for-the-dslreports-speedtest-bufferbloat-testing/2803/11 for recommendations how to use the dslreports speedtest for probing bufferbloat... Yes I see you used that test as well, but please post the results here as well.

You could post the output of:
cat /etc/config/sqm
tc -s qdisc
tc -d qdisc

to give us some data to discuss.

Impressive support although this subject is discussed and documented since homo erectus is using routers ;- )

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

config queue 'eth1'
        option download '85000'
        option upload '10000'
        option qdisc 'fq_codel'
        option qdisc_advanced '0'
        option linklayer 'none'
        option enabled '1'
        option interface 'br-wan'
        option debug_logging '0'
        option verbosity '5'
        option script 'piece_of_cake.qos'

root@LEDE:~# 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 eth0 root 
 Sent 61880719 bytes 166872 pkt (dropped 0, overlimits 0 requeues 14) 
 backlog 0b 0p requeues 14 
qdisc fq_codel 0: dev eth0 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn 
 Sent 61880719 bytes 166872 pkt (dropped 0, overlimits 0 requeues 14) 
 backlog 0b 0p requeues 14 
  maxpacket 1486 drop_overlimit 0 new_flow_count 47 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 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 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 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 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 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 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 :8 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms 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 eth1 root 
 Sent 4282453844 bytes 23912843 pkt (dropped 0, overlimits 0 requeues 10306) 
 backlog 0b 0p requeues 10306 
qdisc fq_codel 0: dev eth1 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn 
 Sent 4282453844 bytes 23912843 pkt (dropped 0, overlimits 0 requeues 10306) 
 backlog 0b 0p requeues 10306 
  maxpacket 1514 drop_overlimit 0 new_flow_count 48940 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 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 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 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 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 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 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 :8 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms 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 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 br-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-wan6 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0 
qdisc mq 0: dev wlan1 root 
 Sent 73429915098 bytes 56527039 pkt (dropped 2440, overlimits 0 requeues 630) 
 backlog 0b 0p requeues 630 
qdisc fq_codel 0: dev wlan1 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn 
 Sent 906448 bytes 6228 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0 
  maxpacket 86 drop_overlimit 0 new_flow_count 1 ecn_mark 0
  new_flows_len 1 old_flows_len 0
qdisc fq_codel 0: dev wlan1 parent :2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn 
 Sent 162973708 bytes 121475 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 ecn 
 Sent 73266034942 bytes 56399336 pkt (dropped 2440, overlimits 0 requeues 630) 
 backlog 0b 0p requeues 630 
  maxpacket 16346 drop_overlimit 192 new_flow_count 216726 ecn_mark 2
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev wlan1 parent :4 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms 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 wlan0 root 
 Sent 183616465 bytes 251399 pkt (dropped 0, overlimits 0 requeues 1) 
 backlog 0b 0p requeues 1 
qdisc fq_codel 0: dev wlan0 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn 
 Sent 14828 bytes 72 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 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 ecn 
 Sent 183601637 bytes 251327 pkt (dropped 0, overlimits 0 requeues 1) 
 backlog 0b 0p requeues 1 
  maxpacket 4542 drop_overlimit 0 new_flow_count 1396 ecn_mark 0
  new_flows_len 1 old_flows_len 0
qdisc fq_codel 0: dev wlan0 parent :4 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms 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
root@LEDE:~# tc -d qdisc
qdisc noqueue 0: dev lo root refcnt 2 
qdisc mq 0: dev eth0 root 
qdisc fq_codel 0: dev eth0 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn 
qdisc fq_codel 0: dev eth0 parent :2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn 
qdisc fq_codel 0: dev eth0 parent :3 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn 
qdisc fq_codel 0: dev eth0 parent :4 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn 
qdisc fq_codel 0: dev eth0 parent :5 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn 
qdisc fq_codel 0: dev eth0 parent :6 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn 
qdisc fq_codel 0: dev eth0 parent :7 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn 
qdisc fq_codel 0: dev eth0 parent :8 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn 
qdisc mq 0: dev eth1 root 
qdisc fq_codel 0: dev eth1 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn 
qdisc fq_codel 0: dev eth1 parent :2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn 
qdisc fq_codel 0: dev eth1 parent :3 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn 
qdisc fq_codel 0: dev eth1 parent :4 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn 
qdisc fq_codel 0: dev eth1 parent :5 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn 
qdisc fq_codel 0: dev eth1 parent :6 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn 
qdisc fq_codel 0: dev eth1 parent :7 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn 
qdisc fq_codel 0: dev eth1 parent :8 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn 
qdisc noqueue 0: dev br-lan root refcnt 2 
qdisc noqueue 0: dev br-wan root refcnt 2 
qdisc noqueue 0: dev br-wan6 root refcnt 2 
qdisc mq 0: dev wlan1 root 
qdisc fq_codel 0: dev wlan1 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn 
qdisc fq_codel 0: dev wlan1 parent :2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn 
qdisc fq_codel 0: dev wlan1 parent :3 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn 
qdisc fq_codel 0: dev wlan1 parent :4 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn 
qdisc mq 0: dev wlan0 root 
qdisc fq_codel 0: dev wlan0 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn 
qdisc fq_codel 0: dev wlan0 parent :2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn 
qdisc fq_codel 0: dev wlan0 parent :3 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn 
qdisc fq_codel 0: dev wlan0 parent :4 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn

Without SQM:

  • 22.3 Mb/s download
  • 4.07 Mb/s upload

With SQM:

  • 11.25 Mb/s download
  • 3.93 Mb/s upload

Okay, doing wired checks now. Be back soon.

Your upload and download settings are way above what your ISP gives you. (Well, it can also be limited by your wifi)

The interface setting is probably also wrong - looked like you put sqm on a bridge virtual interface. This will cause upstream/downstream to share the same minimum setting.

Try the following:

option download '3700'
option upload '21000'
option interface 'eth1'

then retest. If you found both upload and download limited to below 4 mbps, then reverse the setting for download and upload.

*please also post the output of ifconfig. You could put sqm separately on wan and wlan interface.

Do I have to reinstall SQM for these options?

Also, here are the tests now that I'm on a wired connection. Much higher speeds of course, but I'm getting even worse bufferbloat it seems, except on upload, where there was little to no bufferbloat.

1

EDIT: Okay, I reinstalled SQM with those options. Why eth1, out of curiosity? Is this only for the wired tests or is this what I keep it to even for Wi-Fi?

Post the output of the following (redact mac address, ssid, etc... if you want)

iw wlan0 station dump
and
iw wlan1 station dump

Given the speed discrepancy of your wired speedtest vs wifi speedtest result I suspect you have a really low data rate link. In such case you probably want to figure out ways to extend your wifi network first.

Will do after a test. I had to swap your options around, I think you mixed them up. The test was only giving around 3 Mb/s download.

EDIT: Hmm, the settings don't seem to be working (was I not intended to switch them?). It said I had 0 bufferbloat the entire time, but then said at the end that bufferbloat testing was disabled because of high latency.

If you found both upload and download limited to below 4 mbps, then reverse the setting for download and upload.

Usually there maybe one physical interface handling both lan and wan, but sometimes there can be separate physical interface for lan and wan. You can figure out which interface exactly is for wan (wireless interface should be easy to spot - wlan0 and wlan1 for 2.4g/5g). You can try sqm on different interface and set some arbitrary but distinct small number for upload and download to figure out the direction and the interface.

Forgot that part of your message, my bad. Doing the test once again, then I'll get you the output on your commands.

This was the results of the test. MUCH better bufferbloat. Getting you your command output now.
2

Only iw wlan1 station dump gave an output.

Station b8:27:eb:9e:89:fe (on wlan1)
        inactive time:  38010 ms
        rx bytes:       103039924
        rx packets:     170952
        tx bytes:       41937629
        tx packets:     87767
        tx retries:     0
        tx failed:      0
        rx drop misc:   1
        signal:         -69 dBm
        signal avg:     -71 dBm
        tx bitrate:     72.2 MBit/s MCS 7 short GI
        rx bitrate:     24.0 MBit/s
        authorized:     yes
        authenticated:  yes
        associated:     yes
        preamble:       short
        WMM/WME:        yes
        MFP:            no
        TDLS peer:      no
        DTIM period:    2
        beacon interval:100
        short preamble: yes
        short slot time:yes
        connected time: 236072 seconds
Station 5c:ad:cf:e9:5d:f1 (on wlan1)
        inactive time:  5890 ms
        rx bytes:       54497490
        rx packets:     739984
        tx bytes:       1718306951
        tx packets:     1155930
        tx retries:     0
        tx failed:      0
        rx drop misc:   14
        signal:         -90 dBm
        signal avg:     -88 dBm
        tx bitrate:     2.0 MBit/s
        rx bitrate:     36.0 MBit/s
        authorized:     yes
        authenticated:  yes
        associated:     yes
        preamble:       short
        WMM/WME:        yes
        MFP:            no
        TDLS peer:      no
        DTIM period:    2
        beacon interval:100
        short preamble: yes
        short slot time:yes
        connected time: 235854 seconds
Station a8:47:4a:d3:50:19 (on wlan1)
        inactive time:  1490 ms
        rx bytes:       1104058
        rx packets:     9654
        tx bytes:       818662
        tx packets:     5943
        tx retries:     0
        tx failed:      0
        rx drop misc:   0
        signal:         -69 dBm
        signal avg:     -68 dBm
        tx bitrate:     130.0 MBit/s MCS 15
        rx bitrate:     117.0 MBit/s MCS 14
        authorized:     yes
        authenticated:  yes
        associated:     yes
        preamble:       short
        WMM/WME:        yes
        MFP:            no
        TDLS peer:      no
        DTIM period:    2
        beacon interval:100
        short preamble: yes
        short slot time:yes
        connected time: 37584 seconds
Station b8:53:ac:d8:b4:1e (on wlan1)
        inactive time:  3640 ms
        rx bytes:       5413313
        rx packets:     22864
        tx bytes:       8349360
        tx packets:     11387
        tx retries:     0
        tx failed:      0
        rx drop misc:   7
        signal:         -64 dBm
        signal avg:     -65 dBm
        tx bitrate:     52.0 MBit/s MCS 11
        rx bitrate:     48.0 MBit/s
        authorized:     yes
        authenticated:  yes
        associated:     yes
        preamble:       short
        WMM/WME:        yes
        MFP:            no
        TDLS peer:      no
        DTIM period:    2
        beacon interval:100
        short preamble: yes
        short slot time:yes
        connected time: 10464 seconds
Station ac:5f:3e:c3:41:3d (on wlan1)
        inactive time:  4140 ms
        rx bytes:       2949928
        rx packets:     6573
        tx bytes:       1330491
        tx packets:     3726
        tx retries:     0
        tx failed:      0
        rx drop misc:   9
        signal:         -76 dBm
        signal avg:     -75 dBm
        tx bitrate:     104.0 MBit/s MCS 13
        rx bitrate:     24.0 MBit/s
        authorized:     yes
        authenticated:  yes
        associated:     yes
        preamble:       short
        WMM/WME:        yes
        MFP:            no
        TDLS peer:      no
        DTIM period:    2
        beacon interval:100
        short preamble: yes
        short slot time:yes
        connected time: 6462 seconds
Station 44:6d:57:50:d4:07 (on wlan1)
        inactive time:  10 ms
        rx bytes:       29953077
        rx packets:     218358
        tx bytes:       265673862
        tx packets:     501460
        tx retries:     0
        tx failed:      0
        rx drop misc:   0
        signal:         -75 dBm
        signal avg:     -74 dBm
        tx bitrate:     52.0 MBit/s MCS 11
        rx bitrate:     26.0 MBit/s MCS 3
        authorized:     yes
        authenticated:  yes
        associated:     yes
        preamble:       short
        WMM/WME:        yes
        MFP:            no
        TDLS peer:      no
        DTIM period:    2
        beacon interval:100
        short preamble: yes
        short slot time:yes
        connected time: 6459 seconds
Station 78:4f:43:a0:02:db (on wlan1)
        inactive time:  51580 ms
        rx bytes:       13402906
        rx packets:     100268
        tx bytes:       289255122
        tx packets:     207239
        tx retries:     0
        tx failed:      0
        rx drop misc:   0
        signal:         -65 dBm
        signal avg:     -65 dBm
        tx bitrate:     216.7 MBit/s MCS 23 short GI
        rx bitrate:     48.0 MBit/s
        authorized:     yes
        authenticated:  yes
        associated:     yes
        preamble:       short
        WMM/WME:        yes
        MFP:            no
        TDLS peer:      no
        DTIM period:    2
        beacon interval:100
        short preamble: yes
        short slot time:yes
        connected time: 5593 seconds
Station 94:e9:79:5a:d3:51 (on wlan1)
        inactive time:  420 ms
        rx bytes:       1416283
        rx packets:     9779
        tx bytes:       16863327
        tx packets:     14389
        tx retries:     0
        tx failed:      0
        rx drop misc:   1
        signal:         -77 dBm
        signal avg:     -80 dBm
        tx bitrate:     26.0 MBit/s MCS 3
        rx bitrate:     36.0 MBit/s
        authorized:     yes
        authenticated:  yes
        associated:     yes
        preamble:       short
        WMM/WME:        yes
        MFP:            no
        TDLS peer:      no
        DTIM period:    2
        beacon interval:100
        short preamble: yes
        short slot time:yes
        connected time: 754 seconds

A summary on what you need:

  1. stop sqm with /etc/init.d/sqm stop
  2. do a wired speedtest
  3. from the output of ifconfig, try SQM on the different eth* interfaces. Remember to set small but distinct number for download and upload. Say 10000 and 3000. Upload and download direction is opposite when you look from WAN interface vs LAN (or WLAN) interface.