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!

If you really want to emphasize the value of logarithmic graphs, monitor the graphs for a while, and then initiate an Internet speed test. Try it -- you'll quickly appreciate the log scales.
 
If you really want to emphasize the value of logarithmic graphs, monitor the graphs for a while, and then initiate an Internet speed test. Try it -- you'll quickly appreciate the log scales.
Linear vs logarithmic (same speedtest):
76952E3B-A8A8-443D-AB53-2B8DBBDA57AB.jpeg 354DFDFC-38D7-47DA-A96A-EF87250B51C3.jpeg
 
It's now an option in the latest develop branch update. Default is still "Linear". Preference is saved as a browser cookie only.
Really great thing, thank you (preferring log vs. lin)! :)
Just because I'm curious - why browser cookie vs. settings file?
And another question I wanted to ask for a long time but always forgot: Why , for thousands-delimiter instead of . in scale and rates?
 
What, now it's a VU Meter!? I'm exponentially impressed ;-)

maybe better, a PPM meter (log measuring log)- v.s. a VU (linear measuring log)... it's all about representing the ballistics... sorta'...
 
Last edited:
Just because I'm curious - why browser cookie vs. settings file?
The main reason is to not take up space in the custom_settings.txt file which is limited to 8KB. Plus the shell script has no use for this information so no need to pass it outside the browser. Lastly, it seems to be a standard convention for other graphing addons (Skynet and all Jack’s addons).
And another question I wanted to ask for a long time but always forgot: Why , for thousands-delimiter instead of . in scale and rates?
This is due to old-fashioned Americanism and forgetting that other countries may do things differently. I can probably fix that. :oops:
 
The main reason is to not take up space in the custom_settings.txt file which is limited to 8KB. Plus the shell script has no use for this information so no need to pass it outside the browser. Lastly, it seems to be a standard convention for other graphing addons (Skynet and all Jack’s addons).

This is due to old-fashioned Americanism and forgetting that other countries may do things differently. I can probably fix that. :oops:
I have pushed a fix that should respect your local machine locale when formatting numbers. Please check the graphs and the bandwidth settings table to see if it looks right for your locale. Post a screenshot of your results, please.

EDIT: No fix yet for the Americanism. :)
 
Last edited:
Hi @dave14305 originally I had Conntrack Flushing disabled via the CLI and I tried enabling it via the GUI but without success. Subsequently I enabled it via the CLI and was able to disable it via the GUI but not to enable it via the GUI.
 
Hi @dave14305 originally I had Conntrack Flushing disabled via the CLI and I tried enabling it via the GUI but without success. Subsequently I enabled it via the CLI and was able to disable it via the GUI but not to enable it via the GUI.
Yes, that was an unfinished option when I decided to work on the graphs. I think I've fixed it now. I wanted to avoid writing the default setting (enabled) to the custom_settings.txt file but never tested my flawed logic. Seems to work better after my latest push.
 
Recently installed FlexQoS on my RT-AX3000 running Merlin 384.18 and I don't see the Work from Home Category. The categories listed appear different from my RT-AC68U. Does Work from Home fall under the Others category? Is the below listing acceptable for Flex functionality?

1607107831587.png
 
Yes, that was an unfinished option when I decided to work on the graphs. I think I've fixed it now. I wanted to avoid writing the default setting (enabled) to the custom_settings.txt file but never tested my flawed logic. Seems to work better after my latest push.

Thanks Dave I can confirm it now works after the latest Hotfix
 
Recently installed FlexQoS on my RT-AX3000 running Merlin 384.18 and I don't see the Work from Home Category. The categories listed appear different from my RT-AC68U. Does Work from Home fall under the Others category? Is the below listing acceptable for Flex functionality?

View attachment 28212
It probably came in 384.19. But it's simply called "VoIP and Instant Messaging" in 384.18 and earlier. Same content, different label. I would suggest moving File Transferring to the bottom, and VoIP higher up if you're doing any Zoom/Skype/Teams these days.
 
It probably came in 384.19. But it's simply called "VoIP and Instant Messaging" in 384.18 and earlier. Same content, different label. I would suggest moving File Transferring to the bottom, and VoIP higher up if you're doing any Zoom/Skype/Teams these days.
Thanks! Any idea what Learn From Home is under the old categories?
 
It didn't exist in the old setup. Even in the current setup, it's an unhelpful duplication of Streaming and a subset of the Web Surfing categories. You're not missing much.
Gotcha.

Doesn't seem to be working properly. I've got upload/download set to 8U/125D, but I'm pulling 11U,178D when doing a speedtest. Where should I start to try and figure out what's going on?
 
Gotcha.

Doesn't seem to be working properly. I've got upload/download set to 8U/125D, but I'm pulling 11U,178D when doing a speedtest. Where should I start to try and figure out what's going on?
I believe Adaptive QoS is broken on the AX58U/3000U prior to 386. Run flexqos debug and post the output just to be sure it’s nothing else.
 
I believe Adaptive QoS is broken on the AX58U/3000U prior to 386. Run flexqos debug and post the output just to be sure it’s nothing else.
Code:
FlexQoS v1.0.6 released 2020-11-23

Debug date: 2020-12-04 17:12:56-0800
Router Model: RT-AX3000
Firmware Ver: 384.18_0
WAN iface: eth4
tc WAN iface: eth4
Undf Prio: 2
Down Band: 128000
Up Band  : 8192
***********
Net Control: 1:10
Work-From-Home: 1:14
Gaming: 1:11
Others: 1:15
Web Surfing: 1:12
Streaming: 1:13
File Downloads: 1:16
Game Downloads: 1:17
***********
Downrates: 6400, 19200, 12800, 38400, 25600, 12800, 6400, 6400
Downceils: 128000, 128000, 128000, 128000, 128000, 128000, 128000, 128000
Downbursts: 8000, 24000, 16000, 48000, 32000, 16000, 8000, 8000
DownCbursts: 160000, 160000, 160000, 160000, 160000, 160000, 160000, 160000
DownQuantums: 80000, 240000, 160000, 480000, 320000, 160000, 80000, 80000
***********
Uprates: 409, 1228, 819, 819, 1638, 2457, 409, 409
Upceils: 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192
Upbursts: 3200, 3200, 3200, 3200, 3200, 3200, 3200, 3200
UpCbursts: 9600, 9600, 9600, 9600, 9600, 9600, 9600, 9600
UpQuantums: 5112, 15350, 10237, 10237, 20475, 30712, 5112, 5112
***********
iptables settings: <>>udp>>500,4500>>3<>>udp>16384:16415>>>3<>>tcp>>119,563>>5<>                                                                                                                                                                                                                                             >tcp>>80,443>08****>7
-o br0 -p udp -m multiport --sports 500,4500 -j MARK --set-mark 0x8006ffff/0x3ff                                                                                                                                                                                                                                             fff
-o eth4 -p udp -m multiport --dports 500,4500 -j MARK --set-mark 0x4006ffff/0x3f                                                                                                                                                                                                                                             ffff
-o br0 -p udp --dport 16384:16415 -j MARK --set-mark 0x8006ffff/0x3fffff
-o eth4 -p udp --sport 16384:16415 -j MARK --set-mark 0x4006ffff/0x3fffff
-o br0 -p tcp -m multiport --sports 119,563 -j MARK --set-mark 0x8003ffff/0x3fff                                                                                                                                                                                                                                             ff
-o eth4 -p tcp -m multiport --dports 119,563 -j MARK --set-mark 0x4003ffff/0x3ff                                                                                                                                                                                                                                             fff
-o br0 -p tcp -m multiport --sports 80,443 -m mark --mark 0x80080000/0xc03f0000                                                                                                                                                                                                                                              -j MARK --set-mark 0x803fffff/0x3fffff
-o eth4 -p tcp -m multiport --dports 80,443 -m mark --mark 0x40080000/0xc03f0000                                                                                                                                                                                                                                              -j MARK --set-mark 0x403fffff/0x3fffff
***********
appdb rules: <000000>6<00006B>6<0D0007>5<0D0086>5<0D00A0>5<12003F>4<13****>4<14*                                                                                                                                                                                                                                             ***>4<1A****>5
filter change dev br0 prio 2 protocol all handle 827::800 u32 flowid 1:15
filter change dev eth4 prio 2 protocol all handle 827::800 u32 flowid 1:15
filter add dev br0 protocol all prio 2 u32 match mark 0x8000006B 0xc03fffff flow                                                                                                                                                                                                                                             id 1:15
filter add dev eth4 protocol all prio 2 u32 match mark 0x4000006B 0xc03fffff flo                                                                                                                                                                                                                                             wid 1:15
filter add dev br0 protocol all prio 15 u32 match mark 0x800D0007 0xc03fffff flo                                                                                                                                                                                                                                             wid 1:16
filter add dev eth4 protocol all prio 15 u32 match mark 0x400D0007 0xc03fffff fl                                                                                                                                                                                                                                             owid 1:16
filter add dev br0 protocol all prio 15 u32 match mark 0x800D0086 0xc03fffff flo                                                                                                                                                                                                                                             wid 1:16
filter add dev eth4 protocol all prio 15 u32 match mark 0x400D0086 0xc03fffff fl                                                                                                                                                                                                                                             owid 1:16
filter add dev br0 protocol all prio 15 u32 match mark 0x800D00A0 0xc03fffff flo                                                                                                                                                                                                                                             wid 1:16
filter add dev eth4 protocol all prio 15 u32 match mark 0x400D00A0 0xc03fffff fl                                                                                                                                                                                                                                             owid 1:16
filter add dev br0 protocol all prio 20 u32 match mark 0x8012003F 0xc03fffff flo                                                                                                                                                                                                                                             wid 1:12
filter add dev eth4 protocol all prio 20 u32 match mark 0x4012003F 0xc03fffff fl                                                                                                                                                                                                                                             owid 1:12
filter change dev br0 prio 22 protocol all handle 802::800 u32 flowid 1:12
filter change dev eth4 prio 22 protocol all handle 802::800 u32 flowid 1:12
filter change dev br0 prio 23 protocol all handle 804::800 u32 flowid 1:12
filter change dev eth4 prio 23 protocol all handle 804::800 u32 flowid 1:12
filter change dev br0 prio 2 protocol all handle 827::802 u32 flowid 1:16
filter change dev eth4 prio 2 protocol all handle 827::802 u32 flowid 1:16
 

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