Re: sum of child rates exceeds parent rate

Linux Advanced Routing and Traffic Control

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

 



On Monday 19 January 2004 22:11, Damjan wrote:
> > It's the other way around.  The class needs a token to send a packet.  As
> > long as the class has tokens, it can send packets.  If the class has used
> > all his tokens, it asks the parent if he has tokens left.
>
> Hmm, then you should correct this:
>
> http://www.docum.org/stef.coene/qos/tests/
>     """
>     If a child is using a token to send a packet, the same tocken is
>     requested from the parent. So the child class is using the
>     tokens/ctokens of it's parent. And without tokens, the parent can't
> give remaining bandwidth to it's child classes.
>     """
It's not wrong.  The word "remaining" is important.  If the parent has no 
tokens left, it can't give remaining bandwidth.  But the child class can 
always send packets equal to the rate even if the parent has no tokens left 
so it can drag the parent (c)tokens negative.

Stef

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

_______________________________________________
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