From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Sun, 16 Nov 2003 17:27:58 +0000 Subject: Re: [LARTC] htb with negative number of tokens Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Sunday 16 November 2003 12:33, Jacek Bilski wrote: > > Why not? Class 1:1 has child classes. These child classes are able to > > send pckets as long as they have tokens. Even if the parent has no > > tokens left, they still can send packets as long as they have tokens. So > > they can drag the parent tokens negative. > > But I don't understand why class 1:1023 has negative tokens? Is this is > > a leaf class ? > > Yes, it's leaf class. I recomiled my kernel and they are again negative. > > Maybe it's something about my kernel? I did some patching: > > kernel 2.4.22 + grsecurity 1.9.12 + patch-o-matic 20030912 (quite lot's > of patches) with htb20030625 patch + imq for 2.4.21 + imqnat + layer7 > 0.4.1a > > iproute2 with layer7 + htb overhead patch > > iptables 1.2.9 + grsecurity 1.2.9 + layer 0.2 + patch-o-matic 20030912 > with htb20030625 patch Kernel is not important. But I just realised that the tokens can be negative. And it's not because a problem that the tokens are negative. > > > (If output isn't enough I can send my script which is quite big, > > > ~14Kbytes) > > > > Can you send us only the tc class/qdisc commands ? > > Sure: > >