Skip to contentSkip to conversation

HTB error messages

LARTC [email protected] 2 participants 2 messages May 7, 2003

lore
Share & tools
lore
#0 lore raw

Hi folks,

I'm running a linux box kernel 2.4.19 and HTB 3.6. eth0 is a 100MBit nic and eth1 just 10MBit. The HTB setup is the following:

tc qdisc add dev eth0 root handle 1:0 htb default 10
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 100mbit ceil 100mbit tc class add dev eth0 parent 1:1 classid 1:10 htb rate 9mbit ceil 9mbit prio 4
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 89mbit ceil 100mbit prio 1
tc class add dev eth0 parent 1:1 classid 1:12 htb rate 10kbit ceil 100kbit prio 5

tc qdisc add dev eth1 root handle 2:0 htb default 20
tc class add dev eth1 parent 2:0 classid 2:2 htb rate 10mbit ceil 10mbit tc class add dev eth1 parent 2:2 classid 2:20 htb rate 9mbit ceil 9mbit prio 1
tc class add dev eth1 parent 2:2 classid 2:22 htb rate 10kbit ceil 100kbit prio 5

Now I get some error messages in /var/log/messages
*kernel: HTB init, kernel part version 3.6
*kernel: htb*g jw891655
*kernel: htb*r7 m=0
*kernel: htb*r6 m=0
*kernel: htb*r5 m=0
*kernel: htb*r4 m=0
*kernel: htb*r3 m=0
*kernel: htb*r2 m=0
*kernel: htb*r1 m=0
*kernel: htb*r0 m=0
*kernel: HTB: quantum of class 10001 is big. Consider r2q change.<4>HTB:
quantum of class 10011 i
s big. Consider r2q change.<4>HTB: quantum of class 10012 is small. Consider r2q change.<6>HTB init, kernel part version 3.6
*kernel: htb*g jw891668
*kernel: htb*r7 m=0
*kernel: htb*r6 m=0
*kernel: htb*r5 m=0
*kernel: htb*r4 m=0
*kernel: htb*r3 m=0
*kernel: htb*r2 m=0
*kernel: htb*r1 m=0
*kernel: htb*r0 m=0

and also:
*kernel: HTB: quantum of class 20022 is small. Consider r2q change.<4>HTB:
quantum of class 10012
is small. Consider r2q change.<4>HTB: quantum of class 20022 is small.
Consider r2q change.

and while skipping through the logs i also found this twice:

*kernel: eth1: Too much work at interrupt, status 0x01 *kernel: HTB: mindelayP0, report it please !

Any suggestions? Some googlin' gave me a link to a patch at
http://luxik.cdi.cz/~devik/qos/htb/v3/htb_3.7_delay_bug.patch
may this help?

Thanks in advance,
Mike.

Signature · 6 lines
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#1 lore raw
Quoted 46 lines · On Wednesday 07 May 2003 12:14, [email protected] wrote:

Hi folks,

I'm running a linux box kernel 2.4.19 and HTB 3.6. eth0 is a 100MBit nic and eth1 just 10MBit. The HTB setup is the following:

tc qdisc add dev eth0 root handle 1:0 htb default 10
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 100mbit ceil 100mbit tc class add dev eth0 parent 1:1 classid 1:10 htb rate 9mbit ceil 9mbit prio 4
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 89mbit ceil 100mbit prio 1
tc class add dev eth0 parent 1:1 classid 1:12 htb rate 10kbit ceil 100kbit prio 5

tc qdisc add dev eth1 root handle 2:0 htb default 20
tc class add dev eth1 parent 2:0 classid 2:2 htb rate 10mbit ceil 10mbit tc class add dev eth1 parent 2:2 classid 2:20 htb rate 9mbit ceil 9mbit prio 1
tc class add dev eth1 parent 2:2 classid 2:22 htb rate 10kbit ceil 100kbit prio 5

Now I get some error messages in /var/log/messages
*kernel: HTB init, kernel part version 3.6
*kernel: htb*g jw891655
*kernel: htb*r7 m=0
*kernel: htb*r6 m=0
*kernel: htb*r5 m=0
*kernel: htb*r4 m=0
*kernel: htb*r3 m=0
*kernel: htb*r2 m=0
*kernel: htb*r1 m=0
*kernel: htb*r0 m=0
*kernel: HTB: quantum of class 10001 is big. Consider r2q change.<4>HTB:
quantum of class 10011 i
s big. Consider r2q change.<4>HTB: quantum of class 10012 is small. Consider r2q change.<6>HTB init, kernel part version 3.6 *kernel: htb*g jw891668
*kernel: htb*r7 m=0
*kernel: htb*r6 m=0
*kernel: htb*r5 m=0
*kernel: htb*r4 m=0
*kernel: htb*r3 m=0
*kernel: htb*r2 m=0
*kernel: htb*r1 m=0
*kernel: htb*r0 m=0

Quoted 5 lines

and also:
*kernel: HTB: quantum of class 20022 is small. Consider r2q change.<4>HTB:
quantum of class 10012
is small. Consider r2q change.<4>HTB: quantum of class 20022 is small.
Consider r2q change.

The quantum problem is easy to solve. Just add quantum 1500 at the 10kbit rate class. More info about quantum and r2q can be found on docum.org on the faq pages.
(http://www.docum.org/stef.coene/qos/faq/cache/31.html)

Quoted 8 lines

and while skipping through the logs i also found this twice:

*kernel: eth1: Too much work at interrupt, status 0x01 *kernel: HTB: mindelayP0, report it please !

Any suggestions? Some googlin' gave me a link to a patch at
http://luxik.cdi.cz/~devik/qos/htb/v3/htb_3.7_delay_bug.patch
may this help?

Don't know.

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/