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'm getting a lot of this messages:
Code:
Feb  7 18:36:03 router kernel: net_ratelimit: 24 callbacks suppressed
Feb  7 18:36:03 router kernel: nf_conntrack: expectation table full
Feb  7 18:36:03 router kernel: nf_conntrack: expectation table full
Feb  7 18:36:03 router kernel: nf_conntrack: expectation table full
Feb  7 18:36:03 router kernel: nf_conntrack: expectation table full
Feb  7 18:36:03 router kernel: nf_conntrack: expectation table full
Feb  7 18:36:03 router kernel: nf_conntrack: expectation table full
Feb  7 18:36:03 router kernel: nf_conntrack: expectation table full
Feb  7 18:36:03 router kernel: nf_conntrack: expectation table full
Feb  7 18:36:03 router kernel: nf_conntrack: expectation table full
Feb  7 18:36:03 router kernel: nf_conntrack: expectation table full

and this:

Code:
Feb  7 15:58:05 router rc_service: httpds 1731:notify_rc restart_firewall
Feb  7 15:58:05 router custom_script: Running /jffs/scripts/service-event (args: restart firewall)
Feb  7 15:58:05 router custom_script: Running /jffs/scripts/nat-start
Feb  7 15:58:05 router rc_service: httpds 1731:notify_rc restart_firewall
Feb  7 15:58:05 router rc_service: waitting "restart_firewall" via httpds ...
Feb  7 15:58:05 router custom_script: Running /jffs/scripts/firewall-start (args: eth0)
Feb  7 15:58:05 router custom_script: Running /jffs/scripts/service-event-end (args: restart firewall)
Feb  7 15:58:06 router custom_script: Running /jffs/scripts/service-event (args: restart firewall)
Feb  7 15:58:07 router custom_script: Running /jffs/scripts/nat-start
Feb  7 15:58:07 router custom_script: Running /jffs/scripts/firewall-start (args: eth0)
Feb  7 15:58:07 router custom_script: Running /jffs/scripts/service-event-end (args: restart firewall)
Feb  7 15:58:50 router rc_service: httpds 1731:notify_rc restart_firewall
Feb  7 15:58:50 router custom_script: Running /jffs/scripts/service-event (args: restart firewall)
Feb  7 15:58:50 router custom_script: Running /jffs/scripts/nat-start
Feb  7 15:58:50 router custom_script: Running /jffs/scripts/firewall-start (args: eth0)
Feb  7 15:58:50 router custom_script: Running /jffs/scripts/service-event-end (args: restart firewall)
Feb  7 16:00:10 router rc_service: httpds 1731:notify_rc restart_firewall
Feb  7 16:00:10 router custom_script: Running /jffs/scripts/service-event (args: restart firewall)
Feb  7 16:00:10 router custom_script: Running /jffs/scripts/nat-start
Feb  7 16:00:11 router custom_script: Running /jffs/scripts/firewall-start (args: eth0)
Feb  7 16:00:11 router custom_script: Running /jffs/scripts/service-event-end (args: restart firewall)
Feb  7 16:00:12 router rc_service: httpds 1731:notify_rc restart_firewall
Feb  7 16:00:12 router custom_script: Running /jffs/scripts/service-event (args: restart firewall)
Feb  7 16:00:12 router custom_script: Running /jffs/scripts/nat-start
Feb  7 16:00:13 router rc_service: httpds 1731:notify_rc restart_firewall
Feb  7 16:00:13 router rc_service: waitting "restart_firewall" via httpds ...
Feb  7 16:00:13 router custom_script: Running /jffs/scripts/firewall-start (args: eth0)
Feb  7 16:00:13 router custom_script: Running /jffs/scripts/service-event-end (args: restart firewall)
Feb  7 16:00:14 router custom_script: Running /jffs/scripts/service-event (args: restart firewall)
Feb  7 16:00:14 router custom_script: Running /jffs/scripts/nat-start
Feb  7 16:00:14 router custom_script: Running /jffs/scripts/firewall-start (args: eth0)
Feb  7 16:00:14 router custom_script: Running /jffs/scripts/service-event-end (args: restart firewall)


Not at the same time. I've disabled dnsmasq, using unbound. Does flexqos or skynet require dnsmasq?
 
Despite this, I only ever have the green upload line in the charts.
Please post these outputs:
Code:
tc -s class show dev br0
tc -s class show dev eth0
 
FlexQoS Version 1.2.0 - Released 07-Feb-2021

NEW:

  • Users can now customize the QoS class used for outbound traffic generated locally by the router (excluding DNS and NTP). Default is File Downloads. This was previously a hard-coded rule in the script.
  • The trimphant return of fq_codel to FlexQoS! This is an optional queue discipline choice (you must opt-in under Customize / Options).
In 384.x firmware, the Default choice respects the Queue Discipline chosen on the main QoS page.
In 386.x firmware, the Default choice implies Stochastic Fair Queuing (sfq), since there is no longer a choice in the firmware.
In all firmware, the fq_codel choice replaces the secondary htb queue discipline used to manage per-device traffic within an application category.

CHANGED:
  • HTB burst parameter now is based on "burst by duration" concept borrowed from SQM scripts @ OpenWRT. Burst is now defined as the number of bytes that can be sent at line speed in 1 millisecond.
  • Improved local client name mapping in the Tracked connections table, including IPv6 connections.
  • Reorganized bandwidth rates settings with new name and ordering
  • Reinstate firewall restart as the trigger for FlexQoS startup (spdMerlin users should use its develop branch until the next official release by Jack)
  • Add custom rate commands and fq_codel qdisc commands to debug output
  • Changed wording of backup deletion prompt (contributed by @maghuro)
  • Removed Advertisements from default appdb rules (rarely seen in the wild)
  • Added additional debug logging during startup while waiting for Adaptive QoS setup
  • Reduced startup wait time from 5 to 3 minutes
  • Force QoS restart after 3-minute startup delay to work around 386.1 Adaptive QoS startup issues on some models
  • Refactored code into more discrete functions to avoid repetition
FIXED:
  • Page title now conforms to firmware standard title wording
  • Properly parsed integers in comma function
  • Cleaned up temporary file left behind during an update download
  • 5-minute Cronjob might fail if Entware coreutils-date is also installed
Update via the webUI or by running flexqos update at the SSH prompt, or by using the FlexQoS menu via amtm.

Thanks for everyone who tested the develop branch all these weeks!
 
Last edited:
Updated to V1.2.0 from V1.1.1 Dev with fq_codel, and everything appears to be running smoothly. (30+ devices, gaming, streaming, Work-from-Home, etc.)

Note: After running "flexqos update", and installing V1.2.0, I noticed on the FlexQOS tab that it showed "FlexQoS - v1.2.0 DEV", so I then ran "flexqos stable", and now it appears to be running the "stable" version (unless you already have a "develop" version you are testing).
 
Note: After running "flexqos update", and installing V1.2.0, I noticed on the FlexQOS tab that it showed "FlexQoS - v1.2.0 DEV", so I then ran "flexqos stable", and now it appears to be running the "stable" version (unless you already have a "develop" version you are testing).
Aye, noticed the same.

Have you got another dev version in the works already @dave14305 ?
 
Please post these outputs:
Code:
tc -s class show dev br0
tc -s class show dev eth0
I uninstalled felxqos and installed the latest version from scratch. I have not adjusted anything except the table which offers download and upload adjustment for the various classes. The adaptive qos of the router is active and optimized on mediastreaming. I indicate below the flexqos debugging:


FlexQoS v1.2.0 released 2021-02-07

Debug date : 2021-02-08 09:08:17+0100
Router Model : DSL-AC68U
Firmware Ver : 386.01_0-gnuton0_beta1
DPI/Sig Ver : 2.0.1 / 2.216
WAN iface : ppp0
tc WAN iface : eth0
IPv6 : disabled
Undf Prio : 2
Down Band : 0
Up Band : 0
***********
Net Control : 1:10
Work-From-Home: 1:12
Gaming : 1:14
Others : 1:17
Web Surfing : 1:15
Streaming : 1:11
File Downloads: 1:16
Game Downloads: 1:13
***********
Custom rates disabled with Automatic Bandwidth mode!
***********
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/0xc03fffff
-o ppp0 -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 ppp0 -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 ppp0 -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 0x803fffff/0xc03fffff
-o ppp0 -p tcp -m multiport --dports 80,443 -m mark --mark 0x40080000/0xc03f0000 -j MARK --set-mark 0x403fffff/0xc03fffff
***********
appdb rules: <000000>6<00006B>6<0D0007>5<0D0086>5<0D00A0>5<12003F>4<13****>4<14****>4
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:16
filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0007 0xc03fffff flowid 1:16
filter add dev br0 protocol all prio 15 u32 match mark 0x800D0086 0xc03fffff flowid 1:16
filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0086 0xc03fffff flowid 1:16
filter add dev br0 protocol all prio 15 u32 match mark 0x800D00A0 0xc03fffff flowid 1:16
filter add dev eth0 protocol all prio 15 u32 match mark 0x400D00A0 0xc03fffff flowid 1:16
filter add dev br0 protocol all prio 20 u32 match mark 0x8012003F 0xc03fffff flowid 1:15
filter add dev eth0 protocol all prio 20 u32 match mark 0x4012003F 0xc03fffff flowid 1:15
filter change dev br0 prio 22 protocol all handle 802::800 u32 flowid 1:15
filter change dev eth0 prio 22 protocol all handle 802::800 u32 flowid 1:15
filter change dev br0 prio 23 protocol all handle 804::800 u32 flowid 1:15
filter change dev eth0 prio 23 protocol all handle 804::800 u32 flowid 1:15
class change dev br0 parent 1:1 classid 1:10 htb prio 0 rate Kbit ceil Kbit burst 3200b cburst 3200b quantum 14
class change dev eth0 parent 1:1 classid 1:10 htb prio 0 rate Kbit ceil Kbit burst 3200b cburst 3200b quantum 14
class change dev br0 parent 1:1 classid 1:11 htb prio 1 rate Kbit ceil Kbit burst 3200b cburst 3200b quantum 14
class change dev eth0 parent 1:1 classid 1:11 htb prio 1 rate Kbit ceil Kbit burst 3200b cburst 3200b quantum 14
class change dev br0 parent 1:1 classid 1:12 htb prio 2 rate Kbit ceil Kbit burst 3200b cburst 3200b quantum 14
class change dev eth0 parent 1:1 classid 1:12 htb prio 2 rate Kbit ceil Kbit burst 3200b cburst 3200b quantum 14
class change dev br0 parent 1:1 classid 1:13 htb prio 3 rate Kbit ceil Kbit burst 3200b cburst 3200b quantum 14
class change dev eth0 parent 1:1 classid 1:13 htb prio 3 rate Kbit ceil Kbit burst 3200b cburst 3200b quantum 14
class change dev br0 parent 1:1 classid 1:14 htb prio 4 rate Kbit ceil Kbit burst 3200b cburst 3200b quantum 14
class change dev eth0 parent 1:1 classid 1:14 htb prio 4 rate Kbit ceil Kbit burst 3200b cburst 3200b quantum 14
class change dev br0 parent 1:1 classid 1:15 htb prio 5 rate Kbit ceil Kbit burst 3200b cburst 3200b quantum 14
class change dev eth0 parent 1:1 classid 1:15 htb prio 5 rate Kbit ceil Kbit burst 3200b cburst 3200b quantum 14
class change dev br0 parent 1:1 classid 1:16 htb prio 6 rate Kbit ceil Kbit burst 3200b cburst 3200b quantum 14
class change dev eth0 parent 1:1 classid 1:16 htb prio 6 rate Kbit ceil Kbit burst 3200b cburst 3200b quantum 14
class change dev br0 parent 1:1 classid 1:17 htb prio 7 rate Kbit ceil Kbit burst 3200b cburst 3200b quantum 14
class change dev eth0 parent 1:1 classid 1:17 htb prio 7 rate Kbit ceil Kbit burst 3200b cburst 3200b quantum 14
 
Please post these outputs:
Code:
tc -s class show dev br0
tc -s class show dev eth0

class htb 15:256 parent 15:1 leaf 6256: prio 3 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390

class htb 15:1 root rate 1895Mbit ceil 1895Mbit burst 1249348b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 82390 ctokens: 82390

class htb 15:2 parent 15:1 leaf 6002: prio 2 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390

class htb 15:3 parent 15:1 leaf 6003: prio 2 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390

class htb 15:4 parent 15:1 leaf 6004: prio 2 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390

class htb 15:5 parent 15:1 leaf 6005: prio 3 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390

class htb 15:6 parent 15:1 leaf 6006: prio 3 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390

class htb 15:7 parent 15:1 leaf 6007: prio 3 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390

class htb 15:8 parent 15:1 leaf 6008: prio 3 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390

class htb 15:9 parent 15:1 leaf 6009: prio 2 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390

class htb 16:10 parent 16:1 leaf 7010: prio 3 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390

class htb 16:256 parent 16:1 leaf 7256: prio 3 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390

class htb 16:1 root rate 1895Mbit ceil 1895Mbit burst 1249348b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 82390 ctokens: 82390

class htb 16:2 parent 16:1 leaf 7002: prio 2 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390

class htb 16:3 parent 16:1 leaf 7003: prio 2 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390

class htb 16:4 parent 16:1 leaf 7004: prio 2 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390

class htb 16:5 parent 16:1 leaf 7005: prio 3 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390

class htb 16:6 parent 16:1 leaf 7006: prio 3 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390

class htb 16:7 parent 16:1 leaf 7007: prio 3 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390

class htb 16:8 parent 16:1 leaf 7008: prio 3 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390

class htb 16:9 parent 16:1 leaf 7009: prio 2 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390

class htb 17:10 parent 17:1 leaf 8010: prio 3 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390

class htb 17:256 parent 17:1 leaf 8256: prio 3 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390

class htb 17:1 root rate 1895Mbit ceil 1895Mbit burst 1249348b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 82390 ctokens: 82390

class htb 17:2 parent 17:1 leaf 8002: prio 2 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390

class htb 17:3 parent 17:1 leaf 8003: prio 2 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390

class htb 17:4 parent 17:1 leaf 8004: prio 2 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390

class htb 17:5 parent 17:1 leaf 8005: prio 3 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390

class htb 17:6 parent 17:1 leaf 8006: prio 3 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390

class htb 17:7 parent 17:1 leaf 8007: prio 3 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390

class htb 17:8 parent 17:1 leaf 8008: prio 3 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390

class htb 17:9 parent 17:1 leaf 8009: prio 2 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390

admin@DSL-AC68U-0D90:/tmp/home/root# tc -s class show dev eth0
 
Hi,

Sorry if this is a noob question or if this has already been answered. Can you please advise what I should be selecting for "Router Outbound Traffic Class". It was defaulted to "File downloads" when I upgraded to v1.2.0. What does this actually do when I select a category?

Thanks for your help. :)

Kind regards,

Matt
 
Hi,

Sorry if this is a noob question or if this has already been answered. Can you please advise what I should be selecting for "Router Outbound Traffic Class". It was defaulted to "File downloads" when I upgraded to v1.2.0. What does this actually do when I select a category?

Thanks for your help. :)

Kind regards,

Matt
Great question. I have adjusted the native adaptive qos to optimize multimedia streaming and therefore this flexqos item I have always put streaming multimedia ....... I don't know how it should be configured.
 
Note: After running "flexqos update", and installing V1.2.0, I noticed on the FlexQOS tab that it showed "FlexQoS - v1.2.0 DEV", so I then ran "flexqos stable", and now it appears to be running the "stable" version (unless you already have a "develop" version you are testing).
Aye, noticed the same.

Have you got another dev version in the works already @dave14305 ?
Once you switch to the develop branch, you are stuck there until you switch back to stable. At the moment they are equal, but will soon start to diverge.
Hi,

Sorry if this is a noob question or if this has already been answered. Can you please advise what I should be selecting for "Router Outbound Traffic Class". It was defaulted to "File downloads" when I upgraded to v1.2.0. What does this actually do when I select a category?

Thanks for your help. :)

Kind regards,

Matt
Great question. I have adjusted the native adaptive qos to optimize multimedia streaming and therefore this flexqos item I have always put streaming multimedia ....... I don't know how it should be configured.
You don't need to select anything. For years, the default has been the File Downloads class, and it's probably fine for most people. This is a hard-coded rule that classifies outbound internet traffic that originates from the router itself (not LAN clients). The original purpose in the FreshJR_QOS script is documented as fixing VPN upload classification. I have no idea if it still works for that purpose or not, but it would also influence outbound upload traffic when running a router-based speedtest. There's very little reason to change it, but in the interest of making the script as Flex-ible as possible I turned it into an option.
 
class htb 15:256 parent 15:1 leaf 6256: prio 3 rate 16Kbit ceil 1895Mbit burst 3200b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 25000000 ctokens: 82390
OK, I forgot to limit the output. Please run these commands instead:
Code:
tc -s class show dev br0 parent 1:
tc -s class show dev eth0 parent 1:
 
I tried to disable the open vpn and the fleqos gives me all the graphics etc. If I enable the open vpn it doesn't give them anymore. So with the opne vpn active the adaptive qos or the flexqos do not work? Do I need to change any settings?
 
OK, I forgot to limit the output. Please run these commands instead:
Code:
tc -s class show dev br0 parent 1:
tc -s class show dev eth0 parent 1:

ASUSWRT-Merlin DSL-AC68U 386.01_0-gnuton0_beta1 Thu Feb 4 08:46:28 UTC 2021
admin@DSL-AC68U-0D90:/tmp/home/root# tc -s class show dev br0 parent 1:
class htb 1:11 parent 1:1 leaf 11: prio 1 rate 1895Mbit ceil 1895Mbit burst 1249348b cburst 1249348b
Sent 14986212 bytes 9986 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 9986 borrowed: 0 giants: 0
tokens: 82297 ctokens: 82297

class htb 1:10 parent 1:1 leaf 10: prio 0 rate 524288Kbit ceil 1895Mbit burst 654311b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 156015 ctokens: 82390

class htb 1:1 root rate 1895Mbit ceil 1895Mbit burst 1249348b cburst 1249348b
Sent 15065060 bytes 10264 pkt (dropped 0, overlimits 0 requeues 0)
rate 8bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 82390 ctokens: 82390

class htb 1:2 root leaf 2: prio 0 rate 1Gbit ceil 1Gbit burst 1249375b cburst 1249375b
Sent 31605676 bytes 26589 pkt (dropped 0, overlimits 0 requeues 0)
rate 14856bit 5pps backlog 0b 0p requeues 0
lended: 20789 borrowed: 0 giants: 0
tokens: 156141 ctokens: 156141

class htb 1:13 parent 1:1 leaf 13: prio 3 rate 524288Kbit ceil 1895Mbit burst 654311b cburst 1249348b
Sent 3881 bytes 30 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 30 borrowed: 0 giants: 0
tokens: 156000 ctokens: 82390

class htb 1:12 parent 1:1 leaf 12: prio 2 rate 1048Mbit ceil 1895Mbit burst 1249378b cburst 1249348b
Sent 2419 bytes 21 pkt (dropped 0, overlimits 0 requeues 0)
rate 8bit 0pps backlog 0b 0p requeues 0
lended: 21 borrowed: 0 giants: 0
tokens: 148938 ctokens: 82390

class htb 1:15 parent 1:1 leaf 15: prio 5 rate 314568Kbit ceil 1895Mbit burst 391951b cburst 1249348b
Sent 34869 bytes 118 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 118 borrowed: 0 giants: 0
tokens: 155750 ctokens: 82390

class htb 1:14 parent 1:1 leaf 14: prio 4 rate 419424Kbit ceil 1895Mbit burst 523126b cburst 1249348b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 155921 ctokens: 82390

class htb 1:17 parent 1:1 leaf 17: prio 7 rate 104856Kbit ceil 1895Mbit burst 129575b cburst 1249348b
Sent 35410 bytes 105 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 105 borrowed: 0 giants: 0
tokens: 154047 ctokens: 82375

class htb 1:16 parent 1:1 leaf 16: prio 6 rate 209712Kbit ceil 1895Mbit burst 260750b cburst 1249348b
Sent 2269 bytes 4 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 4 borrowed: 0 giants: 0
tokens: 155406 ctokens: 82390

admin@DSL-AC68U-0D90:/tmp/home/root# tc -s class show dev eth0 parent 1:
 
I tried contacting ExpressVPN tech support but they couldn't tell me anything about how to get Adaptive QOS to work. So adaptive qos or flex qos can't be used with vpn ??? Is it necessary to use traditional qos?
 
I tried contacting ExpressVPN tech support but they couldn't tell me anything about how to get Adaptive QOS to work. So adaptive qos or flex qos can't be used with vpn ??? Is it necessary to use traditional qos?
I don't think it's necessary, but I don't use any VPN clients on the router to verify the behavior. Perhaps another VPN Client user will be able to confirm how it works together.

In the meantime, I have pushed a hotfix to stable that might fix the problem you had with using Manual Bandwidth assignment.
 
Basically if its not the VPN the flexqos seems to be fine, all the graphics work etc. If I use the vpn, the internet traffic is masked and therefore the flexqos does not know how to distinguish between streaming or internet browsing etc., consequently I think that it does not work at all. So I was wondering if with the active vpn you can use an adaptive qos like flexqos or if you have to switch to traditional qos
 
I add another information. Under the item Tracked connections of flexqos, you can see that the system perfectly recognizes what each device connected to the router is doing. In fact, it divides the entries by streaming, internet browsing, facebook, youtube etc. But then in the graphs above I only have the generic value of upluad, nothing on download. So I don't understand
 
I add another information. Under the item Tracked connections of flexqos, you can see that the system perfectly recognizes what each device connected to the router is doing. In fact, it divides the entries by streaming, internet browsing, facebook, youtube etc. But then in the graphs above I only have the generic value of upluad, nothing on download. So I don't understand
Please post a screenshot of the graphs. It might help me understand.
 

Sign Up For SNBForums Daily Digest

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