Re: HTB not obeying to specified rate?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 28 April 2004 10:07, Anton Glinkov wrote:
> here is the situation
>
> i am using htb.init with fwmark to do QoS.
>
> i have 2 parent classes with RATE=CEIL which then have some leafs each on
> his own.
> the first one works fine (it shapes the packets to the specified rate)
>
> class htb 1:21 root rate 1Mbit ceil 1Mbit burst 2909b cburst 2909b
>  Sent 631520262 bytes 651550 pkts (dropped 0, overlimits 0)
>  rate 131573bps 141pps
>  lended: 380595 borrowed: 0 giants: 0
>  tokens: -22734 ctokens: -22734
>
> the rate never goes over 132000 bps.
Don't trust the reported rate.

> the other doesn't seem to check the rate at all.
> here is the tc -s:
>
> class htb 1:22 root rate 448Kbit ceil 448Kbit burst 2172b cburst 2172b
>  Sent 337083231 bytes 522787 pkts (dropped 0, overlimits 0)
>  rate 71638bps 120pps
>  lended: 0 borrowed: 0 giants: 0
>  tokens: -59999999 ctokens: -59999999
>
> i tried to lower the rate (to 128Kbit) it still uses the maximum available
> (sometimes goes up to 90000 bps). the same when I tried to lower the burst
> and cburst.
>
> any ideas?
Can you post your tc commands?

> what do the tokens/ctokens specify?
It's not good they are negative.  That means the class is sendong more then 
the configured rate.

Stef

-- 
stef.coene@xxxxxxxxx
 "Using Linux as bandwidth manager"
     http://www.docum.org/
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux