projects
/
librecmc
/
librecmc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix qos-scripts RED qdisc calculation for slow lines
[librecmc/librecmc.git]
/
package
/
qos-scripts
/
files
/
usr
/
lib
/
qos.sh
diff --git
a/package/qos-scripts/files/usr/lib/qos.sh
b/package/qos-scripts/files/usr/lib/qos.sh
index 8fcf9dc27f631cc3dc0122e4574a5d5de7cece4a..724784ebd01342c9ce922b195ae1d5993c11d60d 100755
(executable)
--- a/
package/qos-scripts/files/usr/lib/qos.sh
+++ b/
package/qos-scripts/files/usr/lib/qos.sh
@@
-275,6
+275,7
@@
BEGIN {
print "sfq perturb 10 limit " cqlen
} else {
avpkt = 1200
+ if (min < avpkt) min = avpkt
min = int(limit * 1024 / 8 * 0.1)
dqb = cqlen * 1500
max = int(min + (dqb - min) * 0.25)