FlexQoS FlexQoS - Flexible QoS Enhancement Script for Adaptive QoS

  • ATTENTION! You'll notice a Prefix dropdown when you create a thread. If your post applies to one of the topics listed, please use that Prefix for your post. When browsing the thread list you can use the Prefix to filter the view.

killahgoat

Occasional Visitor
I've pushed another couple experiments to the develop branch for anyone willing to test them out:
  1. Now allow custom rate percentages as low as 1%. Was always 5% minimum in the FreshJR_QOS script.
  2. Recalculate burst and cburst when applying custom rates to ensure the HTB buckets are appropriately sized for the new rates.
  3. Always apply new quantum when modifying custom rates (old behavior would only apply quantum when it was large enough to cause the "quantum is big" messages).
  4. Set the minimum quantum at WAN MTU + 14 (this had been there before during beta but I removed it when someone reported an issue). Now the brave develop branch users can test it out.
If you want to try these experiments, run flexqos develop

If you switch but experience issues and you or your family members are panicking, return to the stable release with flexqos stable

Thanks.
trying out the 1% custom rate percentage but it seems to revert back to 5% everytime i apply it
 

Wycleff

Occasional Visitor
Most likely your WAN interface name changed from eth0 to vlan2 after withdrawing Trend Micro EULA and rebooting. That’s not going to work since Adaptive QoS (and therefore FkexQoS) requires the Trend Micro DPI components enabled and part of NAT acceleration to be disabled.

To confirm, post the output of flexqos debug

Code:
FlexQoS v1.0.2 released 2020-09-14





Debug:





Log date: 2020-09-21 16:05:31+0200


Router Model: RT-AX58U


Firmware Ver: 384.19_0


tc WAN iface: eth4


Undf Prio: 2


Undf FlowID: 


Classes Present: 3


Down Band: 71680


Up Band  : 32768


***********


Net Control: 1:10


Work-From-Home: 1:11


Gaming: 1:12


Others: 1:13


Web Surfing: 1:14


Streaming: 1:15


File Downloads: 1:16


Game Downloads: 1:17


***********


Downrates: 3584, 14336, 10752, 7168, 7168, 21504, 3584, 3584


Downceils: 71680, 71680, 71680, 71680, 71680, 71680, 71680, 71680


Downbursts: 3199b, 17597b, 7999b, , , , , 


DownCbursts: 89600b, 89600b, 89600b, , , , , 


DownQuantums: default, default, default, default, default, 268800, default, default


***********


Uprates: 1638, 6553, 4915, 9830, 3276, 3276, 1638, 1638


Upceils: 32768, 32768, 32768, 32768, 32768, 32768, 32768, 32768


Upbursts: 3199b, 7999b, 3199b, , , , , 


UpCbursts: 39993b, 39993b, 39993b, , , , , 


UpQuantums: default, default, default, default, default, default, default, default


***********


iptables settings: <>>udp>>500,4500>>3<>>udp>16384:16415>>>3<>>tcp>>119,563>>5<>>tcp>>80,443>08****>7<>>both>>!80,443>000000>1


-o br0 -p udp -m multiport --sports 500,4500 -j MARK --set-mark 0x8006ffff/0x3fffff


-o eth4 -p udp -m multiport --dports 500,4500 -j MARK --set-mark 0x4006ffff/0x3fffff


-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/0x3fffff


-o eth4 -p tcp -m multiport --dports 119,563 -j MARK --set-mark 0x4003ffff/0x3fffff


-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


-o br0 -p tcp -m multiport ! --sports 80,443 -m mark --mark 0x80000000/0xc03fffff -j MARK --set-mark 0x8008ffff/0x3fffff


-o br0 -p udp -m multiport ! --sports 80,443 -m mark --mark 0x80000000/0xc03fffff -j MARK --set-mark 0x8008ffff/0x3fffff


-o eth4 -p tcp -m multiport ! --dports 80,443 -m mark --mark 0x40000000/0xc03fffff -j MARK --set-mark 0x4008ffff/0x3fffff


-o eth4 -p udp -m multiport ! --dports 80,443 -m mark --mark 0x40000000/0xc03fffff -j MARK --set-mark 0x4008ffff/0x3fffff


***********


appdb rules: <000000>6<00006B>6<0D0007>5<0D0086>5<0D00A0>5<12003F>4<13****>4<14****>4<1A****>5


filter add dev br0 protocol all prio 2 u32 match mark 0x80000000 0xc000ffff flowid 1:13


filter add dev eth4 protocol all prio 2 u32 match mark 0x40000000 0xc000ffff flowid 1:13


filter add dev br0 protocol all prio 2 u32 match mark 0x8000006B 0xc03fffff flowid 1:13


filter add dev eth4 protocol all prio 2 u32 match mark 0x4000006B 0xc03fffff flowid 1:13


filter add dev br0 protocol all prio 15 u32 match mark 0x800D0007 0xc03fffff flowid 1:16


filter add dev eth4 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 eth4 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 eth4 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:14


filter add dev eth4 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 eth4 prio 22 protocol all handle 802::800 u32 flowid 1:14


filter change dev br0 prio 23 protocol all handle 804::800 u32 flowid 1:14


filter change dev eth4 prio 23 protocol all handle 804::800 u32 flowid 1:14


filter add dev br0 protocol all prio 2 u32 match mark 0x801A0000 0xc03f0000 flowid 1:16


filter add dev eth4 protocol all prio 2 u32 match mark 0x401A0000 0xc03f0000 flowid 1:16
 

QuikSilver

Very Senior Member
Hello! Can someone please tell me how to update Flex?
Are you referring to using the develop version or the stable version?
 

S.claus

Regular Contributor
Not sure if its just a placebo effect but the router does feel more responsive after the latest dev channel updates.
 

QuikSilver

Very Senior Member
Open the flexqos menu and choose option 2 I believe.
 

dave14305

Part of the Furniture
Not sure if its just a placebo effect but the router does feel more responsive after the latest dev channel updates.
In theory, it's because the individual classes are allowed to be more bursty in relation to the custom rates set in FlexQoS. In reality, you could be imagining things. But this is what I was hoping for. FreshJR carried the existing burst from stock Adaptive QoS which was based on very small rates. Let's see if any other real-world improvements are reported.
 

dave14305

Part of the Furniture
Code:
FlexQoS v1.0.2 released 2020-09-14





Debug:





Log date: 2020-09-21 16:05:31+0200


Router Model: RT-AX58U


Firmware Ver: 384.19_0


tc WAN iface: eth4


Undf Prio: 2


Undf FlowID:


Classes Present: 3


Down Band: 71680


Up Band  : 32768


***********


Net Control: 1:10


Work-From-Home: 1:11


Gaming: 1:12


Others: 1:13


Web Surfing: 1:14


Streaming: 1:15


File Downloads: 1:16


Game Downloads: 1:17


***********


Downrates: 3584, 14336, 10752, 7168, 7168, 21504, 3584, 3584


Downceils: 71680, 71680, 71680, 71680, 71680, 71680, 71680, 71680


Downbursts: 3199b, 17597b, 7999b, , , , ,


DownCbursts: 89600b, 89600b, 89600b, , , , ,


DownQuantums: default, default, default, default, default, 268800, default, default


***********


Uprates: 1638, 6553, 4915, 9830, 3276, 3276, 1638, 1638


Upceils: 32768, 32768, 32768, 32768, 32768, 32768, 32768, 32768


Upbursts: 3199b, 7999b, 3199b, , , , ,


UpCbursts: 39993b, 39993b, 39993b, , , , ,


UpQuantums: default, default, default, default, default, default, default, default


***********


iptables settings: <>>udp>>500,4500>>3<>>udp>16384:16415>>>3<>>tcp>>119,563>>5<>>tcp>>80,443>08****>7<>>both>>!80,443>000000>1


-o br0 -p udp -m multiport --sports 500,4500 -j MARK --set-mark 0x8006ffff/0x3fffff


-o eth4 -p udp -m multiport --dports 500,4500 -j MARK --set-mark 0x4006ffff/0x3fffff


-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/0x3fffff


-o eth4 -p tcp -m multiport --dports 119,563 -j MARK --set-mark 0x4003ffff/0x3fffff


-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


-o br0 -p tcp -m multiport ! --sports 80,443 -m mark --mark 0x80000000/0xc03fffff -j MARK --set-mark 0x8008ffff/0x3fffff


-o br0 -p udp -m multiport ! --sports 80,443 -m mark --mark 0x80000000/0xc03fffff -j MARK --set-mark 0x8008ffff/0x3fffff


-o eth4 -p tcp -m multiport ! --dports 80,443 -m mark --mark 0x40000000/0xc03fffff -j MARK --set-mark 0x4008ffff/0x3fffff


-o eth4 -p udp -m multiport ! --dports 80,443 -m mark --mark 0x40000000/0xc03fffff -j MARK --set-mark 0x4008ffff/0x3fffff


***********


appdb rules: <000000>6<00006B>6<0D0007>5<0D0086>5<0D00A0>5<12003F>4<13****>4<14****>4<1A****>5


filter add dev br0 protocol all prio 2 u32 match mark 0x80000000 0xc000ffff flowid 1:13


filter add dev eth4 protocol all prio 2 u32 match mark 0x40000000 0xc000ffff flowid 1:13


filter add dev br0 protocol all prio 2 u32 match mark 0x8000006B 0xc03fffff flowid 1:13


filter add dev eth4 protocol all prio 2 u32 match mark 0x4000006B 0xc03fffff flowid 1:13


filter add dev br0 protocol all prio 15 u32 match mark 0x800D0007 0xc03fffff flowid 1:16


filter add dev eth4 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 eth4 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 eth4 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:14


filter add dev eth4 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 eth4 prio 22 protocol all handle 802::800 u32 flowid 1:14


filter change dev br0 prio 23 protocol all handle 804::800 u32 flowid 1:14


filter change dev eth4 prio 23 protocol all handle 804::800 u32 flowid 1:14


filter add dev br0 protocol all prio 2 u32 match mark 0x801A0000 0xc03f0000 flowid 1:16


filter add dev eth4 protocol all prio 2 u32 match mark 0x401A0000 0xc03f0000 flowid 1:16
This is odd output. Was this run in the middle of a qos restart?
 

Wycleff

Occasional Visitor
This is odd output. Was this run in the middle of a qos restart?
Hmm, maybe...tinkered around the whole Day. Now I restarted the Router, waited 30 Minutes and here's the Debug.

Code:
FlexQoS v1.0.2 released 2020-09-14





Debug:





Log date: 2020-09-21 21:45:26+0200


Router Model: RT-AX58U


Firmware Ver: 384.19_0


tc WAN iface: eth4


Undf Prio: 2


Undf FlowID: 1:13


Classes Present: 8


Down Band: 71680


Up Band  : 32768


***********


Net Control: 1:10


Work-From-Home: 1:11


Gaming: 1:12


Others: 1:13


Web Surfing: 1:14


Streaming: 1:15


File Downloads: 1:16


Game Downloads: 1:17


***********


Downrates: 3584, 14336, 10752, 7168, 7168, 21504, 3584, 3584


Downceils: 71680, 71680, 71680, 71680, 71680, 71680, 71680, 71680


Downbursts: 3198b, 17597b, 7999b, 3199b, 3199b, 3199b, 3199b, 3199b


DownCbursts: 89600b, 89600b, 89600b, 89600b, 89600b, 89600b, 89600b, 89600b


DownQuantums: default, default, default, default, default, 268800, default, default


***********


Uprates: 1638, 6553, 4915, 9830, 3276, 3276, 1638, 1638


Upceils: 32768, 32768, 32768, 32768, 32768, 32768, 32768, 32768


Upbursts: 3198b, 7997b, 3199b, 3199b, 3199b, 3199b, 3199b, 3200b


UpCbursts: 39985b, 39985b, 39993b, 39993b, 39993b, 39993b, 39993b, 39993b


UpQuantums: default, default, default, default, default, default, default, default


***********


iptables settings: <>>udp>>500,4500>>3<>>udp>16384:16415>>>3<>>tcp>>119,563>>5<>>both>>80,443>08****>7<>>both>>!80,443>000000>1<>>both>>5223>>0<>>tcp>>443>13005E>2<>>udp>>443>000000>2<>>udp>>3478,45395>>3<>>tcp>>4244,5222,5223,5228,5242>>3<>>both>>50318,59234>>3<>>both>30502>3478>>1<>>both>9010>3478>>1<>>udp>>123,4070,5353,40317,49317,33434>>6


-o br0 -p udp -m multiport --sports 500,4500 -j MARK --set-mark 0x8006ffff/0x3fffff


-o eth4 -p udp -m multiport --dports 500,4500 -j MARK --set-mark 0x4006ffff/0x3fffff


-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/0x3fffff


-o eth4 -p tcp -m multiport --dports 119,563 -j MARK --set-mark 0x4003ffff/0x3fffff


-o br0 -p tcp -m multiport --sports 80,443 -m mark --mark 0x80080000/0xc03f0000 -j MARK --set-mark 0x803fffff/0x3fffff


-o br0 -p udp -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


-o eth4 -p udp -m multiport --dports 80,443 -m mark --mark 0x40080000/0xc03f0000 -j MARK --set-mark 0x403fffff/0x3fffff


-o br0 -p tcp -m multiport ! --sports 80,443 -m mark --mark 0x80000000/0xc03fffff -j MARK --set-mark 0x8008ffff/0x3fffff


-o br0 -p udp -m multiport ! --sports 80,443 -m mark --mark 0x80000000/0xc03fffff -j MARK --set-mark 0x8008ffff/0x3fffff


-o eth4 -p tcp -m multiport ! --dports 80,443 -m mark --mark 0x40000000/0xc03fffff -j MARK --set-mark 0x4008ffff/0x3fffff


-o eth4 -p udp -m multiport ! --dports 80,443 -m mark --mark 0x40000000/0xc03fffff -j MARK --set-mark 0x4008ffff/0x3fffff


-o br0 -p tcp --sport 5223 -j MARK --set-mark 0x8009ffff/0x3fffff


-o br0 -p udp --sport 5223 -j MARK --set-mark 0x8009ffff/0x3fffff


-o eth4 -p tcp --dport 5223 -j MARK --set-mark 0x4009ffff/0x3fffff


-o eth4 -p udp --dport 5223 -j MARK --set-mark 0x4009ffff/0x3fffff


-o br0 -p tcp --sport 443 -m mark --mark 0x8013005E/0xc03fffff -j MARK --set-mark 0x8004ffff/0x3fffff


-o eth4 -p tcp --dport 443 -m mark --mark 0x4013005E/0xc03fffff -j MARK --set-mark 0x4004ffff/0x3fffff


-o br0 -p udp --sport 443 -m mark --mark 0x80000000/0xc03fffff -j MARK --set-mark 0x8004ffff/0x3fffff


-o eth4 -p udp --dport 443 -m mark --mark 0x40000000/0xc03fffff -j MARK --set-mark 0x4004ffff/0x3fffff


-o br0 -p udp -m multiport --sports 3478,45395 -j MARK --set-mark 0x8006ffff/0x3fffff


-o eth4 -p udp -m multiport --dports 3478,45395 -j MARK --set-mark 0x4006ffff/0x3fffff


-o br0 -p tcp -m multiport --sports 4244,5222,5223,5228,5242 -j MARK --set-mark 0x8006ffff/0x3fffff


-o eth4 -p tcp -m multiport --dports 4244,5222,5223,5228,5242 -j MARK --set-mark 0x4006ffff/0x3fffff


-o br0 -p tcp -m multiport --sports 50318,59234 -j MARK --set-mark 0x8006ffff/0x3fffff


-o br0 -p udp -m multiport --sports 50318,59234 -j MARK --set-mark 0x8006ffff/0x3fffff


-o eth4 -p tcp -m multiport --dports 50318,59234 -j MARK --set-mark 0x4006ffff/0x3fffff


-o eth4 -p udp -m multiport --dports 50318,59234 -j MARK --set-mark 0x4006ffff/0x3fffff


-o br0 -p tcp --dport 30502 --sport 3478 -j MARK --set-mark 0x8008ffff/0x3fffff


-o br0 -p udp --dport 30502 --sport 3478 -j MARK --set-mark 0x8008ffff/0x3fffff


-o eth4 -p tcp --sport 30502 --dport 3478 -j MARK --set-mark 0x4008ffff/0x3fffff


-o eth4 -p udp --sport 30502 --dport 3478 -j MARK --set-mark 0x4008ffff/0x3fffff


-o br0 -p tcp --dport 9010 --sport 3478 -j MARK --set-mark 0x8008ffff/0x3fffff


-o br0 -p udp --dport 9010 --sport 3478 -j MARK --set-mark 0x8008ffff/0x3fffff


-o eth4 -p tcp --sport 9010 --dport 3478 -j MARK --set-mark 0x4008ffff/0x3fffff


-o eth4 -p udp --sport 9010 --dport 3478 -j MARK --set-mark 0x4008ffff/0x3fffff


-o br0 -p udp -m multiport --sports 123,4070,5353,40317,49317,33434 -j MARK --set-mark 0x800affff/0x3fffff


-o eth4 -p udp -m multiport --dports 123,4070,5353,40317,49317,33434 -j MARK --set-mark 0x400affff/0x3fffff


***********


appdb rules: <000000>6<00006B>6<0D0007>5<0D0086>5<0D00A0>5<12003F>4<09006E>0<03003C>5<0400C1>2<040084>2<13****>4<14****>4<1A****>5


filter add dev br0 protocol all prio 2 u32 match mark 0x80000000 0xc000ffff flowid 1:13


filter add dev eth4 protocol all prio 2 u32 match mark 0x40000000 0xc000ffff flowid 1:13


filter add dev br0 protocol all prio 2 u32 match mark 0x8000006B 0xc03fffff flowid 1:13


filter add dev eth4 protocol all prio 2 u32 match mark 0x4000006B 0xc03fffff flowid 1:13


filter add dev br0 protocol all prio 2 u32 match mark 0x800D0007 0xc03fffff flowid 1:16


filter add dev eth4 protocol all prio 2 u32 match mark 0x400D0007 0xc03fffff flowid 1:16


filter add dev br0 protocol all prio 2 u32 match mark 0x800D0086 0xc03fffff flowid 1:16


filter add dev eth4 protocol all prio 2 u32 match mark 0x400D0086 0xc03fffff flowid 1:16


filter add dev br0 protocol all prio 2 u32 match mark 0x800D00A0 0xc03fffff flowid 1:16


filter add dev eth4 protocol all prio 2 u32 match mark 0x400D00A0 0xc03fffff flowid 1:16


filter add dev br0 protocol all prio 20 u32 match mark 0x8012003F 0xc03fffff flowid 1:14


filter add dev eth4 protocol all prio 20 u32 match mark 0x4012003F 0xc03fffff flowid 1:14


filter add dev br0 protocol all prio 11 u32 match mark 0x8009006E 0xc03fffff flowid 1:10


filter add dev eth4 protocol all prio 11 u32 match mark 0x4009006E 0xc03fffff flowid 1:10


filter add dev br0 protocol all prio 2 u32 match mark 0x8003003C 0xc03fffff flowid 1:16


filter add dev eth4 protocol all prio 2 u32 match mark 0x4003003C 0xc03fffff flowid 1:16


filter add dev br0 protocol all prio 2 u32 match mark 0x800400C1 0xc03fffff flowid 1:15


filter add dev eth4 protocol all prio 2 u32 match mark 0x400400C1 0xc03fffff flowid 1:15


filter add dev br0 protocol all prio 2 u32 match mark 0x80040084 0xc03fffff flowid 1:15


filter add dev eth4 protocol all prio 2 u32 match mark 0x40040084 0xc03fffff flowid 1:15


filter change dev br0 prio 22 protocol all handle 802::800 u32 flowid 1:14


filter change dev eth4 prio 22 protocol all handle 802::800 u32 flowid 1:14


filter change dev br0 prio 23 protocol all handle 804::800 u32 flowid 1:14


filter change dev eth4 prio 23 protocol all handle 804::800 u32 flowid 1:14


filter add dev br0 protocol all prio 2 u32 match mark 0x801A0000 0xc03f0000 flowid 1:16


filter add dev eth4 protocol all prio 2 u32 match mark 0x401A0000 0xc03f0000 flowid 1:16
 

dave14305

Part of the Furniture
Hmm, maybe...tinkered around the whole Day. Now I restarted the Router, waited 30 Minutes and here's the Debug.
Do you still the the tc errors in the syslog? If yes, what’s the output of:
Code:
tc qdisc ls | grep -E "htb.*root"
cat /tmp/bwdpi/dev_wan
cat /tmp/flexqos_tcrules
 

Wycleff

Occasional Visitor
Do you still the the tc errors in the syslog? If yes, what’s the output of:
Code:
tc qdisc ls | grep -E "htb.*root"
cat /tmp/bwdpi/dev_wan
cat /tmp/flexqos_tcrules
Yes, its still there.

Code:
[email protected]:/tmp/home/root# tc qdisc ls | grep -E "htb.*root"


qdisc htb 1: dev eth4 root refcnt 2 r2q 10 default 0 direct_packets_stat 225203 direct_qlen 1000


qdisc htb 1: dev br0 root refcnt 2 r2q 10 default 0 direct_packets_stat 464358 direct_qlen 2


[email protected]:/tmp/home/root# cat /tmp/bwdpi/dev_wan


ppp0,[email protected]:/tmp/home/root# cat /tmp/flexqos_tcrules


filter add dev br0 protocol all prio 2 u32 match mark 0x80000000 0xc000ffff flowid 1:13


filter add dev eth4 protocol all prio 2 u32 match mark 0x40000000 0xc000ffff flowid 1:13


filter add dev br0 protocol all prio 2 u32 match mark 0x8000006B 0xc03fffff flowid 1:13


filter add dev eth4 protocol all prio 2 u32 match mark 0x4000006B 0xc03fffff flowid 1:13


filter add dev br0 protocol all prio 2 u32 match mark 0x800D0007 0xc03fffff flowid 1:16


filter add dev eth4 protocol all prio 2 u32 match mark 0x400D0007 0xc03fffff flowid 1:16


filter add dev br0 protocol all prio 2 u32 match mark 0x800D0086 0xc03fffff flowid 1:16


filter add dev eth4 protocol all prio 2 u32 match mark 0x400D0086 0xc03fffff flowid 1:16


filter add dev br0 protocol all prio 2 u32 match mark 0x800D00A0 0xc03fffff flowid 1:16


filter add dev eth4 protocol all prio 2 u32 match mark 0x400D00A0 0xc03fffff flowid 1:16


filter add dev br0 protocol all prio 20 u32 match mark 0x8012003F 0xc03fffff flowid 1:14


filter add dev eth4 protocol all prio 20 u32 match mark 0x4012003F 0xc03fffff flowid 1:14


filter add dev br0 protocol all prio 11 u32 match mark 0x8009006E 0xc03fffff flowid 1:10


filter add dev eth4 protocol all prio 11 u32 match mark 0x4009006E 0xc03fffff flowid 1:10


filter add dev br0 protocol all prio 2 u32 match mark 0x8003003C 0xc03fffff flowid 1:16


filter add dev eth4 protocol all prio 2 u32 match mark 0x4003003C 0xc03fffff flowid 1:16


filter add dev br0 protocol all prio 2 u32 match mark 0x800400C1 0xc03fffff flowid 1:15


filter add dev eth4 protocol all prio 2 u32 match mark 0x400400C1 0xc03fffff flowid 1:15


filter add dev br0 protocol all prio 2 u32 match mark 0x80040084 0xc03fffff flowid 1:15


filter add dev eth4 protocol all prio 2 u32 match mark 0x40040084 0xc03fffff flowid 1:15


filter change dev br0 prio 22 protocol all handle 802::800 u32 flowid 1:14


filter change dev eth4 prio 22 protocol all handle 802::800 u32 flowid 1:14


filter change dev br0 prio 23 protocol all handle 804::800 u32 flowid 1:14


filter change dev eth4 prio 23 protocol all handle 804::800 u32 flowid 1:14


filter add dev br0 protocol all prio 2 u32 match mark 0x801A0000 0xc03f0000 flowid 1:16


filter add dev eth4 protocol all prio 2 u32 match mark 0x401A0000 0xc03f0000 flowid 1:16


[email protected]:/tmp/home/root#
 

dave14305

Part of the Furniture
Yes, its still there.
Please run flexqos restart and after a minute run cat /tmp/flexqos_tcrules again. The previous debug command overwrote the rate rules in that file which I suspect are the source of the errors.
 

Wycleff

Occasional Visitor
Please run flexqos restart and after a minute run cat /tmp/flexqos_tcrules again. The previous debug command overwrote the rate rules in that file which I suspect are the source of the errors.
Code:
@RT-AX58U-01:/tmp/home/root# cat /tmp/flexqos_tcrules              filter add dev br0 protocol all prio 10 u32 match mark 0x803fffff 0xc03fffff flowid 1:17                                                                        filter add dev eth4 protocol all prio 10 u32 match mark 0x403fffff 0xc03fffff flowid 1:17                                                                       filter add dev br0 protocol all prio 2 u32 match mark 0x80000000 0xc000ffff flowid 1:13                                                                         filter add dev eth4 protocol all prio 2 u32 match mark 0x40000000 0xc000ffff flowid 1:13                                                                        filter add dev br0 protocol all prio 2 u32 match mark 0x8000006B 0xc03fffff flowid 1:13                                                                         filter add dev eth4 protocol all prio 2 u32 match mark 0x4000006B 0xc03fffff flowid 1:13                                                                        filter add dev br0 protocol all prio 15 u32 match mark 0x800D0007 0xc03fffff flowid 1:16                                                                        filter add dev eth4 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 eth4 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 eth4 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:14                                                                        filter add dev eth4 protocol all prio 20 u32 match mark 0x4012003F 0xc03fffff flowid 1:14                                                                       filter add dev br0 protocol all prio 11 u32 match mark 0x8009006E 0xc03fffff flowid 1:10                                                                        filter add dev eth4 protocol all prio 11 u32 match mark 0x4009006E 0xc03fffff flowid 1:10                                                                       filter add dev br0 protocol all prio 5 u32 match mark 0x8003003C 0xc03fffff flowid 1:16                                                                         filter add dev eth4 protocol all prio 5 u32 match mark 0x4003003C 0xc03fffff flowid 1:16                                                                        filter add dev br0 protocol all prio 6 u32 match mark 0x800400C1 0xc03fffff flowid 1:15
filter add dev eth4 protocol all prio 6 u32 match mark 0x400400C1 0xc03fffff flowid 1:15
filter add dev br0 protocol all prio 6 u32 match mark 0x80040084 0xc03fffff flowid 1:15
filter add dev eth4 protocol all prio 6 u32 match mark 0x40040084 0xc03fffff flowid 1:15
filter change dev br0 prio 22 protocol all handle 802::800 u32 flowid 1:14
filter change dev eth4 prio 22 protocol all handle 802::800 u32 flowid 1:14
filter change dev br0 prio 23 protocol all handle 804::800 u32 flowid 1:14
filter change dev eth4 prio 23 protocol all handle 804::800 u32 flowid 1:14
filter add dev br0 protocol all prio 2 u32 match mark 0x801A0000 0xc03f0000 flowid 1:16
filter add dev eth4 protocol all prio 2 u32 match mark 0x401A0000 0xc03f0000 flowid 1:16
class change dev br0 parent 1:1 classid 1:10 htb overhead 27 linklayer ethernet prio 0 rate 3584Kbit ceil 71680Kbit burst 3199b cburst 89600b
class change dev eth4 parent 1:1 classid 1:10 htb overhead 27 linklayer ethernet prio 0 rate 1638Kbit ceil 32768Kbit burst 3199b cburst 39993b
class change dev br0 parent 1:1 classid 1:11 htb overhead 27 linklayer ethernet prio 1 rate 14336Kbit ceil 71680Kbit burst 17597b cburst 89600b
class change dev eth4 parent 1:1 classid 1:11 htb overhead 27 linklayer ethernet prio 1 rate 6553Kbit ceil 32768Kbit burst 7999b cburst 39993b
class change dev br0 parent 1:1 classid 1:12 htb overhead 27 linklayer ethernet prio 2 rate 10752Kbit ceil 71680Kbit burst 7999b cburst 89600b
class change dev eth4 parent 1:1 classid 1:12 htb overhead 27 linklayer ethernet prio 2 rate 4915Kbit ceil 32768Kbit burst 3199b cburst 39993b
class change dev br0 parent 1:1 classid 1:13 htb overhead 27 linklayer ethernet prio 3 rate 7168Kbit ceil 71680Kbit burst 3199b cburst 89600b
class change dev eth4 parent 1:1 classid 1:13 htb overhead 27 linklayer ethernet prio 3 rate 9830Kbit ceil 32768Kbit burst 3199b cburst 39993b
class change dev br0 parent 1:1 classid 1:14 htb overhead 27 linklayer ethernet prio 4 rate 7168Kbit ceil 71680Kbit burst 3199b cburst 89600b
class change dev eth4 parent 1:1 classid 1:14 htb overhead 27 linklayer ethernet prio 4 rate 3276Kbit ceil 32768Kbit burst 3199b cburst 39993b
class change dev br0 parent 1:1 classid 1:15 htb overhead 27 linklayer ethernet prio 5 rate 21504Kbit ceil 71680Kbit burst 3199b cburst 89600b quantum 268800
class change dev eth4 parent 1:1 classid 1:15 htb overhead 27 linklayer ethernet prio 5 rate 3276Kbit ceil 32768Kbit burst 3199b cburst 39993b
class change dev br0 parent 1:1 classid 1:16 htb overhead 27 linklayer ethernet prio 6 rate 3584Kbit ceil 71680Kbit burst 3199b cburst 89600b
class change dev eth4 parent 1:1 classid 1:16 htb overhead 27 linklayer ethernet prio 6 rate 1638Kbit ceil 32768Kbit burst 3199b cburst 39993b
class change dev br0 parent 1:1 classid 1:17 htb overhead 27 linklayer ethernet prio 7 rate 3584Kbit ceil 71680Kbit burst 3199b cburst 89600b
class change dev eth4 parent 1:1 classid 1:17 htb overhead 27 linklayer ethernet prio 7 rate 1638Kbit ceil 32768Kbit burst 3200b cburst 39993b
 

dave14305

Part of the Furniture
Code:
@RT-AX58U-01:/tmp/home/root# cat /tmp/flexqos_tcrules              filter add dev br0 protocol all prio 10 u32 match mark 0x803fffff 0xc03fffff flowid 1:17                                                                        filter add dev eth4 protocol all prio 10 u32 match mark 0x403fffff 0xc03fffff flowid 1:17                                                                       filter add dev br0 protocol all prio 2 u32 match mark 0x80000000 0xc000ffff flowid 1:13                                                                         filter add dev eth4 protocol all prio 2 u32 match mark 0x40000000 0xc000ffff flowid 1:13                                                                        filter add dev br0 protocol all prio 2 u32 match mark 0x8000006B 0xc03fffff flowid 1:13                                                                         filter add dev eth4 protocol all prio 2 u32 match mark 0x4000006B 0xc03fffff flowid 1:13                                                                        filter add dev br0 protocol all prio 15 u32 match mark 0x800D0007 0xc03fffff flowid 1:16                                                                        filter add dev eth4 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 eth4 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 eth4 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:14                                                                        filter add dev eth4 protocol all prio 20 u32 match mark 0x4012003F 0xc03fffff flowid 1:14                                                                       filter add dev br0 protocol all prio 11 u32 match mark 0x8009006E 0xc03fffff flowid 1:10                                                                        filter add dev eth4 protocol all prio 11 u32 match mark 0x4009006E 0xc03fffff flowid 1:10                                                                       filter add dev br0 protocol all prio 5 u32 match mark 0x8003003C 0xc03fffff flowid 1:16                                                                         filter add dev eth4 protocol all prio 5 u32 match mark 0x4003003C 0xc03fffff flowid 1:16                                                                        filter add dev br0 protocol all prio 6 u32 match mark 0x800400C1 0xc03fffff flowid 1:15
filter add dev eth4 protocol all prio 6 u32 match mark 0x400400C1 0xc03fffff flowid 1:15
filter add dev br0 protocol all prio 6 u32 match mark 0x80040084 0xc03fffff flowid 1:15
filter add dev eth4 protocol all prio 6 u32 match mark 0x40040084 0xc03fffff flowid 1:15
filter change dev br0 prio 22 protocol all handle 802::800 u32 flowid 1:14
filter change dev eth4 prio 22 protocol all handle 802::800 u32 flowid 1:14
filter change dev br0 prio 23 protocol all handle 804::800 u32 flowid 1:14
filter change dev eth4 prio 23 protocol all handle 804::800 u32 flowid 1:14
filter add dev br0 protocol all prio 2 u32 match mark 0x801A0000 0xc03f0000 flowid 1:16
filter add dev eth4 protocol all prio 2 u32 match mark 0x401A0000 0xc03f0000 flowid 1:16
class change dev br0 parent 1:1 classid 1:10 htb overhead 27 linklayer ethernet prio 0 rate 3584Kbit ceil 71680Kbit burst 3199b cburst 89600b
class change dev eth4 parent 1:1 classid 1:10 htb overhead 27 linklayer ethernet prio 0 rate 1638Kbit ceil 32768Kbit burst 3199b cburst 39993b
class change dev br0 parent 1:1 classid 1:11 htb overhead 27 linklayer ethernet prio 1 rate 14336Kbit ceil 71680Kbit burst 17597b cburst 89600b
class change dev eth4 parent 1:1 classid 1:11 htb overhead 27 linklayer ethernet prio 1 rate 6553Kbit ceil 32768Kbit burst 7999b cburst 39993b
class change dev br0 parent 1:1 classid 1:12 htb overhead 27 linklayer ethernet prio 2 rate 10752Kbit ceil 71680Kbit burst 7999b cburst 89600b
class change dev eth4 parent 1:1 classid 1:12 htb overhead 27 linklayer ethernet prio 2 rate 4915Kbit ceil 32768Kbit burst 3199b cburst 39993b
class change dev br0 parent 1:1 classid 1:13 htb overhead 27 linklayer ethernet prio 3 rate 7168Kbit ceil 71680Kbit burst 3199b cburst 89600b
class change dev eth4 parent 1:1 classid 1:13 htb overhead 27 linklayer ethernet prio 3 rate 9830Kbit ceil 32768Kbit burst 3199b cburst 39993b
class change dev br0 parent 1:1 classid 1:14 htb overhead 27 linklayer ethernet prio 4 rate 7168Kbit ceil 71680Kbit burst 3199b cburst 89600b
class change dev eth4 parent 1:1 classid 1:14 htb overhead 27 linklayer ethernet prio 4 rate 3276Kbit ceil 32768Kbit burst 3199b cburst 39993b
class change dev br0 parent 1:1 classid 1:15 htb overhead 27 linklayer ethernet prio 5 rate 21504Kbit ceil 71680Kbit burst 3199b cburst 89600b quantum 268800
class change dev eth4 parent 1:1 classid 1:15 htb overhead 27 linklayer ethernet prio 5 rate 3276Kbit ceil 32768Kbit burst 3199b cburst 39993b
class change dev br0 parent 1:1 classid 1:16 htb overhead 27 linklayer ethernet prio 6 rate 3584Kbit ceil 71680Kbit burst 3199b cburst 89600b
class change dev eth4 parent 1:1 classid 1:16 htb overhead 27 linklayer ethernet prio 6 rate 1638Kbit ceil 32768Kbit burst 3199b cburst 39993b
class change dev br0 parent 1:1 classid 1:17 htb overhead 27 linklayer ethernet prio 7 rate 3584Kbit ceil 71680Kbit burst 3199b cburst 89600b
class change dev eth4 parent 1:1 classid 1:17 htb overhead 27 linklayer ethernet prio 7 rate 1638Kbit ceil 32768Kbit burst 3200b cburst 39993b
It looks normal to me, except for the lack of line endings on the top part. Is that a copy/paste error, or does the file really look that way (no carriage return after the initial filter lines)?

Can you get the output of grep "FlexQoS" /tmp/syslog.log

I want to understand if this happens every time FlexQoS starts or only if it starts too early for some reason.
 

Wycleff

Occasional Visitor
It looks normal to me, except for the lack of line endings on the top part. Is that a copy/paste error, or does the file really look that way (no carriage return after the initial filter lines)?

Can you get the output of grep "FlexQoS" /tmp/syslog.log

I want to understand if this happens every time FlexQoS starts or only if it starts too early for some reason.
I think that's a copy/paste mistake.
Code:
[email protected]:/tmp/home/root# grep "FlexQoS" /tmp/syslog.log       
[email protected]:/tmp/home/root#
 

Vexira

Part of the Furniture
Just saw these errors in my log I'm wondering if they are all related to each other by any chance?

kernel: htb: htb qdisc 14: is non-work-conserving?
kernel: htb: htb qdisc 16: is non-work-conserving?
htb: htb qdisc 13: is non-work-conserving?
kernel: htb: too many events!


Also I found something that you might be interested in reading
 
Last edited:

Similar threads

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