* [LARTC] HTB with 3 classes question...
@ 2002-03-14 8:34 eth
0 siblings, 0 replies; only message in thread
From: eth @ 2002-03-14 8:34 UTC (permalink / raw)
To: lartc
Hi everyone.
Here is a HTB class definition:
tc class add dev eth1 parent 1:0 classid 1:2 htb rate 626kbit ceil
626kbit burst 0k
#372kbit
tc class add dev eth1 parent 1:2 classid 1:10 htb rate 370kbit ceil
626kbit burst 0k
tc class add dev eth1 parent 1:10 classid 1:110 htb rate 32kbit ceil
32kbit burst 0k prio 1
tc qdisc add dev eth1 parent 1:110 handle 11:0 pfifo limit 10
tc class add dev eth1 parent 1:10 classid 1:120 htb rate 32kbit ceil
626kbit burst 0k prio 2
tc qdisc add dev eth1 parent 1:120 handle 12:0 sfq perturb 10
tc class add dev eth1 parent 1:10 classid 1:130 htb rate 306kbit ceil
626kbit burst 0k prio 3
tc qdisc add dev eth1 parent 1:130 handle 13:0 sfq perturb 10
#192kbit
tc class add dev eth1 parent 1:2 classid 1:20 htb rate 190kbit ceil
626kbit burst 0k
tc class add dev eth1 parent 1:20 classid 1:210 htb rate 30kbit ceil
32kbit burst 0k prio 1
tc qdisc add dev eth1 parent 1:210 handle 21:0 pfifo limit 10
tc class add dev eth1 parent 1:20 classid 1:220 htb rate 160kbit ceil
626kbit burst 0k prio 2
tc qdisc add dev eth1 parent 1:220 handle 22:0 sfq perturb 10
#64kbit
tc class add dev eth1 parent 1:2 classid 1:30 htb rate 64kbit ceil
64kbit burst 0k
tc class add dev eth1 parent 1:30 classid 1:310 htb rate 32kbit ceil
32kbit burst 0k prio 1
tc qdisc add dev eth1 parent 1:310 handle 31:0 pfifo limit 10
tc class add dev eth1 parent 1:30 classid 1:320 htb rate 32kbit ceil
64kbit burst 0k prio 2
tc qdisc add dev eth1 parent 1:320 handle 32:0 sfq perturb 10
I don't send you the tc filter as traffic seems to go in the designated
classes. My problem: If all the machines are working, everything is
fine. If only one class is using the network, again no problem. Yet if
only class 372 and 192kbit are working the extra 64kbit are used by
class 192kbit instead of being evenly distributed or in some % ... why?
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-03-14 8:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-14 8:34 [LARTC] HTB with 3 classes question eth
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.