Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] HTB and theory
@ 2002-12-09 17:14 Catalin Bucur
  2002-12-09 18:22 ` Stef Coene
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Catalin Bucur @ 2002-12-09 17:14 UTC (permalink / raw)
  To: lartc

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Let's say that my ISP gives me 5000Kbit guaranteed bandwidth. I'm
starting a HTB traffic shape like this:

tc qdisc add dev eth1 root handle 11: htb  default 99
tc class add dev eth1 parent 11:0 classid 11:1 htb rate 10000Kbit burst
ceil 10000Kbit prio 0
tc class add dev eth1 parent 11:1 classid 11:2 htb rate 5000Kbit ceil
5000Kbit prio 5
[here I have a lot of sub-classes that borrow from parent 11:2]

I'll let HTB to automatically compute the values for 'burst' and
'cburst'. The problem is elsewhere. What are the correct values for
'rate' and 'ceil' of 11:2 class in this case? In fact, total value of
'ceil's from all sub-classes exceeds 5000Kbit, so there are moments when
the bandwidth that comes from my ISP is bigger than guaranteed bandwidth.
Is there some kind a theory that says how to establish the values of
'rate's and 'ceil's from the parent and its sub-classes?

TIA.
- --
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

iD8DBQE99M+LpDe20wwI9oIRArXvAJ0X0/DPxUjSjuS9lcy+IABExW0NSgCeJVgp
mzXkUhmuqLacv+Zq6DJTuCM=VZvr
-----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] 14+ messages in thread

end of thread, other threads:[~2002-12-12 18:32 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-09 17:14 [LARTC] HTB and theory Catalin Bucur
2002-12-09 18:22 ` Stef Coene
2002-12-09 20:27 ` Catalin Bucur
2002-12-09 21:22 ` Stef Coene
2002-12-09 21:45 ` Catalin Bucur
2002-12-09 22:18 ` Abraham van der Merwe
2002-12-10 12:33 ` Stef Coene
2002-12-10 12:40 ` Stef Coene
2002-12-10 13:28 ` Abraham van der Merwe
2002-12-10 21:23 ` Stef Coene
2002-12-12  8:36 ` Abraham van der Merwe
2002-12-12 10:49 ` Stef Coene
2002-12-12 11:19 ` Abraham van der Merwe
2002-12-12 18:32 ` Stef Coene

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox