* [LARTC] burstable with tc
@ 2002-07-02 9:21 Rohan Almeida
2002-07-02 9:37 ` Stef Coene
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Rohan Almeida @ 2002-07-02 9:21 UTC (permalink / raw)
To: lartc
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
--
arc_of_descent
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] burstable with tc
2002-07-02 9:21 [LARTC] burstable with tc Rohan Almeida
@ 2002-07-02 9:37 ` Stef Coene
2002-07-02 10:53 ` Rohan Almeida
2002-07-02 11:54 ` Stef Coene
2 siblings, 0 replies; 4+ messages in thread
From: Stef Coene @ 2002-07-02 9:37 UTC (permalink / raw)
To: lartc
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] burstable with tc
2002-07-02 9:21 [LARTC] burstable with tc Rohan Almeida
2002-07-02 9:37 ` Stef Coene
@ 2002-07-02 10:53 ` Rohan Almeida
2002-07-02 11:54 ` Stef Coene
2 siblings, 0 replies; 4+ messages in thread
From: Rohan Almeida @ 2002-07-02 10:53 UTC (permalink / raw)
To: lartc
Stef Coene wrote:
> I suppose you are using CBQ ? You can create more classes to achieve it.
Yes i am using cbq
> 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
I'm sorry. I dont understand
Maybe i'll switch to htb
Thanx
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] burstable with tc
2002-07-02 9:21 [LARTC] burstable with tc Rohan Almeida
2002-07-02 9:37 ` Stef Coene
2002-07-02 10:53 ` Rohan Almeida
@ 2002-07-02 11:54 ` Stef Coene
2 siblings, 0 replies; 4+ messages in thread
From: Stef Coene @ 2002-07-02 11:54 UTC (permalink / raw)
To: lartc
On Tuesday 02 July 2002 12:41, Rohan Almeida wrote:
> Stef Coene wrote:
> > I suppose you are using CBQ ? You can create more classes to achieve it.
>
> Yes i am using cbq
>
> > 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
>
> I'm sorry. I dont understand
> Maybe i'll switch to htb
That was the purpose :)
Stef
--
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-07-02 11:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-02 9:21 [LARTC] burstable with tc Rohan Almeida
2002-07-02 9:37 ` Stef Coene
2002-07-02 10:53 ` Rohan Almeida
2002-07-02 11:54 ` Stef Coene
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.