diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-06-30 02:34:03 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-06-30 02:34:03 +0000 |
commit | e8bd92335aee818612b6a4322933f5b7bb907c1e (patch) | |
tree | 6fc168de86936f2441344b42080359fc5d49c127 /package/qos-scripts/files/usr/lib/qos/generate.sh | |
parent | e8c4462a6414b1f66d5d68e5d8c57ac236b21aff (diff) | |
download | master-187ad058-e8bd92335aee818612b6a4322933f5b7bb907c1e.tar.gz master-187ad058-e8bd92335aee818612b6a4322933f5b7bb907c1e.tar.bz2 master-187ad058-e8bd92335aee818612b6a4322933f5b7bb907c1e.zip |
qos-scripts update:
- rewrite the RED qdisc calculations and add some comments
this should fix the warnings about bursting (should also fix quirks with various linespeed settings)
- reduce the calculated overhead for upstream, while i'm at it...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7782 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/qos-scripts/files/usr/lib/qos/generate.sh')
-rwxr-xr-x | package/qos-scripts/files/usr/lib/qos/generate.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/qos-scripts/files/usr/lib/qos/generate.sh b/package/qos-scripts/files/usr/lib/qos/generate.sh index 844bd70f9a..a2f7d719c7 100755 --- a/package/qos-scripts/files/usr/lib/qos/generate.sh +++ b/package/qos-scripts/files/usr/lib/qos/generate.sh @@ -261,7 +261,7 @@ start_interface() { for dir in up${halfduplex} ${download:+down}; do case "$dir" in up) - [ "$overhead" = 1 ] && upload=$(($upload * 98 / 100 - (32 * 128 / $upload))) + [ "$overhead" = 1 ] && upload=$(($upload * 98 / 100 - (15 * 128 / $upload))) dev="$device" rate="$upload" dl_mode="" |