Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Re: ctokens vs tokens - HTB.
Date: Mon, 17 Nov 2003 19:31:17 +0000	[thread overview]
Message-ID: <marc-lartc-106909946813889@msgid-missing> (raw)
In-Reply-To: <marc-lartc-106889421417577@msgid-missing>

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/

      parent reply	other threads:[~2003-11-17 19:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-106909946813889@msgid-missing \
    --to=stef.coene@docum.org \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox