qos-scripts: add queue length and quantum limit, suggested by dtaht
authorFelix Fietkau <nbd@openwrt.org>
Tue, 9 Apr 2013 14:59:10 +0000 (14:59 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 9 Apr 2013 14:59:10 +0000 (14:59 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36294

package/network/config/qos-scripts/files/usr/lib/qos/tcrules.awk

index a19b651920c6bf266decad8b4b465c2f3a265962..2a8871495e09c5ccf320cf63aa83cff26f458eae 100644 (file)
@@ -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 limit 800 quantum 300"
        }
 
        # filter rule