hi, i want 5 classes that have rate 50, and ceil to max(or near) and that borrow bandwidth. but which config is better and why: class parent 1: classid 1:1 htb rate 400kbit class parent 1:1 classid 1:2 htb rate 50kbit ceil 350kbit prio 1 class parent 1:1 classid 1:3 htb rate 50kbit ceil 350kbit prio 1 class parent 1:1 classid 1:4 htb rate 50kbit ceil 350kbit prio 1 class parent 1:1 classid 1:5 htb rate 50kbit ceil 300kbit prio 2 class parent 1:1 classid 1:6 htb rate 50kbit ceil 300kbit prio 2 or class parent 1: classid 1:1 htb rate 400kbit class parent 1:1 classid 1:2 htb rate 200kbit ceil 350kbit prio 1 class parent 1:1 classid 1:3 htb rate 200kbit ceil 300kbit prio 2 class parent 1:2 classid 1:21 htb rate 50kbit ceil 350kbit class parent 1:2 classid 1:22 htb rate 50kbit ceil 350kbit class parent 1:2 classid 1:23 htb rate 50kbit ceil 350kbit class parent 1:3 classid 1:31 htb rate 50kbit ceil 300kbit class parent 1:3 classid 1:32 htb rate 50kbit ceil 300kbit C _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Sunday 29 February 2004 22:30, Ciprian Niculescu wrote:> hi, > > i want 5 classes that have rate 50, and ceil to max(or near) and that > borrow bandwidth. > but which config is better and why:It depends on what you want to do. In the first example, the traffic will be equally divided and each class will get his share. I the second example, you also have to count in the parent relation ship (1:2 and 1:3). If 21, 31 and 32 are sending, 21 will get 50% and the other 2 25%. To make it more complicated, you use different prio''s. Maybe the faq and test pages on docum.org can give you some answers on your quetions. 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/