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

View File

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