Commit 9fb6dc2b authored by Florian Westphal's avatar Florian Westphal Committed by Stephen Hemminger

tc: man: choke counts packets, not bytes

parent 930a75f9
...@@ -4,11 +4,11 @@ choke \- choose and keep scheduler ...@@ -4,11 +4,11 @@ choke \- choose and keep scheduler
.SH SYNOPSIS .SH SYNOPSIS
.B tc qdisc ... choke .B tc qdisc ... choke
.B limit .B limit
bytes packets
.B min .B min
bytes packets
.B max .B max
bytes packets
.B avpkt .B avpkt
bytes bytes
.B burst .B burst
...@@ -22,7 +22,7 @@ chance ...@@ -22,7 +22,7 @@ chance
CHOKe (CHOose and Keep for responsive flows, CHOose and Kill for unresponsive flows) 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 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 .SH ALGORITHM
Once the queue hits a certain average length, a random packet is drawn from the Once the queue hits a certain average length, a random packet is drawn from the
...@@ -39,7 +39,8 @@ If the queue length exceeds ...@@ -39,7 +39,8 @@ If the queue length exceeds
The marking probability computation is the same as used by the RED qdisc. The marking probability computation is the same as used by the RED qdisc.
.SH PARAMETERS .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) .BR tc-red (8)
for a description. for a description.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment