Setup guide
• global-in - represents all the input interfaces in general (INGRESS queue). Please note that
queues attached to global-in applies to incomming traffic, not outgoing. global-in queueing is
taking place just after mangle and dst-nat.
PCQ
PCQ (Per Connection Queue) type is used for limiting data rate for each connection. These
connections can be classified by the pcq-classifier:
• src-address - source address
• dst-address - destination address
• src-port - source port
• dst-port - destination port
You can use multiple parameters in the pcq-classifier. The pcq-limit is number of packets which
can hold a single PCQ queue. Data rate for each connection is limited by the pcq-rate parameter(in
bytes per second).
Note that for normal PCQ performance you have to use queue trees. It is not recommended to use
simple queues for limiting traffic with PCQ.
Queue burst
A queue burst is a way to 'overcome' the queue limit for a certain amount of time and packets. A
queue with burst allows peaks of data rate up to burst-limit value, but if average data rate is higher
than burst-threshold for burst-time time, the queue is collapsed to the limit-at value. The queue
size is expanded back to burst-limit value when average data rate becomes lesser than
burst-threshold.
This type of behaviour can be extremely useful for prioritizing small rapid packet sequences like
these coming from http www sessions.
For queues that limit traffic flow in both directions, total-burst-time, total-burst-limit and
total-burst-treshold properties can be used to apply bidirectional bursts.
Additional Documents
• Home of Hierarchical Token Bucket (HTB)
• Paper on Random Early Detection (RED)
•
More complete information on Traffic Cotrol
Queue Types
queue type
Description
The queue types are used to specify some common argument values for queues. There are four
default built-in queue types: default, ethernet-default, wireless-default and synchronous-default.
The built-in queue types cannot be removed.
Property Description
name (name) - name for the queue type