Re: htb parameter problem

Stef Coene
Wed, 12 Mar 2003 20:48:25 -0000

On Wednesday 12 March 2003 13:48, liang jian wrote:
>  My tc commands:
>  tc class add dev eth1 parent 30: classid 30:1 htb rate 10kbps ceil 10kbps
>  tc class add dev eth1 parent 30:1 classid 30:10 htb rate 5kbps ceil 5kbps
>
>
> why it have the cburst parameter ?
> # tc -s class ls dev eth1
>  class htb 30:1 root rate 80Kbit ceil 80Kbit burst 1701b cburst 1701b
>  Sent 3241503 bytes 55558 pkts (dropped 0, overlimits 0)
>  lended: 0 borrowed: 0 giants: 0
>  tokens: 132320 ctokens: 132320
> My tc command howto drop cburst parameter?
You need a minimal cburst parameter.  If you don''t specify one, htb
will
calculated the smalles possible one for you.  Same for burst.

Stef

--

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net