My gateway is showing these messages: htb*g j=4929 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/
On Tuesday 20 January 2004 16:11, Luciano Lima wrote:> My gateway is showing these messages: > > htb*g j=4929 > 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/
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&file=31, the buit-in limit for the quantum is 60000 bytes. Luciano Lima wrote:> My gateway is showing these messages: > > htb*g j=4929 > 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/
> Make sure 1500 < quantum < 60000 > quantum = rate / r2qStef, 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/
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/
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/