From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Thu, 27 Jan 2005 08:24:47 +0000 Subject: Re: [LARTC] negative tokens Message-Id: <200501270924.48056.stef.coene@docum.org> List-Id: References: <3cfad9ca0501262342794e99e4@mail.gmail.com> In-Reply-To: <3cfad9ca0501262342794e99e4@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org On Thursday 27 January 2005 08:42, Denis Kot wrote: > I have this: > class htb 1:29 parent 1:1 prio 0 rate 3000bit ceil 100000bit burst > 1599b cburst 1611b > Sent 33233 bytes 772 pkts (dropped 0, overlimits 0) > lended: 415 borrowed: 357 giants: 0 > tokens: -3756376 ctokens: 128779 > > or this: > class htb 1:21 parent 1:1 prio 0 rate 3000bit ceil 100000bit burst > 1599b cburst 1611b > Sent 57554 bytes 618 pkts (dropped 0, overlimits 0) > lended: 193 borrowed: 425 giants: 0 > tokens: -484950 ctokens: 128779 > > and there is more like this > what=B4s wrong? Nothing. To understand what's going on, I need the tc commands you use to create the= =20 htb classes. > this is class for imq0 device (for me this is ingres device) and I have > this: imq0 Link encap:UNSPEC HWaddr > 00-00-00-FF-FF-00-00-00-00-00-00-00-00-00-00-00 > UP RUNNING NOARP MTU:1500 Metric:1 > RX packets:131111 errors:0 dropped:0 overruns:0 frame:0 > TX packets:123371 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:30 > RX bytes:17694200 (16.8 Mb) TX bytes:15230834 (14.5 Mb) > > as you can see RX bytes doesn=B4t equal to TX bytes. what=B4s wrong? That means that some packets are dropped because you shape on that interfac= e. Stef _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/