[LARTC] HTB

Linux Advanced Routing and Traffic Control

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

 



Hi guys..

Running HTB on leaf bearing 1.0-stable with kernel 2.4.20

For some reason, I'm getting these messages in my SYSLOG
Dec 27 18:21:12 gw-homenet kernel: htb*r3 m=3D0=20
Dec 27 18:21:12 gw-homenet kernel: htb*r2 m=3D0=20
Dec 27 18:21:12 gw-homenet kernel: htb*r1 m=3D0=20
Dec 27 18:21:12 gw-homenet kernel: htb*r0 m=3D0=20
Dec 27 18:21:12 gw-homenet kernel: htb*c10011 m=3D2 t=3D391999 =
c=3D100352 pq=3D0
df=3D0 ql=3D0 pa=3D0 f:=20
Dec 27 18:21:12 gw-homenet kernel: htb*c10001 m=3D2 t=3D83725 c=3D83725 =
pq=3D0
df=3D0 ql=3D0 pa=3D0 f:=20
Dec 27 18:21:12 gw-homenet kernel: htb*c10010 m=3D2 t=3D130400 c=3D88341 =
pq=3D0
df=3D229376 ql=3D0 pa=3D0 f:=20
Dec 27 18:21:12 gw-homenet kernel: htb*c10012 m=3D2 t=3D577066 =
c=3D168099 pq=3D0
df=3D60000000 ql=3D0 pa=3D0 f:=20
Dec 27 18:21:12 gw-homenet kernel: htb*g j=3D145034=20
Dec 27 18:21:12 gw-homenet kernel: htb*r7 m=3D0=20
Dec 27 18:21:12 gw-homenet kernel: htb*r6 m=3D0=20
Dec 27 18:21:12 gw-homenet kernel: htb*r5 m=3D0=20
Dec 27 18:21:12 gw-homenet kernel: htb*r4 m=3D0=20
Dec 27 18:21:12 gw-homenet kernel: htb*r3 m=3D0=20
Dec 27 18:21:13 gw-homenet kernel: htb*r2 m=3D0=20
Dec 27 18:21:13 gw-homenet kernel: htb*r1 m=3D0=20
Dec 27 18:21:13 gw-homenet kernel: htb*r0 m=3D0=20
Dec 27 18:21:13 gw-homenet kernel: htb*c10011 m=3D2 t=3D391999 =
c=3D100352 pq=3D0
df=3D0 ql=3D0 pa=3D0 f:=20
Dec 27 18:21:13 gw-homenet kernel: htb*c10001 m=3D2 t=3D83725 c=3D83725 =
pq=3D0
df=3D0 ql=3D0 pa=3D0 f:=20
Dec 27 18:21:13 gw-homenet kernel: htb*c10010 m=3D2 t=3D130400 c=3D88341 =
pq=3D0
df=3D229376 ql=3D0 pa=3D0 f:=20
Dec 27 18:21:13 gw-homenet kernel: htb*c10012 m=3D2 t=3D577066 =
c=3D168099 pq=3D0
df=3D60000000 ql=3D0 pa=3D0 f:=20
Dec 27 18:21:13 gw-homenet kernel: htb*g j=3D145037=20


This is my start file -- this is being started from Shorewall Firewall
run_tc qdisc add dev eth1 root handle 1: htb default 10
run_tc class add dev eth1 parent 1: classid 1:1 htb rate 122kbit ceil
122kbit

echo "   Added Top Level Class -- rate 122kbit"

run_tc class add dev eth1 parent 1:1 classid 1:10 htb rate 80kbit ceil
122kbit prio 0
run_tc class add dev eth1 parent 1:1 classid 1:11 htb rate 24kbit ceil
100kbit prio 1
run_tc class add dev eth1 parent 1:1 classid 1:12 htb rate 18kbit ceil
64kbit prio 2

echo "   Added Second Level Classes -- rates 80kbit, 24kbit, 18kbit"

run_tc qdisc add dev eth1 parent 1:10 handle 120: sfq perturb 10
run_tc qdisc add dev eth1 parent 1:11 handle 130: sfq perturb 10
run_tc qdisc add dev eth1 parent 1:12 handle 140: sfq perturb 10

echo "   Enabled SFQ on Second Level Classes"

run_tc filter add dev eth1 parent 1: protocol ip prio 0 handle 1 fw
classid 1:10
run_tc filter add dev eth1 parent 1: protocol ip prio 1 handle 2 fw
classid 1:11
run_tc filter add dev eth1 parent 1: protocol ip prio 2 handle 3 fw
classid 1:12

echo "   Defined fwmark filters"


During the startup of my Linux box, I see this message in the Syslog,
which I assume, is generated, when the sch_htb module is being load

Dec 27 18:02:10 gw-homenet kernel: HTB: quantum of class 10011 is small.
Consider r2q change.<4>HTB: quantum of class 10012 is small. Consider
r2q change

Any suggestions will be appreciated, thnks



__________________________________________________________________
Reginald Richardson
ICQ#: 365841
Current ICQ status:  =20
+  More ways to contact me=20
__________________________________________________________________


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