From 9fb6dc2bef427f13ad794cad187cda60be1cc06e Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Sun, 8 Apr 2012 12:34:14 +0000 Subject: [PATCH] tc: man: choke counts packets, not bytes --- man/man8/tc-choke.8 | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/man/man8/tc-choke.8 b/man/man8/tc-choke.8 index 7b213be..620c7f6 100644 --- a/man/man8/tc-choke.8 +++ b/man/man8/tc-choke.8 @@ -4,11 +4,11 @@ choke \- choose and keep scheduler .SH SYNOPSIS .B tc qdisc ... choke .B limit -bytes +packets .B min -bytes +packets .B max -bytes +packets .B avpkt bytes .B burst @@ -22,7 +22,7 @@ chance CHOKe (CHOose and Keep for responsive flows, CHOose and Kill for unresponsive flows) is a classless qdisc designed to both identify and penalize flows that monopolize the -queue. CHOKe is a variation of RED, and the configuration is the same as RED. +queue. CHOKe is a variation of RED, and the configuration is similar to RED. .SH ALGORITHM Once the queue hits a certain average length, a random packet is drawn from the @@ -39,7 +39,8 @@ If the queue length exceeds The marking probability computation is the same as used by the RED qdisc. .SH PARAMETERS -The parameters are the same as for RED, see +The parameters are the same as for RED, except that RED uses bytes whereas choke +counts packets. See .BR tc-red (8) for a description. -- 2.39.2