All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Turley <pturley@rocksteady.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Quantum of class nnnnn is big
Date: Tue, 20 Jan 2004 19:14:26 +0000	[thread overview]
Message-ID: <400D7E12.9030309@rocksteady.com> (raw)
In-Reply-To: <400D451C.4060708@elo.com.br>

I ran into this problem as well. Here's something quoted from our bug 
database that came from the research I did:


---

This message comes from the root qdisc when we attach a class to it. It 
examines the data rate of the subordinate class and computes the 
"quantum" for that class.

A "quantum" is the unit of sharing for bandwidth allocation. It is the 
number of bytes the the root qdisc will collect at one time from a given 
class before moving on to the next one. It's important that the quantum 
be at least 1500, since that's the maximum size of an Ethernet packet.

The root qdisc computes the quantum size for a class by dividing its 
data rate, expressed in bits per second, by a configurable constant 
called "r2q" (short for rate to quantum). The default value for this 
constant is 10, but you can set it to anything you want.

---


So, it looks like the quantum being computed for you is very large, and 
the message is suggesting that you reduce the value of r2q so the 
quantum isn't so big.

According to Stef's FAQ at
http://qos.dyndns.org:3389/cgi-bin/fom?_highlightWords=r2q&file1, the 
buit-in limit for the quantum is 60000 bytes.


Luciano Lima wrote:
> My gateway is showing these messages:
> 
> htb*g jI29
> htb*r7 m=0
> htb*r6 m=0
> htb*r5 m=0
> htb*r4 m=0
> htb*r3 m=0
> htb*r2 m=0
> htb*r1 m=0
> htb*r0 m=0
> HTB: quantum of class 10001 is big. Consider r2q change.
> 
> What does it means ?
> 
> Thanks,
> 
> Luciano Lima
> 
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> 
> 

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

  parent reply	other threads:[~2004-01-20 19:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-20 14:24 [LARTC] Quantum of class nnnnn is big Luciano Lima
2004-01-20 17:43 ` Stef Coene
2004-01-20 19:14 ` Patrick Turley [this message]
2004-01-21 16:18 ` rubens
2004-01-22 19:49 ` Stef Coene
2004-01-22 20:11 ` 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=400D7E12.9030309@rocksteady.com \
    --to=pturley@rocksteady.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 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.