All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Quantum of class nnnnn is big
@ 2004-01-20 14:24 Luciano Lima
  2004-01-20 17:43 ` Stef Coene
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Luciano Lima @ 2004-01-20 14:24 UTC (permalink / raw)
  To: lartc

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/

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

* Re: [LARTC] Quantum of class nnnnn is big
  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
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Stef Coene @ 2004-01-20 17:43 UTC (permalink / raw)
  To: lartc

On Tuesday 20 January 2004 16:11, 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 ?
Lower the quantum:)
You can ignore these messages or change the quantum of your classes or r2q of 
your htb qdisc.  For an explanation, see 
http://docum.org/stef.coene/qos/faq/cache/31.html

Make sure 1500 < quantum < 60000
quantum = rate / r2q

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] 6+ messages in thread

* Re: [LARTC] Quantum of class nnnnn is big
  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
  2004-01-21 16:18 ` rubens
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Patrick Turley @ 2004-01-20 19:14 UTC (permalink / raw)
  To: lartc

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/

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

* Re: [LARTC] Quantum of class nnnnn is big
  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
@ 2004-01-21 16:18 ` rubens
  2004-01-22 19:49 ` Stef Coene
  2004-01-22 20:11 ` Stef Coene
  4 siblings, 0 replies; 6+ messages in thread
From: rubens @ 2004-01-21 16:18 UTC (permalink / raw)
  To: lartc



> Make sure 1500 < quantum < 60000
> quantum = rate / r2q

Stef,

Would it be 1500 < quantum, or 1500 <= quantum ?


Rubens


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

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

* Re: [LARTC] Quantum of class nnnnn is big
  2004-01-20 14:24 [LARTC] Quantum of class nnnnn is big Luciano Lima
                   ` (2 preceding siblings ...)
  2004-01-21 16:18 ` rubens
@ 2004-01-22 19:49 ` Stef Coene
  2004-01-22 20:11 ` Stef Coene
  4 siblings, 0 replies; 6+ messages in thread
From: Stef Coene @ 2004-01-22 19:49 UTC (permalink / raw)
  To: lartc

On Wednesday 21 January 2004 17:18, rubens@etica.net wrote:
> > Make sure 1500 < quantum < 60000
> > quantum = rate / r2q
>
> Stef,
>
> Would it be 1500 < quantum, or 1500 <= quantum ?
No, 1500 < quantim < 60.000.  So quantum must be at least 1500, that's the 
maximum packet size.  And < 60000 and this is hard decoded in htb to prevent 
cass starvation.

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] 6+ messages in thread

* Re: [LARTC] Quantum of class nnnnn is big
  2004-01-20 14:24 [LARTC] Quantum of class nnnnn is big Luciano Lima
                   ` (3 preceding siblings ...)
  2004-01-22 19:49 ` Stef Coene
@ 2004-01-22 20:11 ` Stef Coene
  4 siblings, 0 replies; 6+ messages in thread
From: Stef Coene @ 2004-01-22 20:11 UTC (permalink / raw)
  To: lartc

On Wednesday 21 January 2004 17:18, rubens@etica.net wrote:
> > Make sure 1500 < quantum < 60000
> > quantum = rate / r2q
>
> Stef,
>
> Would it be 1500 < quantum, or 1500 <= quantum ?
I checked the htb code in kernel 2.6.1:
if quantum < 1000 or quantum > 200000, an eror is logged.

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] 6+ messages in thread

end of thread, other threads:[~2004-01-22 20:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2004-01-21 16:18 ` rubens
2004-01-22 19:49 ` Stef Coene
2004-01-22 20:11 ` 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.