From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] cbq.init
Date: Wed, 23 Apr 2003 19:14:34 +0000 [thread overview]
Message-ID: <marc-lartc-105112537518980@msgid-missing> (raw)
In-Reply-To: <marc-lartc-104039526016044@msgid-missing>
On Wednesday 23 April 2003 20:58, larry lefthook wrote:
> About the cbq.init. Four machines which traffic to limit in same LAN.
> Is the samething if I put limiting rules to four different files or all to
> the same file? Like:
>
> DEVICE=eth0,10Mbit,1Mbit
> RATEdKbit
> WEIGHT=6Kbit
> PRIO=5
> RULE\x192.168.0.5
> RULE\x192.168.0.6
> RULE\x192.168.0.7
> RULE\x192.168.0.8
>
> OR four equal files with different IPs, Ids and no PARENT rule?
> What style of ID numbering you use if there is many conf files?
>
> I read about htb.init problem here:
> "<snip>
> LEAF=sfq
> RULE\x192.168.1.[1..6]
> The problem is when user start to download with Flashget,MassDownloader
> (with 10 threads) he kills the internet connection (240Kbit) without
> overlimiting his 80Kbit. Other users get 1-2kbps, witch is extremely
> unpleasant." And the answer: "You can try the esfq qdisc. You can create
> the different queues based on ip-addresses and/or ports and this for source
> and/or destination."
>
> I have cbq.init and LEAFÞfault (tbf). Can Flashget & others do me the
> above thing? Just suspicious...perhaps stupid questions.
Not stupid, but the wrong place. This is not the cbq.init discussion list.
Howerver some remarks. I think the esfq idea came from me. You can use if
you know why. So if you are not satisfied with cbq.init, try to create your
own script.
You can have the sfq "problem" if you add mutliple users in the same class.
With the sfq qdisc, each stream (determined by src/dst and port/ip-address)
has the same opportunity to send something. The esfq qdisc can be configured
to only use the src address to create the streams so the each users has his
own little queue. And so they have the same chance to send something.
Or you can create 1 class for each user.
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-04-23 19:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-20 14:37 [LARTC] CBQ.init Emmanuel SIMON
2002-12-20 18:04 ` Stef Coene
2003-04-23 18:58 ` [LARTC] cbq.init larry lefthook
2003-04-23 19:14 ` Stef Coene [this message]
2003-09-09 2:42 ` [LARTC] CBQ.init Mitsuru MIZUTANI
2003-09-09 2:48 ` Rio Martin
2003-09-09 10:36 ` Mitsuru MIZUTANI
2003-09-09 15:16 ` Stef Coene
2003-09-09 18:48 ` Catalin Petrescu
2003-09-09 20:07 ` Mitsuru MIZUTANI
2003-09-10 5:52 ` Raghuveer
2003-09-16 4:08 ` Rio Martin
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-105112537518980@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox