[LARTC] What is the reccomended minimum rate for leaf htb class
for accurate operation?
Andreas Klauer
Andreas.Klauer@metamorpher.de
Wed, 06 Oct 2004 10:14:38 +0200
Zviad O. Giorgadze wrote:
> # Class for GLOBAL traffic
> tc class add dev eth0 parent 1:1 classid 1:20 htb rate 115kbit ceil 1mbit
Does different rate / ceil for the root class make sense?
> # Classes for PC-s
> tc class add dev eth0 parent 1:20 classid 1:21 htb rate 48kbit ceil 1mbit prio 2
> tc class add dev eth0 parent 1:20 classid 1:22 htb rate 24kbit ceil 1mbit prio 3
> tc class add dev eth0 parent 1:20 classid 1:23 htb rate 12kbit ceil 1mbit prio 5
> tc class add dev eth0 parent 1:20 classid 1:24 htb rate 12kbit ceil 1mbit prio 5
> tc class add dev eth0 parent 1:20 classid 1:25 htb rate 12kbit ceil 1mbit prio 5
I guess class 1:21 gets to borrow all the traffic up to 1mbit and the
others get nothing at all. You really want that? These rates and prios
don't make sense to me, what do you intend to do?
I'd remove the prio parameter, increase global traffic class rate to
1mbit, and increase PC class rates so that they add up to 1mbit.
Andreas