Blame man/man8/tc-choke.8

Packit Service 3880ab
.TH TC 8 "August 2011" "iproute2" "Linux"
Packit Service 3880ab
.SH NAME
Packit Service 3880ab
choke \- choose and keep scheduler
Packit Service 3880ab
.SH SYNOPSIS
Packit Service 3880ab
.B tc qdisc ... choke
Packit Service 3880ab
.B limit
Packit Service 3880ab
packets
Packit Service 3880ab
.B min
Packit Service 3880ab
packets
Packit Service 3880ab
.B max
Packit Service 3880ab
packets
Packit Service 3880ab
.B avpkt
Packit Service 3880ab
bytes
Packit Service 3880ab
.B burst
Packit Service 3880ab
packets
Packit Service 3880ab
.B [ ecn ] [ bandwidth
Packit Service 3880ab
rate
Packit Service 3880ab
.B ] probability
Packit Service 3880ab
chance
Packit Service 3880ab
Packit Service 3880ab
.SH DESCRIPTION
Packit Service 3880ab
Packit Service 3880ab
CHOKe (CHOose and Keep for responsive flows, CHOose and Kill for unresponsive flows)
Packit Service 3880ab
is a classless qdisc designed to both identify and penalize flows that monopolize the
Packit Service 3880ab
queue. CHOKe is a variation of RED, and the configuration is similar to RED.
Packit Service 3880ab
Packit Service 3880ab
.SH ALGORITHM
Packit Service 3880ab
Once the queue hits a certain average length, a random packet is drawn from the
Packit Service 3880ab
queue. If both the to-be-queued and the drawn packet belong to the same flow,
Packit Service 3880ab
both packets are dropped. Otherwise, if the queue length is still below the maximum length,
Packit Service 3880ab
the new packet has a configurable chance of being marked (which may mean dropped).
Packit Service 3880ab
If the queue length exceeds
Packit Service 3880ab
.BR max ,
Packit Service 3880ab
the new packet will always be marked (or dropped).
Packit Service 3880ab
If the queue length exceeds
Packit Service 3880ab
.BR limit ,
Packit Service 3880ab
the new packet is always dropped.
Packit Service 3880ab
Packit Service 3880ab
The marking probability computation is the same as used by the RED qdisc.
Packit Service 3880ab
Packit Service 3880ab
.SH PARAMETERS
Packit Service 3880ab
The parameters are the same as for RED, except that RED uses bytes whereas choke
Packit Service 3880ab
counts packets. See
Packit Service 3880ab
.BR tc-red (8)
Packit Service 3880ab
for a description.
Packit Service 3880ab
Packit Service 3880ab
.SH SOURCE
Packit Service 3880ab
.TP
Packit Service 3880ab
o
Packit Service 3880ab
R. Pan, B. Prabhakar, and K. Psounis, "CHOKe, A Stateless
Packit Service 3880ab
Active Queue Management Scheme for Approximating Fair Bandwidth Allocation",
Packit Service 3880ab
IEEE INFOCOM, 2000.
Packit Service 3880ab
.TP
Packit Service 3880ab
o
Packit Service 3880ab
A. Tang, J. Wang, S. Low, "Understanding CHOKe: Throughput and Spatial
Packit Service 3880ab
Characteristics", IEEE/ACM Transactions on Networking, 2004
Packit Service 3880ab
Packit Service 3880ab
.SH SEE ALSO
Packit Service 3880ab
.BR tc (8),
Packit Service 3880ab
.BR tc-red (8)
Packit Service 3880ab
Packit Service 3880ab
.SH AUTHOR
Packit Service 3880ab
sched_choke was contributed by Stephen Hemminger.