Re: What is the reccomended minimum rate for leaf htb class for accurate operation?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux