From: Dave Taht <[email protected]>
fq_codel defaults to 10k packets which is excessive. While
a good packet limit should be a calculated value
(X * 64 = bandwidth + slop),
an arbitrary size of 800 is more than enough for most bandwidths.
ecn makes sense on ingress. After traversing the internet, it makes no
sense to drop the packet on the last hop, if it can, instead be ECN
marked.
However at low egress bandwidths (say, below 20Mbit) ecn bloats up
a connection at the core bottleneck.
qos-scripts doesn't presently make a distinction between setup for
ingress and egress, so ecn is arbitrarily disabled here.
Lastly, this drops the quantum size so as to deprioritize the
delivery of big packets slightly.
More work on qos-scripts and related is needed...
---
package/qos-scripts/files/usr/lib/qos/tcrules.awk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/qos-scripts/files/usr/lib/qos/tcrules.awk
b/package/qos-scripts/files/usr/lib/qos/tcrules.awk
index a19b651..80c0ebf 100644
--- a/package/qos-scripts/files/usr/lib/qos/tcrules.awk
+++ b/package/qos-scripts/files/usr/lib/qos/tcrules.awk
@@ -79,7 +79,7 @@ END {
# leaf qdisc
avpkt = 1200
for (i = 1; i <= n; i++) {
- print "tc qdisc add dev "device" parent 1:"class[i]"0 handle
"class[i]"00: fq_codel"
+ print "tc qdisc add dev "device" parent 1:"class[i]"0 handle
"class[i]"00: fq_codel noecn limit 800 quantum 500"
}
# filter rule
--
1.7.9.5
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel