* [LARTC] HTB rate 0kbit
@ 2003-01-10 12:12 Thomas Jalsovsky
2003-01-10 16:02 ` Catalin Bucur
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Thomas Jalsovsky @ 2003-01-10 12:12 UTC (permalink / raw)
To: lartc
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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [LARTC] HTB rate 0kbit
2003-01-10 12:12 [LARTC] HTB rate 0kbit Thomas Jalsovsky
@ 2003-01-10 16:02 ` Catalin Bucur
2003-01-20 8:55 ` Thomas Jalsovsky
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Catalin Bucur @ 2003-01-10 16:02 UTC (permalink / raw)
To: lartc
-----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:cata@geniusnet.ro
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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [LARTC] HTB rate 0kbit
2003-01-10 12:12 [LARTC] HTB rate 0kbit Thomas Jalsovsky
2003-01-10 16:02 ` Catalin Bucur
@ 2003-01-20 8:55 ` Thomas Jalsovsky
2003-01-20 11:52 ` Abraham van der Merwe
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Thomas Jalsovsky @ 2003-01-20 8:55 UTC (permalink / raw)
To: lartc
OK, I will use rate 1kbit. Therefore r2q should be 1, right?
Thanks,
Thomas
On Fri, 10 Jan 2003, Catalin Bucur wrote:
> -----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:cata@geniusnet.ro
> 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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [LARTC] HTB rate 0kbit
2003-01-10 12:12 [LARTC] HTB rate 0kbit Thomas Jalsovsky
2003-01-10 16:02 ` Catalin Bucur
2003-01-20 8:55 ` Thomas Jalsovsky
@ 2003-01-20 11:52 ` Abraham van der Merwe
2003-01-20 17:43 ` Catalin Bucur
2003-01-20 17:54 ` Stef Coene
4 siblings, 0 replies; 6+ messages in thread
From: Abraham van der Merwe @ 2003-01-20 11:52 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 2087 bytes --]
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...
> OK, I will use rate 1kbit. Therefore r2q should be 1, right?
>
> Thanks,
> Thomas
>
> On Fri, 10 Jan 2003, Catalin Bucur wrote:
>
> > -----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:cata@geniusnet.ro
> > 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 / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
--
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: abz@frogfoot.net
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [LARTC] HTB rate 0kbit
2003-01-10 12:12 [LARTC] HTB rate 0kbit Thomas Jalsovsky
` (2 preceding siblings ...)
2003-01-20 11:52 ` Abraham van der Merwe
@ 2003-01-20 17:43 ` Catalin Bucur
2003-01-20 17:54 ` Stef Coene
4 siblings, 0 replies; 6+ messages in thread
From: Catalin Bucur @ 2003-01-20 17:43 UTC (permalink / raw)
To: lartc
-----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 quantum\x125 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:cata@geniusnet.ro
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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [LARTC] HTB rate 0kbit
2003-01-10 12:12 [LARTC] HTB rate 0kbit Thomas Jalsovsky
` (3 preceding siblings ...)
2003-01-20 17:43 ` Catalin Bucur
@ 2003-01-20 17:54 ` Stef Coene
4 siblings, 0 replies; 6+ messages in thread
From: Stef Coene @ 2003-01-20 17:54 UTC (permalink / raw)
To: lartc
On Monday 20 January 2003 18:43, Catalin Bucur wrote:
> 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 quantum\x125 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.
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
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-01-20 17:54 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-10 12:12 [LARTC] HTB rate 0kbit Thomas Jalsovsky
2003-01-10 16:02 ` Catalin Bucur
2003-01-20 8:55 ` Thomas Jalsovsky
2003-01-20 11:52 ` Abraham van der Merwe
2003-01-20 17:43 ` Catalin Bucur
2003-01-20 17: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.