All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] fair traffic allocation for 100 Users, is HTB the solution?
Date: Mon, 24 Mar 2003 16:05:38 +0000	[thread overview]
Message-ID: <marc-lartc-104852202706188@msgid-missing> (raw)
In-Reply-To: <marc-lartc-104852134705115@msgid-missing>

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/

  reply	other threads:[~2003-03-24 16:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2003-03-25 15:48 ` Matthias Weingart
2003-03-25 17:18 ` Stef Coene

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-104852202706188@msgid-missing \
    --to=stef.coene@docum.org \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.