There are many practical reasons to consider traffic control, and many scenarios in which using traffic control
makes sense. Below are some examples of common problems which can be solved or at least ameliorated with
these tools.
The list below is not an exhaustive list of the sorts of solutions available to users of traffic control, but
introduces the types of problems that can be solved by using traffic control to maximize the usability of a
network connection.
Common traffic control solutions
Limit total bandwidth to a known rate; TBF, HTB with child class(es).•
Limit the bandwidth of a particular user, service or client; HTB classes and classifying with a
filter. traffic.
•
Maximize TCP throughput on an asymmetric link; prioritize transmission of ACK packets,
wondershaper.
•
Reserve bandwidth for a particular application or user; HTB with children classes and classifying.•
Prefer latency sensitive traffic; PRIO inside an HTB class.•
Managed oversubscribed bandwidth; HTB with borrowing.•
Allow equitable distribution of unreserved bandwidth; HTB with borrowing.•
Ensure that a particular type of traffic is dropped; policer attached to a filter with a drop
action.
•
Remember, too that sometimes, it is simply better to purchase more bandwidth. Traffic control does not solve
all problems!
2.3. Advantages
When properly employed, traffic control should lead to more predictable usage of network resources and less
volatile contention for these resources. The network then meets the goals of the traffic control configuration.
Bulk download traffic can be allocated a reasonable amount of bandwidth even as higher priority interactive
traffic is simultaneously serviced. Even low priority data transfer such as mail can be allocated bandwidth
without tremendously affecting the other classes of traffic.
In a larger picture, if the traffic control configuration represents policy which has been communicated to the
users, then users (and, by extension, applications) know what to expect from the network.
2.4. Disdvantages
Complexity is easily one of the most significant disadvantages of using traffic control. There are ways to
become familiar with traffic control tools which ease the learning curve about traffic control and its
mechanisms, but identifying a traffic control misconfiguration can be quite a challenge.
Traffic control when used appropriately can lead to more equitable distribution of network resources. It can
just as easily be installed in an inappropriate manner leading to further and more divisive contention for
resources.
The computing resources required on a router to support a traffic control scenario need to be capable of
handling the increased cost of maintaining the traffic control structures. Fortunately, this is a small
incremental cost, but can become more significant as the configuration grows in size and complexity.
Traffic Control HOWTO
2. Overview of Concepts 4