All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] fair traffic allocation for 100 Users, is HTB the solution?
@ 2003-03-24 15:54 Matthias Weingart
  2003-03-24 16:05 ` Stef Coene
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Matthias Weingart @ 2003-03-24 15:54 UTC (permalink / raw)
  To: lartc

Hi,

Sorry to bother you with a question, that is often ask here (i guess) :-).

I want to balance (shape) the traffic that  100 Users do over a 
2MBit sDSL connection. Each user (IP or IP group) should get the same 
bandwidth regardless of how much connections are running. If one user 
ist active he gets 100%, 2 users both get 50% of the 2MBit and so on.

I tried cbq in the past, but it did not work as expected:
Each user had its own class with 20kbits guaranteed and borrowing 
enabled. But if one user makes traffic only, he does not get the full
speed.
 I know the wondershaper and WRR, but that tools are not doing it
in the way I want it (they are working globally to keep the latency 
low, but it is not true fair in view to the users).
 What do you think, is HTB able to handle 100 classes with borrowing?
Is a 1GHz CPU with 512MB RAM enough to handle it? (I also want to monitor the
traffic of the 100 classes at the same machine).
Or are there any another ways to do it?

The HTB stuff is not easy, if somebody here has a similar configuration
and can send me his scripts I would be very happy :-).

thx
        Matthias
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] fair traffic allocation for 100 Users, is HTB the solution?
  2003-03-24 15:54 [LARTC] fair traffic allocation for 100 Users, is HTB the solution? Matthias Weingart
@ 2003-03-24 16:05 ` Stef Coene
  2003-03-25 15:48 ` Matthias Weingart
  2003-03-25 17:18 ` Stef Coene
  2 siblings, 0 replies; 4+ messages in thread
From: Stef Coene @ 2003-03-24 16:05 UTC (permalink / raw)
  To: lartc

On Monday 24 March 2003 16:54, Matthias Weingart wrote:
> Hi,
>
> Sorry to bother you with a question, that is often ask here (i guess) :-).
>
> I want to balance (shape) the traffic that  100 Users do over a
> 2MBit sDSL connection. Each user (IP or IP group) should get the same
> bandwidth regardless of how much connections are running. If one user
> ist active he gets 100%, 2 users both get 50% of the 2MBit and so on.
>
> I tried cbq in the past, but it did not work as expected:
> Each user had its own class with 20kbits guaranteed and borrowing
> enabled. But if one user makes traffic only, he does not get the full
> speed.
>  I know the wondershaper and WRR, but that tools are not doing it
> in the way I want it (they are working globally to keep the latency
> low, but it is not true fair in view to the users).
>  What do you think, is HTB able to handle 100 classes with borrowing?
> Is a 1GHz CPU with 512MB RAM enough to handle it? (I also want to monitor
> the traffic of the 100 classes at the same machine).
It's even overkill.

> Or are there any another ways to do it?
>
> The HTB stuff is not easy, if somebody here has a similar configuration
> and can send me his scripts I would be very happy :-).
It's easy if you understand it :)   In your case rate = 20kbit, ceil = 2mbit.  
And you need 100 classes of these connected to a class with ceil = rate = 
2mbit and you are done.

I have some basic scripts on www.docum.org.  Or you can try my configurator at 
http://home.docum.org/qos/ to get an idea about how you can create a htb 
script.

Maybe you can try ESFQ.  It's an enhanced SFQ.  It will create for each flow 
it sees a new band.  A flow can be determined by a combination src/dst 
port/ip.  I have more info on the faq page on www.doucm.org.  Each flow has 
the same opportunity to send something.

Stef

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] fair traffic allocation for 100 Users, is HTB the solution?
  2003-03-24 15:54 [LARTC] fair traffic allocation for 100 Users, is HTB the solution? Matthias Weingart
  2003-03-24 16:05 ` Stef Coene
@ 2003-03-25 15:48 ` Matthias Weingart
  2003-03-25 17:18 ` Stef Coene
  2 siblings, 0 replies; 4+ messages in thread
From: Matthias Weingart @ 2003-03-25 15:48 UTC (permalink / raw)
  To: lartc

Thx for your reply and the short description; HTB seems really simple, worth
 a try.

        Matthias
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] fair traffic allocation for 100 Users, is HTB the solution?
  2003-03-24 15:54 [LARTC] fair traffic allocation for 100 Users, is HTB the solution? Matthias Weingart
  2003-03-24 16:05 ` Stef Coene
  2003-03-25 15:48 ` Matthias Weingart
@ 2003-03-25 17:18 ` Stef Coene
  2 siblings, 0 replies; 4+ messages in thread
From: Stef Coene @ 2003-03-25 17:18 UTC (permalink / raw)
  To: lartc

On Tuesday 25 March 2003 16:48, Matthias Weingart wrote:
> Thx for your reply and the short description; HTB seems really simple,
> worth a try.
Good luck.

Stef

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

end of thread, other threads:[~2003-03-25 17:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-24 15:54 [LARTC] fair traffic allocation for 100 Users, is HTB the solution? Matthias Weingart
2003-03-24 16:05 ` Stef Coene
2003-03-25 15:48 ` Matthias Weingart
2003-03-25 17:18 ` 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.