From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] r2q error with HTB
Date: Fri, 08 Aug 2003 05:51:31 +0000 [thread overview]
Message-ID: <marc-lartc-106032198503647@msgid-missing> (raw)
In-Reply-To: <marc-lartc-106029492417993@msgid-missing>
On Friday 08 August 2003 00:20, Patrick Turley wrote:
> (This is a re-statement of a question I asked earlier)
>
> I have a number of HTB classes feeding into a root HTB qdisc. Whenever I
> set the rate on any of the subordinate classes to 78 kpbs or less, I get
> the following message:
>
>
> HTB : quantum of class <class ID> is small. Consider r2q change.
>
>
> I've done some reading about the meaning of r2q, and I understand it
> now:
>
> quantum = rate/r2q
>
> where:
>
> rate is expressed in kilobits per second
> quantum is expressed in bytes
> r2q has the appropriate units and is 10 by default
>
> Based on what I've read, it's not at all clear why HTB would complain
> about a rate of 78Kbit. That corresponds to a quantum of 7800 bytes,
> which is much larger than the maximum Ethernet packet size (1500).
>
> Anyone have a clue?
Yes. 78kbit = 9.75kbyte. So quantum = 9.75kilobyte/10 = 975byte.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2003-08-08 5:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-07 22:20 [LARTC] r2q error with HTB Patrick Turley
2003-08-08 5:51 ` Stef Coene [this message]
2003-08-08 17:06 ` Patrick Turley
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-106032198503647@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