* [LARTC] Consider r2q change, why !?
@ 2004-06-13 13:24 Yacine
2004-06-13 16:01 ` Clifford Payne
0 siblings, 1 reply; 2+ messages in thread
From: Yacine @ 2004-06-13 13:24 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 1248 bytes --]
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 >= 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: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc htb qlen 1000
link/ether 00:40:63:c9:b3:32 brd ff:ff:ff:ff:ff:ff
Thanks,
Yacine.
[-- Attachment #2: Type: text/html, Size: 1776 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] Consider r2q change, why !?
2004-06-13 13:24 [LARTC] Consider r2q change, why !? Yacine
@ 2004-06-13 16:01 ` Clifford Payne
0 siblings, 0 replies; 2+ messages in thread
From: Clifford Payne @ 2004-06-13 16:01 UTC (permalink / raw)
To: lartc
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
A little bit of searching brings up this page:
<a class="moz-txt-link-freetext" href="http://www.docum.org/stef.coene/qos/faq/cache/31.html">http://www.docum.org/stef.coene/qos/faq/cache/31.html</a><br>
<br>
I hope that helps,<br>
Cliff<br>
<br>
Yacine wrote:
<blockquote cite="mid00f301c45149$c4cfed40$1002a8c0@windaube"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.2800.1400" name="GENERATOR">
<style></style>
<div><font face="Arial" size="2"><font face="Times New Roman" size="3">Hi,<br>
<br>
My system always complain with the warning below :<br>
HTB: quantum of class 10099 is small. Consider r2q change.<br>
...<br>
Thanks,<br>
Yacine.</font><br>
</font></div>
</blockquote>
</body>
</html>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-06-13 16:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-13 13:24 [LARTC] Consider r2q change, why !? Yacine
2004-06-13 16:01 ` Clifford Payne
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.