burstable with tc
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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hi,
I suppose you are using CBQ ? You can create more classes to achieve it.
Quoted 2 lines
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
Quoted 20 lines · Rohan Almeida
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
Signature · 7 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 1 line · Stef Coene
I suppose you are using CBQ ? You can create more classes to achieve it.
Yes i am using cbq
Quoted 10 lines
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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 10 lines · Rohan Almeida
Quoted 1 line · Stef Coene
I suppose you are using CBQ ? You can create more classes to achieve it.
Yes i am using cbq
Quoted 5 lines
Gives :
cbq qdisc
\ bounded class rate = 2Mbps
\ bounded class rate = 256 Kbps
Quoted 8 lines
Quoted 5 lines
| \ class rate = 64Kbps
\ other class rate = 512 Kbps
\ other class rate = 512 Kbps
\ other class rate = 512 KbpsI'm sorry. I dont understand
Maybe i'll switch to htb
That was the purpose :)
Stef
Signature · 7 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/