Re: [LARTC] HTB error messages

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 07 May 2003 12:14, miller69@xxxxxxx 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 j=77891655
> *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 j=77891668
> *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.
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)

> and while skipping through the logs i also found this twice:
>
> *kernel: eth1: Too much work at interrupt, status 0x01
> *kernel: HTB: mindelay=500, 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

-- 

stef.coene@xxxxxxxxx
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux