From: "Oleg R." Date: Thu, 29 Sep 2005 05:44:49 +0000 Subject: Re: [LARTC] Re:Does HTB consider PRIO or not? 3 Message-Id: <008a01c5c4b8$e8376c20$14901ad9@grom> List-Id: References: <002101c5c446$1f502cb0$14901ad9@grom> In-Reply-To: <002101c5c446$1f502cb0$14901ad9@grom> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hello again! Well, i should maybe post everything related to this problem. The class 1:3 which has rate as its father 1:2, just because it is the traffic between the local network and the server itself. I have some services like mail, http, samba which I want to be accessed from local net at maximum speed. Now when you know the details, could this be the real problem ? I remember I deleted one time everything , remained only those two classes , and it was the same thing. I just believe that this problem is caused by a mistake, but I dont know which one. Its interesting, did anyone configure the prio in htb and it worked..?? Andreas, how did you create such a descriptive image..is there a tool or something?? ----- Original Message ----- From: "Andreas Klauer" To: Sent: Wednesday, September 28, 2005 7:42 PM Subject: Re: [LARTC] Re:Does HTB consider PRIO or not? 2 > On Wednesday 28 September 2005 18:03, Oleg R. wrote: > > Well the output is really big . The classes are 1:5 and 1:14... > > Easier readable in this format: > http://img251.imageshack.us/img251/9497/dot6ux.png > > I think it shows the problem very clearly... you have a root class with a > total rate of 10000kbit. This class has a lot of children which have to > share the bandwidth their parent class provides. > > But, the child class shown below the root class (1:3) has a rate of > 10000kbit as well! So this class is already taking all of the available > bandwidth, leaving exactly zero bandwidth for its siblings. However, since > the siblings use rates greater than zero, you could say that the parent > class is over-allocated. > > HTB will compensate in this case, but the results are hard to predict. > And that's probably why you are seeing bandwith distributed in a weird way. > > When creating a class tree, you should make sure that the children class > rates added together match the parent class rate. So in your case, the > root class 1:2 shouldn't have a rate of 10000kbit, but > 10000kbit+2000kbit+192000bit+128000bit*4+... = something alot bigger than > 10000kbit. > > HTH > Andreas > _______________________________________________ > LARTC mailing list > LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc