From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] HTB for multiple users, good or bad approach?
Date: Fri, 01 Aug 2003 15:39:05 +0000 [thread overview]
Message-ID: <marc-lartc-105975244218899@msgid-missing> (raw)
In-Reply-To: <marc-lartc-105974896414405@msgid-missing>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="windows-1252", Size: 2379 bytes --]
On Friday 01 August 2003 16:41, Andreas Klauer wrote:
> Hi,
>
> I have to share my internet connection (DSL) with
> several other users and want to set up some kind of
> traffic shaping, using HTB.
>
> Some users do a lot of filesharing (which take almost
> all available bandwith, leaving nothing for other users),
> others do online gaming and therefore need guaranteed
> fast interactive connections, normal traffic then is
> somewhere in the middle and should be divided between
> users.
>
> The script I've come up with so far can be found there:
> http://www.metamorpher.de/files/ipshape.sh
Some remarks. You define a burst on your 1:1 class. You don't need this.
And make sure that the sum of the rate of child classes = rate of parent
class. Also, limit all bandwidth too less then your link bandwidth so YOU
are the botleneck
Using different prio's for you htb classes can be tricky. Remove the prio
parameters untill you understand what the different prio's does.
> Do you think that approach could work?
> I don't quite know myself, because I can hardly find
> any way to test it properly.
Yes.
> My script currently definitely does something,
> as bandwith is limited. However, I still get
> lots of (apparently) error messages I can't get rid of:
>
> HTB: quantum of class 20101 is small. Consider r2q change.<4>HTB: quantum
> of class 20103 is small. Consider r2q change.<4>HTB: quantum of class 20104
> is small. Consider r2q change.<4>HTB: quantum of class 20030 is small.
> Consider r2q change.<4>HTB: quantum of class 20002 is big. Consider r2q
> change.<7>htb*g j219489 HTB: quantum of class 10101 is small. Consider
> r2q change.<4>HTB: quantum of class 10104 is small. Consider r2q
> change.<4>HTB: quantum of class 10030 is small. Consider r2q change.<6>HTB
> init, kernel part version 3.7
>
> Are those critical? I tried a wide variety of values for r2q,
> but it didn't help.
>
> Any help, opinions and other comments highly appreciated.
For the quantum problem, see the faq pages on www.docum.org
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/
next prev parent reply other threads:[~2003-08-01 15:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-01 14:41 [LARTC] HTB for multiple users, good or bad approach? Andreas Klauer
2003-08-01 15:39 ` Stef Coene [this message]
2003-08-01 17:28 ` Andreas Klauer
2003-08-02 20:52 ` 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-105975244218899@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.