* [LARTC] negative token/ctokens
@ 2006-03-08 13:46 Andreas Hasenack
2006-03-15 3:54 ` gypsy
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Hasenack @ 2006-03-08 13:46 UTC (permalink / raw)
To: lartc
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
class prio 30:1 parent 30:
class prio 30:2 parent 30:
class prio 30:3 parent 30:
What does it mean when the leaf 1:2 class has a negative token/ctoken count?
I'm generating this traffic with a "wget --limit-rateP00" command.
My understanding is that this indicates the number of tokens available for
burst traffic, is that correct? How did it become negative? I thought that
when the bucket is empty, traffic is delayed until a token shows up, or
eventually dropped.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] negative token/ctokens
2006-03-08 13:46 [LARTC] negative token/ctokens Andreas Hasenack
@ 2006-03-15 3:54 ` gypsy
0 siblings, 0 replies; 2+ messages in thread
From: gypsy @ 2006-03-15 3:54 UTC (permalink / raw)
To: lartc
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-03-15 3:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-08 13:46 [LARTC] negative token/ctokens Andreas Hasenack
2006-03-15 3:54 ` gypsy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox