From mboxrd@z Thu Jan 1 00:00:00 1970 From: Abraham van der Merwe Date: Thu, 12 Dec 2002 08:36:06 +0000 Subject: Re: [LARTC] HTB and theory MIME-Version: 1 Content-Type: multipart/mixed; boundary="3MwIy2ne0vdjdPXF" Message-Id: List-Id: References: In-Reply-To: To: lartc@vger.kernel.org --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Stef! > > > > How does this influence the shaping results and the shaping of other > > > > classes? I've actually asked a similar question before: If you have > > > > > > > > 1:1 > > > > / \ > > > > / \ > > > > 1:2 1:3 > > > > /|\ \------ > > > > / | \ \ \ > > > > 1:4 1:5 1:6 1:7 1:8 > > > > > > > > if 1:7 and 1:8 respects the rate/ceil of 1:3 and 1:3 respects the > > > > rate/ceil of 1:1, but 1:4 does not respect the rate/ceil of 1:2 and= 1:2 > > > > respects the rate/ceil of 1:1, does the shaping of 1:3 work as norm= al > > > > and only those classes under 1:2 are adversely affected or not? from > > > > your previous answer, it seems that the classes under 1:3 would not= be > > > > affected, but I would love to know why. what happens with 1:4 reque= sts > > > > some bandwidth which 1:2 does not have... > > > > > > It's easier if you add some numbers of ceil/rate to understand the > > > question. > > > > > > I'm going to create an extra page on www.docum.org with your questions > > > and my answer to explain how rate and ceil of classes and parent clas= ses > > > are used. Ok? > > > > That would be great, thanks > I wrote some more information about ceil and rate. You can find it on th= e faq=20 > page on www.docum.org under "Basic rules for traffic shaping with HTB". = If=20 > you have more questions, let me know and I will try to answer them. > Remember, htb will work if you don't follow this rule. But it will be le= ss=20 > obviuos to figure out how the bandwidth will be distributed. I think your explanation of "rate of class" in your FAQ is wrong. it caught me as well, but from devik's faq page (http://luxik.cdi.cz/~devik/qos/htb/htbfaq.htm): ------------< snip <------< snip <------< snip <------------ What if sum of child rates is greater than parent rate ? Then interesting things can happen. Total rate delivered by children can be higher that parent's rate (thus its rate is not respected). However when sum of actual child rates are under parent's rate then borrowing will occur like in regular case. ------------< snip <------< snip <------< snip <------------ Thus, if sum (rate of childs) > parent rate, then the parent rate is _not respected_. --=20 Regards Abraham An American's a person who isn't afraid to criticize the president but is always polite to traffic cops. ___________________________________________________ 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 --3MwIy2ne0vdjdPXF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.5 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9+Ep20jJV70h31dERAmCRAJ99UgrYrgaeP1nZpZOLnUdTiUFIDQCgkIn5 /xrts2JauI2L7KS8uyZhRzY= =ii4O -----END PGP SIGNATURE----- --3MwIy2ne0vdjdPXF-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/