A Quality of Experience and Smart Queue Management system for ISPs. Leverage CAKE to improve network responsiveness, enforce bandwidth plans, and reduce bufferbloat.
class add dev ens20 parent 0x1a:0xdb0 classid 0xe3b htb rate 327mbit ceil 327mbit prio 3 quantum 4087500 # CircuitID: 29279 DeviceIDs: e51, | Comment: KOMENTARZ
qdisc add dev ens20 parent 0x1a:0xe3b cake diffserv4
class add dev ens19 parent 0x1a:0xdb0 classid 0xe3b htb rate 327mbit ceil 327mbit prio 3 quantum 4087500
qdisc add dev ens19 parent 0x1a:0xe3b cake diffserv4
class add dev ens20 parent 0x1a:0xdb0 classid 0xe3c htb rate 654mbit ceil 654mbit prio 3 quantum 8175000 # CircuitID: 29524 DeviceIDs: e6c, | Comment: KOMENTARZ
qdisc add dev ens20 parent 0x1a:0xe3c cake diffserv4
class add dev ens19 parent 0x1a:0xdb0 classid 0xe3c htb rate 654mbit ceil 654mbit prio 3 quantum 8175000
qdisc add dev ens19 parent 0x1a:0xe3c cake diffserv4
The "batch" file linux_tc.txt contains rules for all interfaces - this is not optimal
Suggestion: make file every network interface and load it simultaneously.
Let's do some measure:
Test1: try to load interface qdisc/classes batch file individualy
root@libreqos-beta:/opt/libreqos/src# time tc -b ./tc_ens19.txt
real 0m2.540s
user 0m0.058s
sys 0m2.481s
root@libreqos-beta:/opt/libreqos/src# time tc -b ./tc_ens20.txt
real 0m3.130s
user 0m0.057s
sys 0m3.073s
Test2: try to load interface qdisc/classes batch file
root@libreqos-beta:/opt/libreqos/src# time tc -b ./linux_tc.txt
real 0m6.207s
user 0m0.127s
sys 0m6.079s
0.5sec win/10% of tc loading time
Test3: batch commands for tc with del root outside batch
I caught one more thing:
The "batch" file linux_tc.txt contains rules for all interfaces - this is not optimal Suggestion: make file every network interface and load it simultaneously.
Let's do some measure:
Test1: try to load interface qdisc/classes batch file individualy
Test2: try to load interface qdisc/classes batch file
0.5sec win/10% of tc loading time
Test3: batch commands for tc with del root outside batch
~220ms win not that bad...
Test4: using parallel command for loading batch files for individual ifaces simultaneously
vs
Do I see it correctly: 0m8.224s vs 0m10.191s almost 2seconds reloading less time? Could somebody do the same tests?