All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] htb classes
@ 2004-02-29 21:30 Ciprian Niculescu
  0 siblings, 0 replies; 2+ messages in thread
From: Ciprian Niculescu @ 2004-02-29 21:30 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread
* Re: [LARTC] htb classes
@ 2004-03-06 12:22 Stef Coene
  0 siblings, 0 replies; 2+ messages in thread
From: Stef Coene @ 2004-03-06 12:22 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-06 12:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-29 21:30 [LARTC] htb classes Ciprian Niculescu
  -- strict thread matches above, loose matches on Subject: below --
2004-03-06 12:22 Stef Coene

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.