Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: "Martin A. Brown" <mabrown-lartc@securepipe.com>
To: lartc@vger.kernel.org
Subject: [LARTC] above rate and below rate HTB packet dequeuing
Date: Sun, 10 Aug 2003 00:16:29 +0000	[thread overview]
Message-ID: <marc-lartc-106047502114999@msgid-missing> (raw)

Hello all,

I have a question about the details of HTB packet dequeuing and the effect
on scheduling of packets queued in different classes.  I have been unable
to answer this question with certainty either by reading the HTB user
guide [1] or the LARTC FAQ on docum.org [2].

The closest I can come to guessing the answer is the section on burst in
the HTB user guide [3].

Here's my question:

  When a sending class is below rate, how many bytes is the class allowed
  to transmit before another class is serviced?

It seems clear to me from this answer [4] in the LARTC FAQ, that the
quantum is used to allow each class to borrow from a parent in a turn.  Is
the class also allowed to dequeue only quantum bytes per turn (when above
rate but below ceil)?

But, more importantly, when a class is below rate, is it allowed to
dequeue a maximum of burst packets per turn?

Is this statement, then, accurate?

  - below rate, a class can dequeue up to burst bytes per turn
  - above rate, a class can dequeue up to quantum bytes per turn

Thanks for any replies,

-Martin

 [1] http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm
 [2] http://www.docum.org/stef.coene/qos/faq/cache/
 [3] http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm#burst
 [4] http://www.docum.org/stef.coene/qos/faq/cache/31.html


P.S. Groeten, Stef!

-- 
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com

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

             reply	other threads:[~2003-08-10  0:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-10  0:16 Martin A. Brown [this message]
2003-08-17 18:08 ` [LARTC] above rate and below rate HTB packet dequeuing Stef Coene

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-106047502114999@msgid-missing \
    --to=mabrown-lartc@securepipe.com \
    --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