All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Re: ctokens vs tokens - HTB.
@ 2003-11-15 10:45 Stef Coene
  2003-11-17 10:34 ` Suraj Shankar
  2003-11-17 19:31 ` Stef Coene
  0 siblings, 2 replies; 3+ messages in thread
From: Stef Coene @ 2003-11-15 10:45 UTC (permalink / raw)
  To: lartc

On Saturday 15 November 2003 09:52, Suraj Shankar wrote:
> Hi,
>    One more of those ...
> 1) what is a ctoken with regard to HTB? Does the 'c'
> stand for ceil and if so how is it different from
> tokens?
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.

> 2) Is the difference, only in the generation of these
> tokens?
For ctokens the ceil parameter is used, for tokens the rate parameter.

> 3) Would the ctokens and token be treated equally once
> borrowed?
What do you mean with this ?

Stef

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

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] Re: ctokens vs tokens - HTB.
  2003-11-15 10:45 [LARTC] Re: ctokens vs tokens - HTB Stef Coene
@ 2003-11-17 10:34 ` Suraj Shankar
  2003-11-17 19:31 ` Stef Coene
  1 sibling, 0 replies; 3+ messages in thread
From: Suraj Shankar @ 2003-11-17 10:34 UTC (permalink / raw)
  To: lartc

Hi,
--- Stef Coene <stef.coene@docum.org> 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?
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?

I am sorry if I am confusing you, but I am terribly
confused, and I am just trying to understand things
better :)

Thank you.

Regards,
suraj.

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] Re: ctokens vs tokens - HTB.
  2003-11-15 10:45 [LARTC] Re: ctokens vs tokens - HTB Stef Coene
  2003-11-17 10:34 ` Suraj Shankar
@ 2003-11-17 19:31 ` Stef Coene
  1 sibling, 0 replies; 3+ messages in thread
From: Stef Coene @ 2003-11-17 19:31 UTC (permalink / raw)
  To: lartc

On Monday 17 November 2003 11:34, Suraj Shankar wrote:
> Hi,
>
> --- Stef Coene <stef.coene@docum.org> 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@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-11-17 19:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-15 10:45 [LARTC] Re: ctokens vs tokens - HTB Stef Coene
2003-11-17 10:34 ` Suraj Shankar
2003-11-17 19:31 ` Stef Coene

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.