summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-12-27 17:25:53 +0100
committerChristian Poessinger <christian@poessinger.com>2023-01-01 08:14:34 +0100
commitbebec647c3d04f42d471d4aed1a3b98bf82732b8 (patch)
tree1aeda3c69dc87a8b69172fbd6fa3f4011602cdbe
parentf89a6806d90fd11e0e1e5e922ef95332ad8bfeb8 (diff)
downloadvyos-1x-bebec647c3d04f42d471d4aed1a3b98bf82732b8.tar.gz
vyos-1x-bebec647c3d04f42d471d4aed1a3b98bf82732b8.zip
qos: T2721: set fq-codel as default leaf qdisc for shaper
Set fq-codel as the default queuing discipline for the shaper traffic-policy if queue-type has not been configured. fq-codel has been the default qdisc for OpenWRT as well as systemd (and thus various linux distributions) for a decent while now. It has proven itself to be a highly effective qdisc for fighting bufferbloat whilst maintaining high link utilization. The combination of HTB + fq-codel has also seen wide deployment in cases when additional traffic classification and/or rate/burst management is required. This change will allow the configuration of a shaper traffic-policy with suitable defaults, saving the pain of having to specify fq-codel as a queue-type for every class.
-rw-r--r--interface-definitions/qos.xml.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/qos.xml.in b/interface-definitions/qos.xml.in
index c243ad8fe..36190949e 100644
--- a/interface-definitions/qos.xml.in
+++ b/interface-definitions/qos.xml.in
@@ -684,7 +684,7 @@
#include <include/qos/queue-limit-1-4294967295.xml.i>
#include <include/qos/queue-type.xml.i>
<leafNode name="queue-type">
- <defaultValue>fair-queue</defaultValue>
+ <defaultValue>fq-codel</defaultValue>
</leafNode>
#include <include/qos/set-dscp.xml.i>
#include <include/qos/target.xml.i>
@@ -746,7 +746,7 @@
#include <include/qos/queue-limit-1-4294967295.xml.i>
#include <include/qos/queue-type.xml.i>
<leafNode name="queue-type">
- <defaultValue>fair-queue</defaultValue>
+ <defaultValue>fq-codel</defaultValue>
</leafNode>
#include <include/qos/set-dscp.xml.i>
#include <include/qos/target.xml.i>