tc: man: choke counts packets, not bytes

This commit is contained in:
Florian Westphal 2012-04-08 12:34:14 +00:00 committed by Stephen Hemminger
parent 930a75f925
commit 9fb6dc2bef
1 changed files with 6 additions and 5 deletions

View File

@ -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
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
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.