From mboxrd@z Thu Jan 1 00:00:00 1970 From: gypsy Date: Wed, 15 Mar 2006 03:54:17 +0000 Subject: Re: [LARTC] negative token/ctokens Message-Id: <44178FE9.B25CAA30@iswest.com> List-Id: References: <200603081046.51747.ahasenack@terra.com.br> In-Reply-To: <200603081046.51747.ahasenack@terra.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Andreas Hasenack wrote: > > In this simple htb setup: > # tc -s -d class ls dev eth0 > class htb 1:1 root rate 300000bit ceil 300000bit burst 1749b/8 mpu 0b overhead > 0b cburst 1749b/8 mpu 0b overhead 0b level 7 > Sent 13171835 bytes 13169 pkt (dropped 0, overlimits 0 requeues 0) > rate 45848bit 10pps backlog 0b 0p requeues 0 > lended: 5272 borrowed: 0 giants: 0 > tokens: -84429 ctokens: -84429 > > class htb 1:2 parent 1:1 prio 0 quantum 1500 rate 80000bit ceil 300000bit > burst 1639b/8 mpu 0b overhead 0b cburst 1749b/8 mpu 0b overhead 0b level 0 > Sent 12243472 bytes 8787 pkt (dropped 0, overlimits 0 requeues 0) > rate 43264bit 6pps backlog 0b 0p requeues 0 > lended: 3515 borrowed: 5272 giants: 0 > tokens: -181860 ctokens: -86779 > > class htb 1:3 parent 1:1 leaf 30: prio 0 quantum 2750 rate 220000bit ceil > 300000bit burst 1709b/8 mpu 0b overhead 0b cburst 1749b/8 mpu 0b overhead 0b > level 0 > Sent 928363 bytes 4382 pkt (dropped 0, overlimits 0 requeues 0) > rate 3400bit 4pps backlog 0b 0p requeues 0 > lended: 4382 borrowed: 0 giants: 0 > tokens: 61291 ctokens: 46039 > > What does it mean when the leaf 1:2 class has a negative token/ctoken count? Maybe this will help: http://www.docum.org/docum.org/docs/htb/ -- gypsy _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc