From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Yacine" Date: Sun, 13 Jun 2004 13:24:34 +0000 Subject: [LARTC] Consider r2q change, why !? Message-Id: <00f301c45149$c4cfed40$1002a8c0@windaube> MIME-Version: 1 Content-Type: multipart/mixed; boundary="----=_NextPart_000_00F0_01C4515A.880DF8A0" List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_00F0_01C4515A.880DF8A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, My system always complain with the warning below : HTB: quantum of class 10099 is small. Consider r2q change. I simply do not understand why... Below my tc commands : /sbin/tc qdisc del dev eth0 root /sbin/tc qdisc add dev eth0 root handle 1 htb default 99 /sbin/tc class add dev eth0 parent 1: classid 1:2 htb rate 128Kbit /sbin/tc class add dev eth0 parent 1:2 classid 1:10 htb rate 80Kbit ceil 128Kbit prio 0 /sbin/tc qdisc add dev eth0 parent 1:10 handle 10 sfq perturb 10 /sbin/tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match = ip dst ***.***.***.*** classid 1:10 /sbin/tc class add dev eth0 parent 1:2 classid 1:99 htb rate 48Kbit ceil 48Kbit prio 7 /sbin/tc qdisc add dev eth0 parent 1:99 handle 99 sfq perturb 10 My default class quantum (99) is correct I guess : quantum is > 1500 (my MTU). If I change the rate of my default class to something >=3D 79 Kbit then = it work without any warning !?!? I am just looking for an explanation as I'm lost here... FYI : # tc -V tc utility, iproute2-ss001007 # uname -r 2.4.26 # ip link sh eth0 3: eth0: mtu 1500 qdisc htb qlen 1000 link/ether 00:40:63:c9:b3:32 brd ff:ff:ff:ff:ff:ff Thanks, Yacine. ------=_NextPart_000_00F0_01C4515A.880DF8A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,

My=20 system always complain with the warning below :
HTB: quantum of class = 10099=20 is small. Consider r2q change.

I simply do not understand=20 why...

Below my tc commands :
/sbin/tc qdisc del dev eth0=20 root
/sbin/tc qdisc add dev eth0 root handle 1 htb default = 99

/sbin/tc=20 class add dev eth0 parent 1: classid 1:2 htb rate = 128Kbit

/sbin/tc class=20 add dev eth0 parent 1:2 classid 1:10 htb rate 80Kbit ceil
128Kbit = prio=20 0
/sbin/tc qdisc add dev eth0 parent 1:10 handle 10 sfq perturb=20 10
/sbin/tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 = match=20 ip
dst ***.***.***.*** classid 1:10

/sbin/tc class add dev = eth0 parent=20 1:2 classid 1:99 htb rate 48Kbit ceil
48Kbit prio 7
/sbin/tc qdisc = add dev=20 eth0 parent 1:99 handle 99 sfq perturb 10

My default class = quantum (99)=20 is correct I guess :  quantum is >
1500 (my MTU).
If = I change=20 the rate of my default class to something >=3D 79 Kbit then = it
work without=20 any warning !?!?

I am just looking for an explanation as I'm lost = here...

FYI :
#  tc -V
tc utility,=20 iproute2-ss001007
#  uname -r
2.4.26
#  ip link sh = eth0
3:=20 eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc htb qlen=20 1000
    link/ether 00:40:63:c9:b3:32 brd=20 ff:ff:ff:ff:ff:ff

Thanks,
Yacine.

------=_NextPart_000_00F0_01C4515A.880DF8A0-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/