Miscellaneous Notes

Traffic Control using tcng and HTB HOWTO:
Prev |  | Next

# 4. Miscellaneous Notes

Thankfully, tcng does away with one of the minor annoyances of tc. The following table maps the syntax and convention of these tools with English equivalents.

Table 1. Speed/Rate syntax: tcng vs. tc

tcng | English | tc
--- | --- | ---
bps | bit(s) per second | bit
Bps | byte(s) per second | bps (argh!)
kbps | kilobit(s) per second | kbit
kBps | kilobyte(s) per second | kbps
Mbps | megabit(s) per second | mbit or Mbit
MBps | megabyte(s) per second | mbps or Mbps
pps | packet per second | ??

Note that this means a slight adjustment for longtime users of tc, but a much better choice for intuitive usablity for English speakers.

For example, we can use conventional expressions of rate in tcng configurations: `100Mbps`, `128kbps`, and even `2Gpps`. See also the tcng manual on units.

In order for traffic control to be effective, it is important to understand where the bottlenecks are. In most cases, you'll want to perform the traffic control at or near the bottleneck.

Prev | Home | Next
Configuration examples |  | Links and Further documentation