HTB rate 0kbit
Hello,
I would like to achieve this:
HTB qdisc with many classes. One class shouldn't have guaranteed bandwidth, only ceil bandwidth -> if there is available bandwidth, the this class can use it, but if everybody uses the whole bandwidth it should get any bandwidth.
I tryed this with HTB to set rate to 0 and ceil to the max value
(rate 0kbit ceil 1920kbit) - unfortunately I got error message :(
Is it possible to have this configuration?
Thanks in advance,
Thomas
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thomas Jalsovsky wrote:
| Hello, | | I would like to achieve this: | HTB qdisc with many classes. One class shouldn't have guaranteed | bandwidth, only ceil bandwidth -> if there is available bandwidth, the | this class can use it, but if everybody uses the whole bandwidth it should | get any bandwidth. | I tryed this with HTB to set rate to 0 and ceil to the max value | (rate 0kbit ceil 1920kbit) - unfortunately I got error message :( | | Is it possible to have this configuration?
Seems you have no choice other than set your rate equal with 1Kbit. I've made some tests to configure such a bandwidth, and that was the small rate that I could get it.
- --
Catalin Bucur mailto:[email protected]
NOC @ Genius Network SRL - Galati - Romania
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE+Hu6MpDe20wwI9oIRAlcIAJ9gwT7iYxUZTuswHRZmxQZF0ZEiLACeOLvB KH8kSqsoN2yFJq6d54hq3bE=IXVr
-----END PGP SIGNATURE-----
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
OK, I will use rate 1kbit. Therefore r2q should be 1, right?
Thanks,
Thomas
Quoted 24 lines · Catalin Bucur
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Thomas Jalsovsky wrote:
| Hello, | | I would like to achieve this: | HTB qdisc with many classes. One class shouldn't have guaranteed | bandwidth, only ceil bandwidth -> if there is available bandwidth, the | this class can use it, but if everybody uses the whole bandwidth it should | get any bandwidth. | I tryed this with HTB to set rate to 0 and ceil to the max value | (rate 0kbit ceil 1920kbit) - unfortunately I got error message :( | | Is it possible to have this configuration?Seems you have no choice other than set your rate equal with 1Kbit. I've made some tests to configure such a bandwidth, and that was the small rate that I could get it.
- --
Catalin Bucur mailto:[email protected]
NOC @ Genius Network SRL - Galati - Romania
Quoted 8 lines
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.orgiD8DBQE+Hu6MpDe20wwI9oIRAlcIAJ9gwT7iYxUZTuswHRZmxQZF0ZEiLACeOLvB KH8kSqsoN2yFJq6d54hq3bE> =IXVr
-----END PGP SIGNATURE-----
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hi Thomas!
The smallest rate you can use with r2q=1 is mtu*8 kbit (12kbit in most cases). You can skip r2q and use quantum=125 bytes, but that is probably not such a good idea...
Quoted 43 lines
OK, I will use rate 1kbit. Therefore r2q should be 1, right?
Thanks,
ThomasQuoted 24 lines · Catalin Bucur
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Thomas Jalsovsky wrote:
| Hello, | | I would like to achieve this: | HTB qdisc with many classes. One class shouldn't have guaranteed | bandwidth, only ceil bandwidth -> if there is available bandwidth, the | this class can use it, but if everybody uses the whole bandwidth it should | get any bandwidth. | I tryed this with HTB to set rate to 0 and ceil to the max value | (rate 0kbit ceil 1920kbit) - unfortunately I got error message :( | | Is it possible to have this configuration?Seems you have no choice other than set your rate equal with 1Kbit. I've made some tests to configure such a bandwidth, and that was the small rate that I could get it.
- --
Catalin Bucur mailto:[email protected]
NOC @ Genius Network SRL - Galati - RomaniaQuoted 9 lines
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.orgiD8DBQE+Hu6MpDe20wwI9oIRAlcIAJ9gwT7iYxUZTuswHRZmxQZF0ZEiLACeOLvB KH8kSqsoN2yFJq6d54hq3bE=
=IXVr
-----END PGP SIGNATURE-----_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Signature · 13 lines
Regards Abraham Getting the job done is no excuse for not following the rules. Corollary: Following the rules will not get the job done. ___________________________________________________ Abraham vd Merwe [ZR1BBQ] - Frogfoot Networks P.O. Box 3472, Matieland, Stellenbosch, 7602 Cell: +27 82 565 4451 Http: http://www.frogfoot.net/ Email: [email protected]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Abraham van der Merwe wrote:
| Hi Thomas! | | The smallest rate you can use with r2q=1 is mtu*8 kbit (12kbit in most | cases). You can skip r2q and use quantum5 bytes, but that is probably not | such a good idea... | |>OK, I will use rate 1kbit. Therefore r2q should be 1, right? |> |> Thanks, |> Thomas
The HTB FAQ page from Devik's site says that you should use at least 4kbit for realiable operation of HTB. So it's hard to say what could be the best minimal quantum value in this case. It's not a good ideea to use a value smaller than 1500 bytes, so leave the quantum at this value and ignore the warning messages from syslog, or use the patch against 2.4.20 to skip these type of errors.
- --
Catalin Bucur mailto:[email protected]
NOC @ Genius Network SRL - Galati - Romania
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE+LDU2pDe20wwI9oIRAp/lAJ9OSmRNbHWjFNWIFPZO/S0YfW/LzwCfTygk m2ZZ6Dx+vp8c9UO//LVcwyE=jvbk
-----END PGP SIGNATURE-----
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 15 lines · Catalin Bucur
Abraham van der Merwe wrote:
| Hi Thomas! | | The smallest rate you can use with r2q=1 is mtu*8 kbit (12kbit in most | cases). You can skip r2q and use quantum5 bytes, but that isprobably not
| such a good idea... | |>OK, I will use rate 1kbit. Therefore r2q should be 1, right? |> |> Thanks, |> Thomas
Quoted 6 lines
The HTB FAQ page from Devik's site says that you should use at least 4kbit for realiable operation of HTB. So it's hard to say what could be the best minimal quantum value in this case. It's not a good ideea to use a value smaller than 1500 bytes, so leave the quantum at this value and ignore the warning messages from syslog, or use the patch against 2.4.20 to skip these type of errors.
Quantum must be > 1500 so the internal caculations of htb are good. And 60.000 is the maximum hard coded in htb.
So try to take r2q so
smallest_rate/r2q > 1500
biggest_rate/r2q < 60000
Quatum is only used if you have a parent class that's has remaining bandwidth. I don't know if this is the case in your situation.
Stef
Signature · 8 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/