* [LARTC] HTB: quantum of class 100001 is small. Consider r2q change
@ 2003-10-11 17:54 =?unknown-8bit?q?Drago=C2=BA_Cintez=C3=A3?=
2003-10-11 18:10 ` Stef Coene
0 siblings, 1 reply; 2+ messages in thread
From: =?unknown-8bit?q?Drago=C2=BA_Cintez=C3=A3?= @ 2003-10-11 17:54 UTC (permalink / raw)
To: lartc
Salut lartc (lartc@mailman.ds9a.nl),
18:12:52 kernel HTB init, kernel part version 3.10
18:12:52 kernel HTB: quantum of class 100001 is small. Consider r2q change.
18:12:52 kernel HTB: quantum of class 100002 is small. Consider r2q change.
18:12:52 kernel HTB: quantum of class 100003 is small. Consider r2q change.
18:12:52 kernel HTB: quantum of class 100004 is small. Consider r2q change.
18:12:53 kernel HTB: quantum of class 100005 is small. Consider r2q change.
18:12:53 kernel HTB: quantum of class 100006 is small. Consider r2q change.
18:12:53 kernel HTB: quantum of class 100007 is small. Consider r2q change.
I get this in my logs . I tried to specify another r2q But i did not succed. Can anyone help me please?
Here's my script:
tc qdisc add dev eth1 root handle 10: htb
tc class add dev eth1 parent 10: classid 10:10 htb rate 125kbit ceil 125kbit burst 1k
tc class add dev eth1 parent 10:10 classid 10:1 htb rate 18kbit ceil 125kbit prio 2 burst 1k
tc qdisc add dev eth1 parent 10:1 handle 1: sfq perturb 10
tc filter add dev eth1 parent 10: protocol ip handle 1 fw classid 10:1
tc filter add dev eth1 parent 10: protocol ip prio 2 u32 match ip src 192.168.1.1 flowid 10:1
tc filter add dev eth1 parent 10: protocol ip prio 3 u32 match ip dst 192.168.1.1 flowid 10:1
tc class add dev eth1 parent 10:10 classid 10:2 htb rate 18kbit ceil 125kbit prio 2 burst 1k
tc qdisc add dev eth1 parent 10:2 handle 2: sfq perturb 10
tc filter add dev eth1 parent 10: protocol ip handle 1 fw classid 10:1
tc filter add dev eth1 parent 10: protocol ip prio 2 u32 match ip src 192.168.1.2 flowid 10:2
tc filter add dev eth1 parent 10: protocol ip prio 3 u32 match ip dst 192.168.1.2 flowid 10:2
.....
tc class add dev eth1 parent 10:10 classid 10:7 htb rate 18kbit ceil 125kbit prio 2 burst 1k
tc qdisc add dev eth1 parent 10:7 handle 7: sfq perturb 10
tc filter add dev eth1 parent 10: protocol ip handle 7 fw classid 10:7
tc filter add dev eth1 parent 10: protocol ip prio 2 u32 match ip src 192.168.1.7 flowid 10:7
tc filter add dev eth1 parent 10: protocol ip prio 3 u32 match ip dst 192.168.1.7 flowid 10:7
EOF
TheBat! 2.00.6 natural e-mail system™
_______________________________________________
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
* Re: [LARTC] HTB: quantum of class 100001 is small. Consider r2q change
2003-10-11 17:54 [LARTC] HTB: quantum of class 100001 is small. Consider r2q change =?unknown-8bit?q?Drago=C2=BA_Cintez=C3=A3?=
@ 2003-10-11 18:10 ` Stef Coene
0 siblings, 0 replies; 2+ messages in thread
From: Stef Coene @ 2003-10-11 18:10 UTC (permalink / raw)
To: lartc
On Saturday 11 October 2003 19:54, Dragoº Cintezã wrote:
> Salut lartc (lartc@mailman.ds9a.nl),
>
>
> 18:12:52 kernel HTB init, kernel part version 3.10
> 18:12:52 kernel HTB: quantum of class 100001 is small. Consider r2q change.
> 18:12:52 kernel HTB: quantum of class 100002 is small. Consider r2q change.
> 18:12:52 kernel HTB: quantum of class 100003 is small. Consider r2q change.
> 18:12:52 kernel HTB: quantum of class 100004 is small. Consider r2q change.
> 18:12:53 kernel HTB: quantum of class 100005 is small. Consider r2q change.
> 18:12:53 kernel HTB: quantum of class 100006 is small. Consider r2q change.
> 18:12:53 kernel HTB: quantum of class 100007 is small. Consider r2q change.
>
> I get this in my logs . I tried to specify another r2q But i did not
> succed. Can anyone help me please?
>
> Here's my script:
>
> tc qdisc add dev eth1 root handle 10: htb
> tc class add dev eth1 parent 10: classid 10:10 htb rate 125kbit ceil
> 125kbit burst 1k
>
> tc class add dev eth1 parent 10:10 classid 10:1 htb rate 18kbit ceil
> 125kbit prio 2 burst 1k tc qdisc add dev eth1 parent 10:1 handle 1: sfq
> perturb 10
> tc filter add dev eth1 parent 10: protocol ip handle 1 fw classid 10:1
> tc filter add dev eth1 parent 10: protocol ip prio 2 u32 match ip src
> 192.168.1.1 flowid 10:1 tc filter add dev eth1 parent 10: protocol ip prio
> 3 u32 match ip dst 192.168.1.1 flowid 10:1
>
> tc class add dev eth1 parent 10:10 classid 10:2 htb rate 18kbit ceil
> 125kbit prio 2 burst 1k tc qdisc add dev eth1 parent 10:2 handle 2: sfq
> perturb 10
> tc filter add dev eth1 parent 10: protocol ip handle 1 fw classid 10:1
> tc filter add dev eth1 parent 10: protocol ip prio 2 u32 match ip src
> 192.168.1.2 flowid 10:2 tc filter add dev eth1 parent 10: protocol ip prio
> 3 u32 match ip dst 192.168.1.2 flowid 10:2
>
> .....
>
> tc class add dev eth1 parent 10:10 classid 10:7 htb rate 18kbit ceil
> 125kbit prio 2 burst 1k tc qdisc add dev eth1 parent 10:7 handle 7: sfq
> perturb 10
> tc filter add dev eth1 parent 10: protocol ip handle 7 fw classid 10:7
> tc filter add dev eth1 parent 10: protocol ip prio 2 u32 match ip src
> 192.168.1.7 flowid 10:7 tc filter add dev eth1 parent 10: protocol ip prio
> 3 u32 match ip dst 192.168.1.7 flowid 10:7
I have some info on the faq page on docum.org about r2q and quantum.
The rules (for each class) :
quantum = rate (in byte) / r2q
and
1500 < quantum < 60000.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.openprojects.net
_______________________________________________
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:[~2003-10-11 18:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-11 17:54 [LARTC] HTB: quantum of class 100001 is small. Consider r2q change =?unknown-8bit?q?Drago=C2=BA_Cintez=C3=A3?=
2003-10-11 18:10 ` Stef Coene
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.