From: Jose Luis Domingo Lopez <lartc@24x7linux.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Simple PRIO + TBF at high rates
Date: Tue, 23 Sep 2003 18:59:28 +0000 [thread overview]
Message-ID: <marc-lartc-106434367909803@msgid-missing> (raw)
In-Reply-To: <marc-lartc-106433665931876@msgid-missing>
On Tuesday, 23 September 2003, at 19:02:21 +0200,
Javier Martin wrote:
> I'm trying to slow down http traffic on Gigabit link. The outbound rates on
> that interface range 0 .. 400 Mbit/s and I would like to throttle accurately
> to any rate between these while keeping non-http traffic unthrottled.
>
> What I do is to create a PRIO qdisc with the 3 usual bands (default prio
> mask) and a 4th band with a TBF attached with the desired rate. Like this
> (for 300 mbit/s):
>
Well, I am in no way an expert, but it seems to me that you could use
simply HTB on your outgoing ethernet link, create a class with rate
equal to ceil and equal to the greater bandwidth you will ever HTTP
allow to eat. Create another class to be the default one and let it grow
up to your link's bandwidth borrowing from HTTP traffic when there is
not 400 Mbps of them.
Then create a couple of filters to send traffic to the correct classes
and, maybe, attach a "sfq" qdisc to your HTTP and default leaves to
guarantee fairness for individual connections.
Hope it helps.
--
Jose Luis Domingo Lopez
Linux Registered User #189436 Debian Linux Sid (Linux 2.6.0-test5-mm3)
_______________________________________________
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-09-23 18:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-23 17:02 [LARTC] Simple PRIO + TBF at high rates Javier Martin
2003-09-23 18:59 ` Jose Luis Domingo Lopez [this message]
2003-09-25 13:02 ` Javier 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-106434367909803@msgid-missing \
--to=lartc@24x7linux.com \
--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.