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.
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
I’m going to speculate it’s an unexpected side effect of https://github.com/RMerl/asuswrt-merlin.ng/commit/f7b03e615d52dc11f7f7270807aa3de7e12f05b5 where FA isn’t being disabled on a non-NHD router. Your WAN interface should become eth0 with proper QoS setup, and not vlan2 as it would be when full HW acceleration is enabled. You can either mention this issue in the 386.5 thread or we can ping @RMerlin here. This webui logic is very confusing in what it was trying to accomplish and the fix may have broken the desired behavior.
 
I’m going to speculate it’s an unexpected side effect of https://github.com/RMerl/asuswrt-merlin.ng/commit/f7b03e615d52dc11f7f7270807aa3de7e12f05b5 where FA isn’t being disabled on a non-NHD router. Your WAN interface should become eth0 with proper QoS setup, and not vlan2 as it would be when full HW acceleration is enabled. You can either mention this issue in the 386.5 thread or we can ping @RMerlin here. This webui logic is very confusing in what it was trying to accomplish and the fix may have broken the desired behavior.
What I understand is this is way beyond me and I’m gonna leave the stage to “Parts of the Furniture” :)
 
What I understand is this is way beyond me and I’m gonna leave the stage to “Parts of the Furniture” :)
If you disable and enable QoS and then reboot, is it still broken?

What is the current nvram output of:
Bash:
nvram get ctf_fa_mode
 
If you disable and enable QoS and then reboot, is it still broken?

What is the current nvram output of:
Bash:
nvram get ctf_fa_mode
Yes still broken and the output is 0.
Also upload is broken in classification page too. And HW acceleration is

1648406934353.png
 
Yes still broken and the output is 0.
Also upload is broken in classification page too. And HW acceleration is

View attachment 40409
I just setup my old AC68U and installed 386.5_2 and enabled QoS without any problems, so my speculation may be wrong, or not widespread to all non-HND models, if any.

On a factory reset, only CTF was enabled. I enabled QoS and all was setup correctly on eth0.
I disabled QoS, withdrew from Trend Micro privacy agreement, and rebooted. CTF+FA now enabled and WAN iface is vlan2.
I enabled QoS again and it was still setup correctly again on eth0.
 
I just setup my old AC68U and installed 386.5_2 and enabled QoS without any problems, so my speculation may be wrong, or not widespread to all non-HND models, if any.

On a factory reset, only CTF was enabled. I enabled QoS and all was setup correctly on eth0.
I disabled QoS, withdrew from Trend Micro privacy agreement, and rebooted. CTF+FA now enabled and WAN iface is vlan2.
I enabled QoS again and it was still setup correctly again on eth0.
curious and curious, @pattiri did you make sure you were not somehow accidently withdrawed from the Trend Micro privacy agreement?
1648430409002.png
 
curious and curious, @pattiri did you make sure you were not somehow accidently withdrawed from the Trend Micro privacy agreement?
View attachment 40413
Checked it and I didn’t withdraw. To test I’ve withdrawn and accept again but issue is still there.
My router bricked upgrading to 386_5.2 and I’ve installed dd-wrt and openwrt before Merlin to make it work again. Maybe they broke something?
anyway I will try to go back 386_5. If it’s still broken I will try to reset router and configure all manually. I don’t know when I get time for this but I’ll keep you posted. Thank you both :)
 
Checked it and I didn’t withdraw. To test I’ve withdrawn and accept again but issue is still there.
My router bricked upgrading to 386_5.2 and I’ve installed dd-wrt and openwrt before Merlin to make it work again. Maybe they broke something?
anyway I will try to go back 386_5. If it’s still broken I will try to reset router and configure all manually. I don’t know when I get time for this but I’ll keep you posted. Thank you both :)
Just flashed 386.5 and issue is still there. Probably only I have this problem :/

I'll nuke the router and configure all manually when I have time. Thanks again
 
Thanks Dave, tweaked to A+ A A+ at 491/31
Where do you test BufferBloat these days? DSLReports is down, and most others that I am aware of are chaotic, anywhere from A+ to D on subsequent runs, nomatter what you do with the QOS settings.
 
In considering FlexQOS for my old AC68U as a replacement for CakeQOS on AC86 after finding out that the AC86U's firmware is permanently broken and Asus is not stepping up to fix it.

My question is: are there any profiles that aims to serve as a simple "set it and forget it" for FlexQOS like is the default (and primary purpose according to the description) for CakeQOS?

If so, what's considered the minimum required in order to achieve a ~80/20 efficiency, not requiring lots of tinkering and tweaking over setting up the normal Adaptive QOS priority list?

I'm asking because I did not succeed in finding a simple and simply available explanation about this on neither on the Github page/readme, this page or any other sticky, and I'm tired of reading walls of text with poor structure (straight to the advanced details without explaining the concepts/overview/relevance first) before I know if it even does what I'm seeking a solution for.
 
My question is: are there any profiles that aims to serve as a simple "set it and forget it" for FlexQOS
The vanilla installation cures many of the inherent problems with Adaptive QoS. Tinkering is optional, depending whether Adaptive QoS classifies your network’s unique traffic patterns to your satisfaction.
 
The vanilla installation cures many of the inherent problems with Adaptive QoS. Tinkering is optional, depending whether Adaptive QoS classifies your network’s unique traffic patterns to your satisfaction.
Do we know whether Asus has improved those aspects of Adaptive QOS since the main part of Flex was written, possibly leading to conflicting settings? Are there any benchmarks and such?
 
Do we know whether Asus has improved those aspects of Adaptive QOS since the main part of Flex was written, possibly leading to conflicting settings? Are there any benchmarks and such?
Short answers are no and no. FlexQoS is just a continuation of the original FreshJR_QOS script, which pre-dates FlexQoS by a couple years or more. Asus doesn’t seem to think they need fixing.
 
The vanilla installation cures many of the inherent problems with Adaptive QoS. Tinkering is optional, depending whether Adaptive QoS classifies your network’s unique traffic patterns to your satisfaction.
I have to say, I am a set it and forget it kind of guy. When I installed flexQoS, I have not had to look back once. I almost forgot it was installed, it just works that well. I played around with some of the unique custom features today. @dave14305 I don't know if I would like my internet without flexQoS.
 
Checked it and I didn’t withdraw. To test I’ve withdrawn and accept again but issue is still there.
My router bricked upgrading to 386_5.2 and I’ve installed dd-wrt and openwrt before Merlin to make it work again. Maybe they broke something?
anyway I will try to go back 386_5. If it’s still broken I will try to reset router and configure all manually. I don’t know when I get time for this but I’ll keep you posted. Thank you both :)
Quick update, reset to factory settings and configured everything from zero and all fixed now
 
I have a second bridge interface set up for my guest network. Is it possible to config the QoS rules for both br0 and br1?

Is it possible to copy the tc configuration from br0 to br1?
 
I have a second bridge interface set up for my guest network. Is it possible to config the QoS rules for both br0 and br1?

Is it possible to copy the tc configuration from br0 to br1?
Not really. Adaptive QoS doesn't account for br1 or br2 yet, so I don't think there's a good solution right now. You cannot really manage download bandwidth if you're duplicating the bandwidth across two different interfaces. If you have 100 Mbit download, do you allot 70 Mbit for br0 and 30 Mbit for br1? It gets very complicated, and unmanageable.

This would be a scenario where CAKE would work better since it works solely on the WAN interface for both upload and download.
 
hi Dave,
is there a way/command to find out if FlexQOS is running ?

I am afraid mine is not running or setup correctly as my buffer float is C.
I am on 250Mbps download and 25 Mbps upload on RT-AX88U.

thanks for your help in advance.

LATENCY

Unloaded

29 ms

Download Active

+24 ms

Upload Active

+94 ms
 
hi Dave,
is there a way/command to find out if FlexQOS is running ?

I am afraid mine is not running or setup correctly as my buffer float is C.
I am on 250Mbps download and 25 Mbps upload on RT-AX88U.

thanks for your help in advance.

LATENCY

Unloaded

29 ms

Download Active

+24 ms

Upload Active

+94 ms
You can run flexqos check from the command line to verify the modifications are made. Syslog will then show if any iptables or tc changes were made.
 
Status
Not open for further replies.

Sign Up For SNBForums Daily Digest

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