What's new

FlexQoS FlexQoS 1.0 - 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've been swapping between FlexQoS and cake-QoS a bit recently but also saw that the Classification Tab showed much more activity than the FlexQoS tab. I confess to not investigating further after thinking it was strange.


This has been a major bugbear for me on any QoS (except cake), but particularly with FreshJR as the startup delay that was built-in made the issue worse. I have a number of devices which connect and keep transmitting - some are 4k cloud CCTV cameras which generate quite a lot of upload traffic but unless I power them down and back up the traffic isn't usually tracked in QoS. This causes me issues with upload bandwidth contention and therefore bufferbloat and the main reason I've been looking at cake which unfortunately doesn't prioritise traffic.

If a way around this could be found to force all existing connections to be included (force disconnect them so they reconnect??) this would be a big improvement.
theres alot QOS going on atm both in script and firmware. Its all over the place. IM temporarily running an old non-stats page script with just unidentified traffic into others and the http/ssl etc moved from netcontrol to web. which seems to be working quite well and allows me to see whats changing in the appdb easier.
 
If a way around this could be found to force all existing connections to be included (force disconnect them so they reconnect??) this would be a big improvement.
What happens if you disable/re-enable WiFi?
 
That's one option to kill the WiFi based devices, but not ethernet connected. There's another thread about disabling internet access via the firewall which has my interest https://www.snbforums.com/threads/disable-internet-access-via-command-line.64861/#post-603102. I might see if I can fudge together a forced disconnect for 30 seconds every time FlexQoS restarts on my router.
I wonder if you can just insert some language to kill udhcpc when FLexQOS starts. I would think that would trigger a WAN DHCP renewal, which should kill every connection. Or maybe just ifconfig br0 down/up.
 
Last edited:
For me both of them show the same wildly low total count. Following Bensam123's advice I rebooted my router and started streaming a youtube video. Under the tracked connections list I see a bunch of youtube connections, but after a few minutes and refreshing the page several times, the statistics at the top are all zero, for every class.
I also had all zeros my AX3000 (same as AX58) but upgrading to 384.19 alpha helped. From memory the QoS was not updated with the new categories in 384.18 like other models (until .19)
 
I also had all zeros my AX3000 (same as AX58) but upgrading to 384.19 alpha helped. From memory the QoS was not updated with the new categories in 384.18 like other models (until .19)

That's good to hear, I'll wait for the new update!
 
Hey @dave14305 what do these log entries mean and are they something we need to be concerned about.
Code:
Jul 21 19:25:54 RT-AX88U-9D28 custom_script: Running /jffs/scripts/nat-start
Jul 21 19:25:54 RT-AX88U-9D28 custom_script: Running /jffs/scripts/firewall-start (args: eth0)
Jul 21 19:25:54 RT-AX88U-9D28 dhcp_client: bound 69.11.51.225/255.255.254.0 via 69.11.50.1 for 28800 seconds.
Jul 21 19:25:54 RT-AX88U-9D28 FlexQoS: /jffs/addons/flexqos/flexqos.sh (pid=5152) called with 2 args: -start eth0
Jul 21 19:25:54 RT-AX88U-9D28 flexqos: [*] Killing Delayed Process (pid=1877)
Jul 21 19:25:54 RT-AX88U-9D28 flexqos: [*]  1877 QuincyVo  3608 S    sh /jffs/addons/flexqos/flexqos.sh -start eth0
Jul 21 19:25:54 RT-AX88U-9D28 FlexQoS: Applying iptables static rules
Jul 21 19:25:54 RT-AX88U-9D28 FlexQoS: Applying custom iptables rules
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: Applying AppDB static rules
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: Applying custom AppDB rules and custom rates
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: Invalid argument
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: We have an error talking to the kernel
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: Invalid argument
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: We have an error talking to the kernel
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: Invalid argument
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: We have an error talking to the kernel
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: Invalid argument
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: We have an error talking to the kernel
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: Invalid argument
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: We have an error talking to the kernel
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: Invalid argument
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: We have an error talking to the kernel
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: We have an error talking to the kernel
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: Invalid argument
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: We have an error talking to the kernel
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: We have an error talking to the kernel
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: Invalid argument
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: We have an error talking to the kernel
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
 
Hey @dave14305 what do these log entries mean and are they something we need to be concerned about.
Code:
Jul 21 19:25:54 RT-AX88U-9D28 custom_script: Running /jffs/scripts/nat-start
Jul 21 19:25:54 RT-AX88U-9D28 custom_script: Running /jffs/scripts/firewall-start (args: eth0)
Jul 21 19:25:54 RT-AX88U-9D28 dhcp_client: bound 69.11.51.225/255.255.254.0 via 69.11.50.1 for 28800 seconds.
Jul 21 19:25:54 RT-AX88U-9D28 FlexQoS: /jffs/addons/flexqos/flexqos.sh (pid=5152) called with 2 args: -start eth0
Jul 21 19:25:54 RT-AX88U-9D28 flexqos: [*] Killing Delayed Process (pid=1877)
Jul 21 19:25:54 RT-AX88U-9D28 flexqos: [*]  1877 QuincyVo  3608 S    sh /jffs/addons/flexqos/flexqos.sh -start eth0
Jul 21 19:25:54 RT-AX88U-9D28 FlexQoS: Applying iptables static rules
Jul 21 19:25:54 RT-AX88U-9D28 FlexQoS: Applying custom iptables rules
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: Applying AppDB static rules
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: Applying custom AppDB rules and custom rates
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: Invalid argument
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: We have an error talking to the kernel
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: Invalid argument
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: We have an error talking to the kernel
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: Invalid argument
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: We have an error talking to the kernel
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: Invalid argument
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: We have an error talking to the kernel
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: Invalid argument
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: We have an error talking to the kernel
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: Invalid argument
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: We have an error talking to the kernel
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: We have an error talking to the kernel
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: Invalid argument
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: We have an error talking to the kernel
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: We have an error talking to the kernel
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: Invalid argument
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: We have an error talking to the kernel
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
Jul 21 19:25:55 RT-AX88U-9D28 FlexQoS: RTNETLINK answers: No such file or directory
After a second reboot this did not happen again sorry!
 
Hi there, I've installed Flex, but still trying to understand how to set it up? Pardon my total noob-ness to QOS stuff.
My 2 primary things are trying to give gaming on my Xbox highest priority over anything else (it has a static IP), and downloads from a seedbox to my PC (also fixed IP), second highest priority and at least a minimum bandwidth of 60-70% (I don't game and download at the same time). I added the Xbox and PC to the IP table rules classifying them as gaming and file downloads respectively (they're at the bottom of the list, not sure if they need to be higher, and if so, how to move them). For now, i also increased the minimum download for File Downloads and Web Surfing to 50%. Also, not sure what the AppDB section is or what I need to do there.I have a 1000/35 with spectrum, and have set my limits in the QOS section to 930/32.

When I enable QOS with the settings i mentioned, any downloads on my PC go down to about 7MB/sec after starting at around 30MB/sec. If i disable it, they're immediately back to their usual 90-100MB/sec.

Just looking for some assistance on how to properly set this up.

Thanks!
 
Hi there, I've installed Flex, but still trying to understand how to set it up? Pardon my total noob-ness to QOS stuff.
My 2 primary things are trying to give gaming on my Xbox highest priority over anything else (it has a static IP), and downloads from a seedbox to my PC (also fixed IP), second highest priority and at least a minimum bandwidth of 60-70% (I don't game and download at the same time). I added the Xbox and PC to the IP table rules classifying them as gaming and file downloads respectively (they're at the bottom of the list, not sure if they need to be higher, and if so, how to move them). For now, i also increased the minimum download for File Downloads and Web Surfing to 50%. Also, not sure what the AppDB section is or what I need to do there.I have a 1000/35 with spectrum, and have set my limits in the QOS section to 930/32.

When I enable QOS with the settings i mentioned, any downloads on my PC go down to about 7MB/sec after starting at around 30MB/sec. If i disable it, they're immediately back to their usual 90-100MB/sec.

Just looking for some assistance on how to properly set this up.

Thanks!
Sounds like you need to move those categories higher in the list. Click on Adaptive QOS, then QOS tab, then "Customize". From there you can drag and drop them in the order you prefer.
 
Sounds like you need to move those categories higher in the list. Click on Adaptive QOS, then QOS tab, then "Customize". From there you can drag and drop them in the order you prefer.
I did move gaming to the top, but kept transfers low. My concern was that I set the minimum on transfers to 50%, it was still being throttled down to almost nothing, regardless of placement on that list. Is there something I need to do in the FlewxQoS tab to correctly categorize it maybe?

And to confirm, what exactly is the iptables and appdb list? Maybe something I need to tweak there as well?
 
I noticed something similar this past weekend when I tested FlexQoS. I was however using the gaming rule. I had a few games that required updates thru my xbox one and the speeds were so limited to less than 1 mbps. I turned off QoS and the download speeds went up significantly.
 
Hi there, I've installed Flex, but still trying to understand how to set it up? Pardon my total noob-ness to QOS stuff.
My 2 primary things are trying to give gaming on my Xbox highest priority over anything else (it has a static IP), and downloads from a seedbox to my PC (also fixed IP), second highest priority and at least a minimum bandwidth of 60-70% (I don't game and download at the same time). I added the Xbox and PC to the IP table rules classifying them as gaming and file downloads respectively (they're at the bottom of the list, not sure if they need to be higher, and if so, how to move them). For now, i also increased the minimum download for File Downloads and Web Surfing to 50%. Also, not sure what the AppDB section is or what I need to do there.I have a 1000/35 with spectrum, and have set my limits in the QOS section to 930/32.

When I enable QOS with the settings i mentioned, any downloads on my PC go down to about 7MB/sec after starting at around 30MB/sec. If i disable it, they're immediately back to their usual 90-100MB/sec.

Just looking for some assistance on how to properly set this up.

Thanks!

If you can, post screenshots of your settings from the various Tabs in Adaptive QoS, so we can see all of your settings.
The 2 tabs which have useful information: QoS, FlexQoS
The current contents of your "Customize" button in QoS
And the contents of the "Customize" button in FlexQoS tab (which will expand to show the FlexQoS settings)
 
I did move gaming to the top, but kept transfers low. My concern was that I set the minimum on transfers to 50%, it was still being throttled down to almost nothing, regardless of placement on that list. Is there something I need to do in the FlewxQoS tab to correctly categorize it maybe?

And to confirm, what exactly is the iptables and appdb list? Maybe something I need to tweak there as well?

The thing about QOS that takes some time to get fully understood... Once its enabled and the max up/down limits are set correctly it doesnt matter what category stuff is in on what position as the ping times will or shud all be the same and good.. What DOES change based on the category postions is the EXCESS data it wants over and above the minimum set for the category... higher priorities will get 1st bids on excess over and above if other categorys arent using theyre share.

I recomend unless you have special needs:

netcontrol
others
voip
gaming
web
streaming
game downloads
downloads

gaming is the only tricky one depending on your game console usage
 
If you have a gig connection why would you be slowing down so much with QoS on? Seems like there is plenty of bandwidth to go around.
 
The real question is..... with a gigabit connection why even worry about QoS? :)
 
If you can, post screenshots of your settings from the various Tabs in Adaptive QoS, so we can see all of your settings.
The 2 tabs which have useful information: QoS, FlexQoS
The current contents of your "Customize" button in QoS
And the contents of the "Customize" button in FlexQoS tab (which will expand to show the FlexQoS settings)

Alright, screens for the requested settings are enclosed. I even tried classifying my PC's connection to the seedbox specifically as a file transfer, and nada.
 

Attachments

  • QOS1.PNG
    QOS1.PNG
    257.2 KB · Views: 361
  • QOS2.PNG
    QOS2.PNG
    187.4 KB · Views: 365
  • QOS3.PNG
    QOS3.PNG
    177.9 KB · Views: 369
  • QOS4.PNG
    QOS4.PNG
    392.7 KB · Views: 347
If you have a gig connection why would you be slowing down so much with QoS on? Seems like there is plenty of bandwidth to go around.

The real question is..... with a gigabit connection why even worry about QoS? :)

Well, it is spectrum... so there are the occasional slowdowns during congested hours. just want to make sure that Video Games are top priority, without throttling my downloads too much. Supposed to get Google Fiber by the end of the year (they already trenched and installed a node outside my place).
 
If you have a gig connection why would you be slowing down so much with QoS on? Seems like there is plenty of bandwidth to go around.
because qos is cpu intensive and it is a difficult task for the router to achieve gigabit speeds when enabled. Most cannot come close to this and max out the cpu MUCH lower
 

Latest threads

Sign Up For SNBForums Daily Digest

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