old-www/HOWTO/Traffic-Control-tcng-HTB-HOWTO/misc.html

325 lines
4.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>Miscellaneous Notes</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Traffic Control using tcng and HTB HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Configuration examples"
HREF="examples.html"><LINK
REL="NEXT"
TITLE="Links and Further documentation"
HREF="further.html"></HEAD
><BODY
CLASS="section"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Traffic Control using tcng and HTB HOWTO: </TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="examples.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="further.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="misc"
></A
>4. Miscellaneous Notes</H1
><P
>&#13; Thankfully, <B
CLASS="command"
>tcng</B
> does away with one of the minor
annoyances of <B
CLASS="command"
>tc</B
>. The following table maps the syntax
and convention of these tools with English equivalents.
</P
><DIV
CLASS="table"
><A
NAME="tb-misc-rates"
></A
><P
><B
>Table 1. Speed/Rate syntax: tcng vs. tc</B
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><THEAD
><TR
><TH
ALIGN="LEFT"
VALIGN="MIDDLE"
>tcng</TH
><TH
ALIGN="LEFT"
VALIGN="MIDDLE"
>English</TH
><TH
ALIGN="LEFT"
VALIGN="MIDDLE"
>tc</TH
></TR
></THEAD
><TBODY
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>bps</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>bit(s) per second</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>bit</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>Bps</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>byte(s) per second</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>bps (argh!)</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>kbps</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>kilobit(s) per second</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>kbit</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>kBps</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>kilobyte(s) per second</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>kbps</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>Mbps</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>megabit(s) per second</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>mbit or Mbit</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>MBps</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>megabyte(s) per second</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>mbps or Mbps</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>pps</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>packet per second</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>??</TD
></TR
></TBODY
></TABLE
></DIV
><P
>&#13; Note that this means a slight adjustment for longtime users of
<B
CLASS="command"
>tc</B
>, but a much better choice for intuitive usablity for
English speakers.
</P
><P
>&#13; For example, we can use conventional expressions of rate in
<B
CLASS="command"
>tcng</B
> configurations: <TT
CLASS="userinput"
><B
>100Mbps</B
></TT
>,
<TT
CLASS="userinput"
><B
>128kbps</B
></TT
>, and even <TT
CLASS="userinput"
><B
>2Gpps</B
></TT
>.
See also the <B
CLASS="command"
>tcng</B
> manual
<A
HREF="http://linux-ip.net/gl/tcng/node21.html"
TARGET="_top"
>on units</A
>.
</P
><P
>&#13; 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.
</P
><P
>&#13; </P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="examples.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="further.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Configuration examples</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Links and Further documentation</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>