* [LARTC] What are the proper values for rate/ceil in tc ?
@ 2005-03-12 6:06 Gheorghe Marinca
0 siblings, 0 replies; only message in thread
From: Gheorghe Marinca @ 2005-03-12 6:06 UTC (permalink / raw)
To: lartc
[-- Attachment #1.1: Type: text/plain, Size: 1398 bytes --]
Hello!
I am using shapping whith htb. My question is what are the propper values I can use in rate/ceil. I use htb.init for quick building of my classes/rules and have 2 groups of clients with 2 different bandwidth assignemet :
A. 16--->48kbps
B. 16---->128Kbps
It seems to work everything OK, but can I use lower values for rate like 8Kbps ? What about using 32-->96Kbps? I let htb to compute quantum, I just set R2Q.
I also get the following error:
itr kernel: HTB: quantum of class 10002 is big. Consider r2q change.<4>HTB: quantum of class 10010 is big. Consider r2q change
Bellow is an exerpt from my coniguration(as produced by htb.init script):
tc qdisc del dev eth1 root
tc qdisc add dev eth1 root handle 1 htb default 99 r2q 1
tc qdisc del dev eth2 root
tc qdisc add dev eth2 root handle 1 htb default 99 r2q 1
tc class add dev eth1 parent 1: classid 1:2 htb rate 10Mbit
tc class add dev eth1 parent 1:2 classid 1:20 htb rate 768kbit ceil 796kbit
tc class add dev eth1 parent 1:20 classid 1:30 htb rate 612kbit ceil 712kbit
.....
tc class add dev eth1 parent 1:20 classid 1:40 htb rate 156kbit ceil 224kbit
.....
tc class add dev eth2 parent 1:30 classid 1:1099 htb rate 16Kbit ceil 128Kbit
tc qdisc add dev eth2 parent 1:1099 handle 1099 sfq perturb 10
tc filter add dev eth2 parent 1:0 protocol ip prio 100 u32 match ip src xx.xx.xx.xx classid 1:1099
[-- Attachment #1.2: Type: text/html, Size: 2778 bytes --]
[-- Attachment #2: Type: text/plain, Size: 143 bytes --]
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-03-12 6:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-12 6:06 [LARTC] What are the proper values for rate/ceil in tc ? Gheorghe Marinca
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.