All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin A. Brown" <mabrown-lartc@securepipe.com>
To: lartc@vger.kernel.org
Subject: Re: no bug in tcng; tc kbit v. tcng kbps [LARTC] was tcng error
Date: Mon, 01 Dec 2003 06:01:51 +0000	[thread overview]
Message-ID: <marc-lartc-107025857800749@msgid-missing> (raw)
In-Reply-To: <marc-lartc-106996355118825@msgid-missing>

Charles,

 : #include "fields.tc"
 : #include "ports.tc"

[ You don't really need to explicitly include fields.tc and ports.tc,
  because they are implicitly included by tcc. ]

[ some snipped stuff ]

 : ah ha -- thanks for this!!!! much clearer now ...

Most certainly.  I think this is one of the more confusing aspects of
Linux traffic control.

 : perhaps this table is worthy of inclusion in the howto or a
 : compatibility option in tcng?

It's (now*) written in several places [0], [1], [2]*.  Which HOWTO were
you consulting?  The LARTC HOWTO?  It doesn't (yet) cover tcng, to my
knowledge.

 : curious also on your experience with ingress -- i noticed that using a
 : Single Leaky Bucket, and playing with the cbs parameter can
 : dramatically (obviously) affect the ingress policing. is there a
 : general rule of thumb in calculating the cbs size based on the cir?

I don't have a quick and easy answer....perhaps one of Stef's graphs [3]
will help you choose a bucket size.  Because a larger bucket supports
burstier traffic, it may be your choice in many situations.  Others may
want to prevent any bursting, and may deliberately wish to use a small
bucket.

This is also where some experimentation will lend a hand.  Better to try a
few bucket sizes, and see where you/your users are comfortable.

-Martin

 [0] http://linux-ip.net/gl/tcng/node21.html
 [1] http://tldp.org/HOWTO/Traffic-Control-tcng-HTB-HOWTO/misc.html
*[2] http://www.docum.org/stef.coene/qos/faq/cache/74.html
 [3] http://docum.org/

   * added (at your suggestion) to the LARTC FAQ-o-Matic

-- 
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

      parent reply	other threads:[~2003-12-01  6:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-27 19:58 no bug in tcng; tc kbit v. tcng kbps [LARTC] was tcng error Martin A. Brown
2003-11-28  7:43 ` lartc
2003-12-01  6:01 ` Martin A. Brown [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-107025857800749@msgid-missing \
    --to=mabrown-lartc@securepipe.com \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.