Re: tc strange behaviour

Linux Advanced Routing and Traffic Control

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

 



On Thursday 15 December 2005 20:21, Alexander Kabanov wrote:
> tc qdisc add dev eth0 root handle 1: htb default 15
> tc class add dev eth0 parent 1:0 classid 1:1 htb rate 1mbit
> tc class add dev eth0 parent 1:1 classid 1:15 htb rate 512kbit ceil
> 1mbit
>
> what I expect:
> limit outgoing traffic to 1mbit, start rate is 512kbit and let it grow
> up to 1mbit
> (correct me if i'm wrong here)

That would be correct, if there were some sibling classes to 1:15 that 
prevented it from using 1mbit traffic at all times. Right now, there is no 
one who could prevent 1:15 to borrow bandwidth to reach 1mbit, so most 
likely it will just ignore the rate setting and use as much bandwidth as 
it needs, up to 1mbit in total.

Regards,
Andreas Klauer
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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