What's new

FlexQoS FlexQoS 1.2.4 - Flexible QoS Enhancement Script for Adaptive QoS

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

I am having a bit of a weird issue, I upgraded my connection to ~220Mbps and QoS settings keeps reverting to 100 Mb/s
If i choose AutoBW it goes back to Manual setting after some time.
I have Factory reset the router but issue remains same.
Issue appears ASAP i install Flex QoS

Any assistance?

Thank you
 
I am having a bit of a weird issue, I upgraded my connection to ~220Mbps and QoS settings keeps reverting to 100 Mb/s
If i choose AutoBW it goes back to Manual setting after some time.
I have Factory reset the router but issue remains same.
Issue appears ASAP i install Flex QoS

Any assistance?

Thank you
FlexQoS doesn’t set any of the bandwidth parameters. If you’re running spdMerlin it might be changing that for you.
 
There is another update to the develop branch. Here are the updates currently in develop branch:
  • Fix webui interpretation of iptables rules with multiple ports specified in both local and remote fields. More improvements were pushed today. If you use multiple ports (comma-separated or a range specified by colon), please test that the output is how you would expect.
  • Improve locking mechanism when mounting the webui page to avoid conflicts and collisions with other addons during startup.
There are likely bugs in the first one still, but it only affects the Application display of a connection in the Tracked connections table.
I was already running the develop script 1.2.4. I ran the update and applied the hotfix. The correct develop script version is still remains at 1.2.4 correct?

Thanks for all your hardwork!
 
Dave (or anyone who knows),
I just switched to your excellent implementation of QoS.

Observation / Question
Clients running their own vpn (openvpn clients) (my work laptop to corporate LAN) appear to be in "Other" category unless I am mistaken.
My mind says this should be in the "Work from Home" category. Its quite possible Ive missed this topic already with the 40+ pages in this thread. (playing catch-up can be a bear)

The question I have is this.
Are the routers built in openvpn clients being classified by FlexQoS in the same class as host based client openvpn traffic hitting the router LAN?

Thank you

**EDIT**
I found the answer after posting.
On the FlexQoS page you click the "customize" button.
"Router/VPN Client Outbound Traffic Class" has a drop down to tell which class to put it in.

Having placed that into the "Learn-from-Home" class and applying I am surprised not to see any change in the graph.

I am pumping some 7MBS through the router vpn client 1 and so far the FlexQoS graph still shows the massive data moving in the "Other" class.

Maybe a reboot is needed.
I have to reboot soon anyway because I am working on nat-start variables.
 
Last edited:
On the FlexQoS page you click the "customize" button.
"Router/VPN Client Outbound Traffic Class" has a drop down to tell which class to put it in.

Having placed that into the "Learn-from-Home" class and applying I am surprised not to see any change in the graph.

I am pumping some 7MBS through the router vpn client 1 and so far the FlexQoS graph still shows the massive data moving in the "Other" class.

Maybe a reboot is needed.
Check the counters on the iptables rule:
Code:
iptables -t mangle -nvL OUTPUT
It might not pick up the traffic until the connection is re-established.
 
Check the counters on the iptables rule:
Code:
iptables -t mangle -nvL OUTPUT
It might not pick up the traffic until the connection is re-established.
Thank you Dave.
The re-establish notion makes sense.
I will come back to it in a bit and see if there is any change.


Code:
v125027@AX86U:/tmp/home/root# iptables -t mangle -nvL OUTPUT
Chain OUTPUT (policy ACCEPT 12108 packets, 5572K bytes)
 pkts bytes target     prot opt in     out     source               destination
 454K  129M MARK       udp  --  *      eth0    0.0.0.0/0            0.0.0.0/0            multiport dports  !53,123 MARK xset 0x403fffff/0xc03fffff
 237K   79M MARK       tcp  --  *      eth0    0.0.0.0/0            0.0.0.0/0            multiport dports  !53,123,853 MARK xset 0x403fffff/0xc03fffff
v125027@AX86U:/tmp/home/root#
 
Thank you Dave.
The re-establish notion makes sense.
I will come back to it in a bit and see if there is any change.


Code:
v125027@AX86U:/tmp/home/root# iptables -t mangle -nvL OUTPUT
Chain OUTPUT (policy ACCEPT 12108 packets, 5572K bytes)
pkts bytes target     prot opt in     out     source               destination
454K  129M MARK       udp  --  *      eth0    0.0.0.0/0            0.0.0.0/0            multiport dports  !53,123 MARK xset 0x403fffff/0xc03fffff
237K   79M MARK       tcp  --  *      eth0    0.0.0.0/0            0.0.0.0/0            multiport dports  !53,123,853 MARK xset 0x403fffff/0xc03fffff
v125027@AX86U:/tmp/home/root#
Also include the output of:
Code:
tc filter show dev eth0 | grep -B1 0x403fffff
 
Also include the output of:
Code:
tc filter show dev eth0 | grep -B1 0x403fffff
Code:
v125027@AX86U:/tmp/home/root# tc filter show dev eth0 | grep -B1 0x403fffff
filter parent 1: protocol all pref 5 u32 fh 827::807 order 2055 key ht 827 bkt 0 flowid 1:14
  mark 0x403fffff 0xc03fffff (success 149122)
 
Code:
v125027@AX86U:/tmp/home/root# tc filter show dev eth0 | grep -B1 0x403fffff
filter parent 1: protocol all pref 5 u32 fh 827::807 order 2055 key ht 827 bkt 0 flowid 1:14
  mark 0x403fffff 0xc03fffff (success 149122)
Ok, so the final stats would come from:
Code:
tc -s class show dev eth0 parent 1: | grep -A2 "htb 1:14"
All 3 commands together should increment their counts in unison when picking up traffic from the iptables rule.
 
@dave14305 - just thought I’d say thanks for such a well thought out and functional qos - for me personally flexqos performs worlds above cake and the customisation is brilliant.

thank you for your hard work and dedication to this addon.
 
@dave14305 - just thought I’d say thanks for such a well thought out and functional qos - for me personally flexqos performs worlds above cake and the customisation is brilliant.

thank you for your hard work and dedication to this addon.
Most of the credit for the functionality goes to FreshJR for the original script and the guys who maintain sqm-scripts at OpenWRT. Without their ideas, I wouldn’t have really known what to do.

Thanks for your nice words!
 
Most of the credit for the functionality goes to FreshJR for the original script and the guys who maintain sqm-scripts at OpenWRT. Without their ideas, I wouldn’t have really known what to do.

Thanks for your nice words!

Thanks @dave14305, I'm also using FlexQoS over CAKE. I've seen a couple of posts in regards to CAKE & gaming not getting along to well with latency/random spikes etc.

One future request possibly, if it can be done or maybe it's not even necesary or possible at all, but,

I know you're not a gamer but I was wondering if a future develop script can be implemented for "gamers" specifically with adjusted burst/modify bandwidth to assist in latency, maybe??

Im not even sure if this would be possible or if it can even be implemented at all or if the current script setup works for all environments to include gamers by just simply setting up "gaming" as highest priority enough ?? Can anything else be adjusted?

I don't know the ins/outs of the scripts but I don't think anything else can be done for gaming traffic except for creating the available "gaming rule" which is already available within Flex correct?

Sorry for the noob questions and hopefully you can provide some insight.

Thanks again.
 
I know you're not a gamer but I was wondering if a future develop script can be implemented for "gamers" specifically with adjusted burst/modify bandwidth to assist in latency, maybe??
What would you adjust? I need to know the theory to understand if I could do it.
 
What would you adjust? I need to know the theory to understand if I could do it.
Great question....and unfortunately im not smart enough to give you any valuable input. I know @el pescador was trying to adjust burst values (I believe for gaming) but I'm not sure if he had any success. Maybe someone (smarter than me) here can provide some valuable info.

As always thanks for your response!
 
What would you adjust? I need to know the theory to understand if I could do it.
Having tested FlexQoS and CAKE for a while now on my 500/35 asymmetrical link, I’ve found that FlexQoS suffers on upload and CAKE on download, although I get overall better results on CAKE it seems. May be due to download not being saturated. Always found low stable ping gives the best experience for FPS online play.

Found this article which ran a study in ping times and RTT effects. Still trying to get my head round it to understand but seems to be the right source of info for this discussion. Might be of some use to you Dave, if you don’t mind a bit of light reading :D

 
Great question....and unfortunately im not smart enough to give you any valuable input. I know @el pescador was trying to adjust burst values (I believe for gaming) but I'm not sure if he had any success. Maybe someone (smarter than me) here can provide some valuable info.

As always thanks for your response!
I had some success but it seemed to change quite a bit over time.
I've had way more success by simply blocking certain locations through Skynet. Really i block the testing servers and on some locations i have to block a group of servers too....so only about 4 or 5 entries in Skynet.

Finding the best located servers is a trial and error and also can change over the days...hours even.

IMO changing the burst rates can help a little more on top of this.
 
Having tested FlexQoS and CAKE for a while now on my 500/35 asymmetrical link, I’ve found that FlexQoS suffers on upload and CAKE on download, although I get overall better results on CAKE it seems. May be due to download not being saturated. Always found low stable ping gives the best experience for FPS online play.

Found this article which ran a study in ping times and RTT effects. Still trying to get my head round it to understand but seems to be the right source of info for this discussion. Might be of some use to you Dave, if you don’t mind a bit of light reading :D

I havent read this as i write....but if any games company is using RTT for latency then they aren't fit to be runnign an online game.
The routes to and from the servers are independent and lag comp should really be calculated on both independent streams.
Ive tested plenty to iD3 and there was always a difference between the routes on traceroute and reverse traceroutes...this will cause issues, although not massive ones if you have a small variance.
 
The main issue with gaming these days is packet loss out of the home network....and how easy it is for gaming companies to hoodwink their customers on the issue.
Take FIFA for example.
The EA connection tool shows below 1% loss.
But fire up wireshark and you will see Packet Resends all over the place. They even admitted back in 2019 they were trying to get the resent packets to be sent quicker.
Yet they only show malformed packets as loss. Not the original lost packet which had to be resent.

Most other games dont use GVSP so resends wont show up. But you can presume the loss is way higher than what they say...Warzone for example.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top