Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Amit Kucheria <amitk@ittc.ku.edu>
To: lartc@vger.kernel.org
Subject: [LARTC] HTB burst, cburst parameters
Date: Mon, 10 Dec 2001 00:27:43 +0000	[thread overview]
Message-ID: <marc-lartc-100794666623001@msgid-missing> (raw)

Hi,

I am trying to understand the burst and cburst parameters in HTB. Can 
somebody explain it. The docs arent very clear.

I am trying to throttle a 10Mbit link to a T1 link using HTB. I am using 
the following:

------------------------------------------
DEVICE="dev eth1"
BANDWIDTH="bandwidth 10Mbit"
LIMITBW="1.536Mbit"
AVPKT="avpkt 1470"

# Root HTB qdisc 1:
$TC qdisc add $DEVICE root handle 1: htb

# This HTB class rate limits everyting to 1Mbit
$TC class add $DEVICE parent 1: classid 1:1 htb rate 1.536Mbps ceil 
1.536Mbps burst 1k cburst 0.5k
------------------------------------------
Is this right ?

Also, can HTB take other qdiscs and classes ?

Regards,
Amit


-- 
The statement below is true.
The statement above is false.
^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^
                  Amit Kucheria
          EECS Grad. Research Assistant
         University of Kansas @ Lawrence
   (R)+1-(785)-830 8521 ||| (O)+1-(785)-864 7774
____________________________________________________


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

             reply	other threads:[~2001-12-10  0:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-10  0:27 Amit Kucheria [this message]
2001-12-10  7:03 ` [LARTC] HTB burst, cburst parameters Stef Coene
2001-12-10  7:08 ` Amit Kucheria
2001-12-10  7:56 ` Stef Coene
2001-12-10  7:58 ` Stef Coene
2001-12-10  9:53 ` Martin Devera
2001-12-10 20:31 ` Amit Kucheria
2001-12-11 10:01 ` devik
2001-12-11 18:39 ` Amit Kucheria

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-100794666623001@msgid-missing \
    --to=amitk@ittc.ku.edu \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox