Re: Re: ctokens vs tokens - HTB.

Linux Advanced Routing and Traffic Control

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

 



On Monday 17 November 2003 11:34, Suraj Shankar wrote:
> Hi,
>
> --- Stef Coene <stef.coene@xxxxxxxxx> wrote:
> > Ctokens is used for the ceil, tokens is used for the
> > rate.  tokens are used to
> > give a class a minimum bandwidth and ctokens are
> > used to give the class a
> > maximum bandwidth.
>
> okay.
>
> > For ctokens the ceil parameter is used, for tokens
> > the rate parameter.
>
> Thank you.
>
> > > 3) Would the ctokens and token be treated equally
> >
> > once
> >
> > > borrowed?
> >
> > What do you mean with this ?
>
> Before that ... do ctokens and tokens have an equal
> capacity to transfer a packet; meaning can exactly one
> packet flow through, as long as, for every single
> ctoken or token?
1 (c)token = 1 packet.  So you can only send a packet when you have a token.

> If this is true, then my question ... would a child
> class borrowing a token from the parent class treat a
> ctoken and a token equally? Meaning, are ctokens &
> tokens qualitatively the same and different only in
> the fact that ctokens are used at ceil rate and at
> normal rate a token is used?
Euh.  Yes.

> I am sorry if I am confusing you, but I am terribly
> confused, and I am just trying to understand things
> better :)
I also have think hard about your questions :)  And that hurts after sitting 
3hrs in a traffic jam.

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