From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jacek Bilski Date: Sun, 16 Nov 2003 11:33:06 +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 Hello! On nie, 2003-11-16 at 12:09, Stef Coene wrote: > > 1. Why do I have negative number of tokens in some classes, especially > > 1:1 ? I don't think it should be possible. > 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 > > (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: Greetings -- --= Jacek "Dino" Bilski =-- --= Registered Linux User #165468 =-- --= dino@camelot.homedns.org =-- --= GG# 3484913 =-- -= 1024D/5B44CFBE 2228 3F73 A678 81C3 4ABE 2617 C77C AE70 5B44 CFBE =- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/