misuzu
December 19, 2023, 5:38pm
1
I tried to use SQM on my Flint 2 but it doesn’t seem to work. Network accelerator and IPv6 are both disabled. The only configs running on my router are Tailscale and Adguard but I think that these features doesn’t affect SQM right? Im also using 4.5.4 firmware.
ISP average speed:
450 download
80 upload
My SQM settings -
Upload and Download: I tried 90, 85, and 65 percents but all of these doesn’t made any changes at all.
Interface: Eth1 (WAN I believe)
No advanced configuration.
I cannot really say that this is a problem with Flint 2 right now since I can’t find any threads about users using Flint 2 with SQM so kindly share your experience if you tried it. Thanks!
cafebug
December 19, 2023, 6:17pm
2
Did you do the SQM test first in wired connection here: https://www.waveform.com/tools/bufferbloat
misuzu
December 19, 2023, 6:31pm
3
Yes that’s where I based my tests.
1 Like
It works for me, but I’m using OpenWrt snapshots.
Software flow offloading can be enabled, but hardware flow offloading needs to be disabled.
di_Niko
December 19, 2023, 6:43pm
5
Same in my case, im using snapshot and this is the result bellow with sqm + layer cake ctinfo:
1 Like
misuzu
December 19, 2023, 6:57pm
6
Thank you so much for the response. Will try it again later.
1 Like
slesar
December 19, 2023, 10:28pm
7
I don’t know do I have SQM on my router Flint 2 but test is good
The settings you should be trying is
Download : 414000
Upload: 73600
Make sure that you have cake as Queueing discipline and piece of cake as the Queue setup.
I do have OpenWRT installed on mine using the following settings for my connection
config queue
option qdisc 'cake'
option enabled '1'
option interface 'eth1'
option qdisc_advanced '1'
option squash_dscp '0'
option ingress_ecn 'ECN'
option egress_ecn 'ECN'
option squash_ingress '0'
option debug_logging '0'
option linklayer 'ethernet'
option overhead '34'
option verbosity '0'
option qdisc_really_really_advanced '1'
option iqdisc_opts 'nat dual-dsthost ingress diffserv4'
option eqdisc_opts 'nat dual-srchost ack-filter diffserv4'
option download '45330'
option upload '5080'
option script 'layer_cake.qos'
option linklayer_advanced '1'
option tcMTU '2047'
option tcTSIZE '128'
option tcMPU '64'
option linklayer_adaptation_mechanism 'default'
And its A+ for days on Waveform and speed.cloudflare.com Its Great Great and Good can’t be happier then that.
2 Likes
misuzu
December 21, 2023, 12:09am
9
Thank you so much for this.
Just remember that my settings will not work perfect for you, there will still be some tweaking specially as i am using VDSL2 FTTC for my connection which uses PPPoE
misuzu
December 22, 2023, 10:07am
12
Good day! May I know if this one is necessary?
qdisc_really_really_advanced
and may I know that does it do? The Openwrt documentation doesn’t provide any explanation.
I don’t think that’s needed.
1 Like
misuzu
December 23, 2023, 1:30pm
14
Good day! May I ask again if Full Cone NAT affects SQM? Thank you
I wouldn’t think so. However i never tested that.
1 Like
xirixiz
September 19, 2024, 6:34am
16
Thanks for sharing!
I was using a bit of a simpler config, but the one you shared performs slightly better
Cable internet: 1200/120
config queue
option enabled '1'
option interface 'eth1'
option download '400000'
option upload '90000'
option debug_logging '0'
option verbosity '0'
option qdisc 'cake'
option script 'piece_of_cake.qos'
option qdisc_advanced '1'
option squash_dscp '0'
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'
option linklayer 'none'
Now using this (450/100):
config queue
option qdisc 'cake'
option enabled '1'
option interface 'eth1'
option qdisc_advanced '1'
option squash_dscp '0'
option ingress_ecn 'ECN'
option egress_ecn 'ECN'
option squash_ingress '0'
option debug_logging '0'
option linklayer 'ethernet'
option overhead '22'
option verbosity '0'
option qdisc_really_really_advanced '1'
option iqdisc_opts 'nat dual-dsthost ingress'
option eqdisc_opts 'nat dual-srchost ack-filter'
option download '450000'
option upload '100000'
option script 'layer_cake.qos'
If I increase download above 450, the latency increases drastically.
I was using an old WRT32X before, with release date back in 2017, and it performed equally. So in that sense I`m a bit dissapointed. I was expecting 700+ download with SQM on the Flint2 to be honest. In general I really like this router and other products from GL.iNet.
xirixiz
September 20, 2024, 6:56am
17
In the meantime I was able to tweak things a bit for my 1200/120 cable connection:
config queue
option qdisc 'cake'
option enabled '1'
option interface 'eth1'
option qdisc_advanced '1'
option squash_dscp '0'
option ingress_ecn 'ECN'
option egress_ecn 'ECN'
option squash_ingress '0'
option debug_logging '0'
option linklayer 'ethernet'
option overhead '22'
option verbosity '0'
option qdisc_really_really_advanced '1'
option iqdisc_opts 'nat dual-dsthost ingress diffserv4 no-ack-filter'
option eqdisc_opts 'nat dual-srchost ack-filter diffserv4 rtt 100ms'
option download '700000'
option upload '100000'
option script 'layer_cake.qos'
Love the result/performance now: https://www.waveform.com/tools/bufferbloat?test-id=43ca9c73-5adf-45d2-b656-83959aab8893
Renato
September 20, 2024, 7:59am
18
What is the result when the SQM is disabled?
I'm not using SQM and my latency is 13ms unloaded, +4ms (download) and +7ms (upload).
Using Flint 2 with Firmware 4.6.4
misuzu
September 20, 2024, 8:29am
19
Afaik, WED adds latency but I dont know if this still applies at newer GL releases. (WED is enabled by default when using Hardware Acceleration)
xirixiz
September 20, 2024, 9:21am
20
Wow, that is pretty nice. For me without SQM the numbers are 22ms, +43ms, +26ms.
I`m using OpenWRT 22.05.4.
Connection via LAN, not WiFi