What's new

FlexQoS FlexQoS 1.3.2 - 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!

Status
Not open for further replies.
I usually put Gaming near the top, with reduced max bandwidth to stop a mis-categorisation playing havoc with things. (For example, a game download ending up in that category. Downloads can hog 100% of a connection.) Keep in mind that many games do NOT require much bandwidth to play. I have seen a lot of games that work on 256kbit-1.5mbit just fine. If you can grant them even a dedicated 20mbit, you're probably good for 99% of games. And a dedicated 5mbit will cover several users for > 90% of games. Some of the most popular games out there on Steam run fine on 1mbit or less. (It needs to be stable, though, so being categorized near the end would not work well.)

My current problem is that an XBoxOne is escaping FlexQOS entirely and hogging the entire connection for downloads. Under Traffic Analyzer -> Statistic, I can see the XBOXONE device chugging bandwidth at an insane pace, yet FlexQOS insists only 8 out of 30mbit is in use (in "Web Surfing" - mostly the XBox One)

I seem to remember a thread mentioning some bugs related to the RT-AX86U and its gaming port, and stuff bypassing qdiscs. I skimmed it a while back, but something in the back of my mind is telling me to go find it, as there might be useful info there.
@BikeHelmet


Did you ever made any adjustments to the original settings you had? Just wondering if you're still using Flex and if you were able to fix the Xbox downloads issue? Any info is appreciated!
 
EDIT: Figured this out, somehow gaming device was on.
Before I factory reset, figured id ask here real fast if any has had the problem/knows a fix. This is on my ax86u. Category order is Net Control, Streaming, work-from-home,web surfing,gaming,file transfer, learn from home, others.
If something is streaming, it will show in the work-from-home category.. If you set a client to net-control it will show up in streaming if this makes sense. Basically it always shows in the next priority category. Not sure if its really hurting anything.
##########################
Debug date : 2022-03-18 09:23:39-0400
Router Model : RT-AX86U
Firmware Ver : 386.5_0
DPI/Sig Ver : 2.0.1 / 2.284
WAN iface : eth0
tc WAN iface : eth0
IPv6 : disabled
Undf Prio : 2
Down Band : 266240
Up Band : 30720
**************
Net Control : 1:11
Work-From-Home: 1:13
Gaming : 1:10
Others : 1:17
Web Surfing : 1:14
Streaming : 1:12
File Transfers: 1:15
Learn-From-Home: 1:16
**************
Downrates : 39936, 13312, 79872, 53248, 26624, 13312, 13312, 26624
Downceils : 266240, 266240, 266240, 266240, 266240, 266240, 266240, 266240
Uprates : 4608, 1536, 3072, 6144, 3072, 1536, 1536, 9216
Upceils : 30720, 30720, 30720, 30720, 30720, 30720, 30720, 30720
**************
iptables settings: <>>udp>>500,4500>>3<>>udp>16384:16415>>>3<>>tcp>>119,563>>5<>>tcp>>80,443>08****>5<192.168.50.235>>both>>>>0
-o br0 -p udp -m multiport --sports 500,4500 -j MARK --set-mark 0x8006ffff/0xc03fffff
-o eth0 -p udp -m multiport --dports 500,4500 -j MARK --set-mark 0x4006ffff/0xc03fffff
-o br0 -p udp -m multiport --dports 16384:16415 -j MARK --set-mark 0x8006ffff/0xc03fffff
-o eth0 -p udp -m multiport --sports 16384:16415 -j MARK --set-mark 0x4006ffff/0xc03fffff
-o br0 -p tcp -m multiport --sports 119,563 -j MARK --set-mark 0x8003ffff/0xc03fffff
-o eth0 -p tcp -m multiport --dports 119,563 -j MARK --set-mark 0x4003ffff/0xc03fffff
-o br0 -p tcp -m multiport --sports 80,443 -m mark --mark 0x80080000/0xc03f0000 -j MARK --set-mark 0x8003ffff/0xc03fffff
-o eth0 -p tcp -m multiport --dports 80,443 -m mark --mark 0x40080000/0xc03f0000 -j MARK --set-mark 0x4003ffff/0xc03fffff
-o br0 -d 192.168.50.235 -p all -j MARK --set-mark 0x8009ffff/0xc03fffff
-o eth0 -s 192.168.50.235 -p all -j MARK --set-mark 0x4009ffff/0xc03fffff
**************
appdb rules: Defaults
filter change dev br0 prio 2 protocol all handle 828::800 u32 flowid 1:17
filter change dev eth0 prio 2 protocol all handle 828::800 u32 flowid 1:17
filter add dev br0 protocol all prio 2 u32 match mark 0x8000006B 0xc03fffff flowid 1:17
filter add dev eth0 protocol all prio 2 u32 match mark 0x4000006B 0xc03fffff flowid 1:17
filter add dev br0 protocol all prio 15 u32 match mark 0x800D0007 0xc03fffff flowid 1:15
filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0007 0xc03fffff flowid 1:15
filter add dev br0 protocol all prio 15 u32 match mark 0x800D0086 0xc03fffff flowid 1:15
filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0086 0xc03fffff flowid 1:15
filter add dev br0 protocol all prio 15 u32 match mark 0x800D00A0 0xc03fffff flowid 1:15
filter add dev eth0 protocol all prio 15 u32 match mark 0x400D00A0 0xc03fffff flowid 1:15
filter add dev br0 protocol all prio 20 u32 match mark 0x8012003F 0xc03fffff flowid 1:14
filter add dev eth0 protocol all prio 20 u32 match mark 0x4012003F 0xc03fffff flowid 1:14
filter change dev br0 prio 22 protocol all handle 802::800 u32 flowid 1:14
filter change dev eth0 prio 22 protocol all handle 802::800 u32 flowid 1:14
filter change dev br0 prio 23 protocol all handle 805::800 u32 flowid 1:14
filter change dev eth0 prio 23 protocol all handle 805::800 u32 flowid 1:14
class change dev br0 parent 1:1 classid 1:10 htb overhead 32 linklayer ethernet prio 0 rate 39936Kbit ceil 266240Kbit burst 33280b cburst 332800b quantum 499200
class change dev eth0 parent 1:1 classid 1:10 htb overhead 32 linklayer ethernet prio 0 rate 4608Kbit ceil 30720Kbit burst 3840b cburst 38400b quantum 57600
class change dev br0 parent 1:1 classid 1:11 htb overhead 32 linklayer ethernet prio 1 rate 13312Kbit ceil 266240Kbit burst 33280b cburst 332800b quantum 166400
class change dev eth0 parent 1:1 classid 1:11 htb overhead 32 linklayer ethernet prio 1 rate 1536Kbit ceil 30720Kbit burst 3840b cburst 38400b quantum 19200
class change dev br0 parent 1:1 classid 1:12 htb overhead 32 linklayer ethernet prio 2 rate 79872Kbit ceil 266240Kbit burst 33280b cburst 332800b quantum 998400
class change dev eth0 parent 1:1 classid 1:12 htb overhead 32 linklayer ethernet prio 2 rate 3072Kbit ceil 30720Kbit burst 3840b cburst 38400b quantum 38400
class change dev br0 parent 1:1 classid 1:13 htb overhead 32 linklayer ethernet prio 3 rate 53248Kbit ceil 266240Kbit burst 33280b cburst 332800b quantum 665600
class change dev eth0 parent 1:1 classid 1:13 htb overhead 32 linklayer ethernet prio 3 rate 6144Kbit ceil 30720Kbit burst 3840b cburst 38400b quantum 76800
class change dev br0 parent 1:1 classid 1:14 htb overhead 32 linklayer ethernet prio 4 rate 26624Kbit ceil 266240Kbit burst 33280b cburst 332800b quantum 332800
class change dev eth0 parent 1:1 classid 1:14 htb overhead 32 linklayer ethernet prio 4 rate 3072Kbit ceil 30720Kbit burst 3840b cburst 38400b quantum 38400
class change dev br0 parent 1:1 classid 1:15 htb overhead 32 linklayer ethernet prio 5 rate 13312Kbit ceil 266240Kbit burst 33280b cburst 332800b quantum 166400
class change dev eth0 parent 1:1 classid 1:15 htb overhead 32 linklayer ethernet prio 5 rate 1536Kbit ceil 30720Kbit burst 3840b cburst 38400b quantum 19200
class change dev br0 parent 1:1 classid 1:16 htb overhead 32 linklayer ethernet prio 6 rate 13312Kbit ceil 266240Kbit burst 33280b cburst 332800b quantum 166400
class change dev eth0 parent 1:1 classid 1:16 htb overhead 32 linklayer ethernet prio 6 rate 1536Kbit ceil 30720Kbit burst 3840b cburst 38400b quantum 19200
class change dev br0 parent 1:1 classid 1:17 htb overhead 32 linklayer ethernet prio 7 rate 26624Kbit ceil 266240Kbit burst 33280b cburst 332800b quantum 332800
class change dev eth0 parent 1:1 classid 1:17 htb overhead 32 linklayer ethernet prio 7 rate 9216Kbit ceil 30720Kbit burst 3840b cburst 38400b quantum 115200
[/CODE][/SPOILER]
 
Last edited:
@dave14305

I have setup QoS with 500/500Mbps on the AX86U.
Without QoS it works 540/540Mbps, with QoS 540/404Mbps. Any idea why?

spdmerlin is set to be excluded from QoS, plus CPU & RAM are not stressed at all.

On the AC88U was due to the CPU, but here, no idea.

Thanks,
 

Attachments

  • Screenshot_20220319-150020_JuiceSSH.jpg
    Screenshot_20220319-150020_JuiceSSH.jpg
    70.6 KB · Views: 96
I have setup QoS with 500/500Mbps on the AX86U.
Without QoS it works 540/540Mbps, with QoS 540/404Mbps. Any idea why?
Download isn't subjected to QoS at all with an on-router speedtest, so that's why it matches your non-QoS measurement.

I don't know what is a reasonable expectation for uploads from your router. Maybe others can share their experiences. Is upload the same on a true speedtest from a LAN client?
 
Download isn't subjected to QoS at all with an on-router speedtest, so that's why it matches your non-QoS measurement.

I don't know what is a reasonable expectation for uploads from your router. Maybe others can share their experiences. Is upload the same on a true speedtest from a LAN client?
Same happens doing it with a wired PC uploading a file into Mega.nz for example. with QoS uploads reaches 420mbps like capped, and without QoS 500mbps easily.
Apart from that FlexQoS works excellent.
 
@BikeHelmet


Did you ever made any adjustments to the original settings you had? Just wondering if you're still using Flex and if you were able to fix the Xbox downloads issue? Any info is appreciated!
I am still using FlexQOS. I have not had issues recently, but that doesn't mean much. Due to life getting busy, I haven't been around as much at the same time as lots of other people. Also, we doubled the internet speed when the option came up to do so at a good price.

I have noticed the rare thing will still hog the connection quite a bit, making those minimums extra important - it's usually something dropping into the Web Surfing category, lately. I'm considering dropping its allowable downstream below 100%.

I think this is a case where traditional QOS with its bandwidth tracking works far better. It catches those bulk downloads nice and quick. But FlexQOS is so easy to set up, and categorises so much without any effort - it's pretty impressive how well it works. I should probably try out CAKE sometime, though - that way I'd have a good view of the entire QOS landscape.
 
I am still using FlexQOS. I have not had issues recently, but that doesn't mean much. Due to life getting busy, I haven't been around as much at the same time as lots of other people. Also, we doubled the internet speed when the option came up to do so at a good price.

I have noticed the rare thing will still hog the connection quite a bit, making those minimums extra important - it's usually something dropping into the Web Surfing category, lately. I'm considering dropping its allowable downstream below 100%.

I think this is a case where traditional QOS with its bandwidth tracking works far better. It catches those bulk downloads nice and quick. But FlexQOS is so easy to set up, and categorises so much without any effort - it's pretty impressive how well it works. I should probably try out CAKE sometime, though - that way I'd have a good view of the entire QOS landscape.
If you do make any changes to your initial settings...would you mind sharing them here? I would appreciate it. Thanks!
 
If you do make any changes to your initial settings...would you mind sharing them here? I would appreciate it. Thanks!
I will, if I do. :)
 
with 386.5_2 I have this but not sure if its FlexQoS or the firmware. (already tried rebooting the router and installing FlexQoS again)

1648330907619.png
 
It appears you are a victim of flatlineQoS, flexQoS's primary competitor; in this particular instance, all categories are not deviating.
His upload is dead? But the download is still striving for speed?
 
His upload is dead? But the download is still striving for speed?
Yea, no dice. Mine appears to be working fine after updating to the new stable Merlin. This leads me to question if somehow something is corrupt or has changed in regards to QoS on certain model routers.
 
Hi @dave14305

Just a quick question, I have searched the forum, and I know its somewhere, but I can't find it.

Can you remind me the optimum settings for upload and download bandwidths?

Is it 90% of actual? (My actual is 540/33)

Untitled3.jpg


Thank you for your help.
 
The starting point to determine your ideal bandwidth settings is usually 90% of your actual bandwidth. Then keep testing higher or lower until you get your desired bufferbloat results.
Thanks Dave, tweaked to A+ A A+ at 491/31
 
Ok just run tc qdisc show instead.

Here;

Code:
qdisc pfifo_fast 0: dev fwd1 root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth0 root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth1 root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth2 root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc htb 1: dev vlan2 root refcnt 2 r2q 10 default 0 direct_packets_stat 0
qdisc fq_codel 102: dev vlan2 parent 1:2 limit 1000p flows 1024 quantum 1518 target 5.0ms interval 100.0ms
qdisc fq_codel 110: dev vlan2 parent 1:10 limit 1000p flows 1024 quantum 300 target 5.0ms interval 100.0ms
qdisc fq_codel 111: dev vlan2 parent 1:11 limit 1000p flows 1024 quantum 300 target 5.0ms interval 100.0ms
qdisc fq_codel 112: dev vlan2 parent 1:12 limit 1000p flows 1024 quantum 300 target 5.0ms interval 100.0ms
qdisc fq_codel 113: dev vlan2 parent 1:13 limit 1000p flows 1024 quantum 300 target 5.0ms interval 100.0ms
qdisc fq_codel 114: dev vlan2 parent 1:14 limit 1000p flows 1024 quantum 300 target 5.0ms interval 100.0ms
qdisc fq_codel 115: dev vlan2 parent 1:15 limit 1000p flows 1024 quantum 300 target 5.0ms interval 100.0ms
qdisc fq_codel 116: dev vlan2 parent 1:16 limit 1000p flows 1024 quantum 300 target 5.0ms interval 100.0ms
qdisc fq_codel 117: dev vlan2 parent 1:17 limit 1000p flows 1024 quantum 300 target 5.0ms interval 100.0ms
qdisc htb 1: dev br0 root refcnt 2 r2q 10 default 0 direct_packets_stat 7
qdisc fq_codel 102: dev br0 parent 1:2 limit 1000p flows 1024 quantum 1514 target 5.0ms interval 100.0ms
qdisc fq_codel 110: dev br0 parent 1:10 limit 1000p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
qdisc fq_codel 111: dev br0 parent 1:11 limit 1000p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
qdisc fq_codel 112: dev br0 parent 1:12 limit 1000p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
qdisc fq_codel 113: dev br0 parent 1:13 limit 1000p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
qdisc fq_codel 114: dev br0 parent 1:14 limit 1000p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
qdisc fq_codel 115: dev br0 parent 1:15 limit 1000p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
qdisc fq_codel 116: dev br0 parent 1:16 limit 1000p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
qdisc fq_codel 117: dev br0 parent 1:17 limit 1000p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
qdisc pfifo_fast 0: dev tun21 root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1

By the way, I've re-flashed 386.5_2 just in case and nothing changed
 
Status
Not open for further replies.

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!

Staff online

Top