[LARTC] Re: why so fast?

Linux Advanced Routing and Traffic Control

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

 



On Wednesday 14 May 2003 20:03, sun reflex4 wrote:
> Hi,
> corresponding to my previous, I've tested with it all the time, but it is
> not working. Although the packets go through the specified class, but the
> class does exceed the given ceil, see what the "tc -s -d class show dev
> eth0" shows:
>
>   class htb 1:10 parent 1:1 prio 0 quantum 1000 rate 1bps ceil 1bps burst
> 1023b/8 mpu 0b cburst 1599b/8 0b level 0
>   Sent 11794081 bytes 7847 pkts (dropped 0, overlimits 0)
>   rate 285518bps 189pps
>   lended 7847 borrowed:0 giants:0
>   tokens: -59999999 ctokens: -59999999
>
> When the rate & ceil for 1:10 are 1bps, how does it send with much higher
> rate?
Argh.  You have 10bps.  That means 10bytes per second !  That's way too low.  
No wonder htb can't shape that.  The minimium shapable rate is 4kbps or so.
So plz, do your tests with a higher rate and ceil, 10kbps or so.

Stef

-- 

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



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