[LARTC] borrowing only from parent

Linux Advanced Routing and Traffic Control

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

 



On Friday 26 April 2002 12:14, Anton Yurchenko wrote:
> Hello,
>
> for example I have a parent class 1:1 defined as:
>
> tc qdisc add dev eth0 root handle 1: htb default 12
>
> # shape at 15 kbit almost no borrowing and no bursts
> tc class add dev eth0 parent 1: classid 1:1 htb rate 15kbit ceil 1kbit
> burst 1b cburst 1b
>
> # and sibling classes
> # shape at 5kbit and borrow up to 5 kbit no burst
> tc class add dev eth0 parent 1:1 classid 1:10 htb rate 5kbit ceil 5kbit
> burst 1b cburst 1b # shape at 10kbit and borrow up to 10 kbit no burst
> tc class add dev eth0 parent 1:1 classid 1:11 htb rate 10kbit ceil 10kb=
ps
> burst 1b cburst 1b
Try ceil 15kbit for the  class 1:10 and 1:11.
And 15kbit is a very low speed to shape at.  Why are you doing so ?  And =
you=20
also typed kbps, but kbps =3D kilobyte/s =3D 8 kilobit/s =3D 8 kbit.

Stef

--=20

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


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