From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] burstable with tc
Date: Tue, 02 Jul 2002 09:37:05 +0000 [thread overview]
Message-ID: <marc-lartc-102560271024930@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102560103223537@msgid-missing>
Hi,
I suppose you are using CBQ ? You can create more classes to achieve it.
> Something like, giving a user a bandwidth restriction of
> 64Kbps to 256Kbps on a 2Mbps network
Gives :
cbq qdisc
\ bounded class rate = 2Mbps
\ bounded class rate = 256 Kbps
| \ class rate = 64Kbps
\ other class rate = 512 Kbps
\ other class rate = 512 Kbps
\ other class rate = 512 Kbps
\ ...
But I think it will not the give the results where you are looking for.
Or use htb :)
Htb has a ceil parameter to ceil a class so it does exactly what you want.
With rate you can specify the minimum rate and with ceil the maximum rate.
Stef
On Tuesday 02 July 2002 11:09, Rohan Almeida wrote:
> Hi,
> Is it possible to avail of burstable option while
> controlling bandwidth using tc?
> Let me explain.. :-)
> I could successfully allocate an ip(or class) a certain bandwdith
> limit, and without giving a bounded parameter, it borrowed
> bandwidth when available.
> But i also want an upper limit.
> Cause, the lower limit works fine.
> ie. when there are other ips online, this particular ip
> does not go above the lower limit.
> Once the other ips go offlline, this particular ip
> starts borrowing all the "available" bandwdith.
> "available" is the key word here,
> After it starts borrowing bandwdith I also want it
> to have an upper limit.
> Something like, giving a user a bandwidth restriction of
> 64Kbps to 256Kbps on a 2Mbps network.
>
> Thanx
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.openprojects.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:[~2002-07-02 9:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-02 9:21 [LARTC] burstable with tc Rohan Almeida
2002-07-02 9:37 ` Stef Coene [this message]
2002-07-02 10:53 ` Rohan Almeida
2002-07-02 11:54 ` 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-102560271024930@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