diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-04-06 16:59:56 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-04-06 16:59:56 +0000 |
commit | c993ad73be467282f04a53e112cbd535498f2226 (patch) | |
tree | bc0eb43b63461eefa096796f79487ac1b0fcf0f8 /package/qos-scripts/files/etc | |
parent | c6aa5d159d28bf31647c5d09fb2c707bac47885d (diff) | |
download | mtk-20170518-c993ad73be467282f04a53e112cbd535498f2226.zip mtk-20170518-c993ad73be467282f04a53e112cbd535498f2226.tar.gz mtk-20170518-c993ad73be467282f04a53e112cbd535498f2226.tar.bz2 |
update qos-scripts to v1.1 - rewritten hfsc rate calculation
SVN-Revision: 6875
Diffstat (limited to 'package/qos-scripts/files/etc')
-rw-r--r-- | package/qos-scripts/files/etc/config/qos | 34 | ||||
-rwxr-xr-x | package/qos-scripts/files/etc/hotplug.d/iface/10-qos | 2 | ||||
-rwxr-xr-x | package/qos-scripts/files/etc/init.d/qos | 2 |
3 files changed, 16 insertions, 22 deletions
diff --git a/package/qos-scripts/files/etc/config/qos b/package/qos-scripts/files/etc/config/qos index 1bf9917..7d3501c 100644 --- a/package/qos-scripts/files/etc/config/qos +++ b/package/qos-scripts/files/etc/config/qos @@ -60,35 +60,29 @@ config classgroup "Default" config class "Priority" - option packetsize 300 - option packetdelay 10 + option packetsize 400 option maxsize 400 - option avgrate 40 - option linksharing 75 + option avgrate 10 + option priority 20 config class "Priority_down" - option packetsize 1500 - option avgrate 20 + option packetsize 1000 + option avgrate 10 config class "Express" - option packetsize 1300 - option packetdelay 15 + option packetsize 1000 option maxsize 800 - option avgrate 30 - option linksharing 80 - + option avgrate 50 + option priority 10 config class "Normal" option packetsize 1500 - option packetdelay 150 - option avgrate 20 - option linksharing 30 + option packetdelay 100 + option avgrate 10 + option priority 5 config class "Normal_down" - option avgrate 30 - + option avgrate 20 config class "Bulk" - option linksharing 10 -config class "Bulk_down" - option avgrate 15 - option limitrate 85 + option avgrate 1 + option packetdelay 200 diff --git a/package/qos-scripts/files/etc/hotplug.d/iface/10-qos b/package/qos-scripts/files/etc/hotplug.d/iface/10-qos index 0682db1..8537297 100755 --- a/package/qos-scripts/files/etc/hotplug.d/iface/10-qos +++ b/package/qos-scripts/files/etc/hotplug.d/iface/10-qos @@ -1,2 +1,2 @@ #!/bin/sh -[ "$ACTION" = ifup ] && /usr/lib/qos.sh interface "$INTERFACE" | sh +[ "$ACTION" = ifup ] && /usr/lib/qos/generate.sh interface "$INTERFACE" | sh diff --git a/package/qos-scripts/files/etc/init.d/qos b/package/qos-scripts/files/etc/init.d/qos index 4fa42d4..3f71115 100755 --- a/package/qos-scripts/files/etc/init.d/qos +++ b/package/qos-scripts/files/etc/init.d/qos @@ -4,7 +4,7 @@ START=50 boot() { - /usr/lib/qos.sh firewall | sh + /usr/lib/qos/generate.sh firewall | sh } start() { |