* [LARTC] tc -s -d explanation
@ 2003-09-11 10:44 Damjan
2003-09-11 17:10 ` Stef Coene
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Damjan @ 2003-09-11 10:44 UTC (permalink / raw)
To: lartc
I want to understand the output of the "tc -s -d ..." command.
Can someone explain in detail what this means:
class htb 1:100 parent 1:10 prio 0 quantum 1000 rate 40Kbit ceil 40Kbit
burst 1000Kb/8 mpu 0b cburst 1000Kb/8 mpu 0b level 0
Sent 3733691 bytes 2658 pkts (dropped 0, overlimits 0)
rate 48525bps 34pps
lended: 2658 borrowed: 0 giants: 0
tokens: -59999999 ctokens: -59999999
I want to know what is:
quantum 1000
burst 1000Kb/8 (whats the /8)
mpu 0b
level 0
tokens: -59999999 ctokens: -59999999 (what does this mean?)
--
Damjan Georgievski
jabberID: damjan@bagra.net.mk
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] tc -s -d explanation
2003-09-11 10:44 [LARTC] tc -s -d explanation Damjan
@ 2003-09-11 17:10 ` Stef Coene
2003-09-11 19:09 ` Damjan
2003-09-12 17:00 ` Stef Coene
2 siblings, 0 replies; 4+ messages in thread
From: Stef Coene @ 2003-09-11 17:10 UTC (permalink / raw)
To: lartc
On Thursday 11 September 2003 12:44, Damjan wrote:
> I want to understand the output of the "tc -s -d ..." command.
> Can someone explain in detail what this means:
>
> class htb 1:100 parent 1:10 prio 0 quantum 1000 rate 40Kbit ceil 40Kbit
> burst 1000Kb/8 mpu 0b cburst 1000Kb/8 mpu 0b level 0
> Sent 3733691 bytes 2658 pkts (dropped 0, overlimits 0)
> rate 48525bps 34pps
> lended: 2658 borrowed: 0 giants: 0
> tokens: -59999999 ctokens: -59999999
>
>
>
> I want to know what is:
> quantum 1000
> burst 1000Kb/8 (whats the /8)
> mpu 0b
> level 0
> tokens: -59999999 ctokens: -59999999 (what does this mean?)
I have some more info on the faq page on docum.org.
But the -59999999 is very strange. Can you post all your tc commands? And
also check out your kernel log files for errors.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] tc -s -d explanation
2003-09-11 10:44 [LARTC] tc -s -d explanation Damjan
2003-09-11 17:10 ` Stef Coene
@ 2003-09-11 19:09 ` Damjan
2003-09-12 17:00 ` Stef Coene
2 siblings, 0 replies; 4+ messages in thread
From: Damjan @ 2003-09-11 19:09 UTC (permalink / raw)
To: lartc
> I have some more info on the faq page on docum.org.
> But the -59999999 is very strange. Can you post all your tc commands? And
> also check out your kernel log files for errors.
:) I guess it because of the big burst buffer:
tc qdisc add $LAN root handle 1: htb default 0
tc class add $LAN classid 1:1 parent 1: htb rate 100Mbit
tc class add $LAN classid 1:10 parent 1:1 htb rate 80kbit
tc class add $LAN classid 1:100 parent 1:10 htb rate 40kbit burst 200kb cburst 200kb
--
Damjan Georgievski
jabberID: damjan@bagra.net.mk
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] tc -s -d explanation
2003-09-11 10:44 [LARTC] tc -s -d explanation Damjan
2003-09-11 17:10 ` Stef Coene
2003-09-11 19:09 ` Damjan
@ 2003-09-12 17:00 ` Stef Coene
2 siblings, 0 replies; 4+ messages in thread
From: Stef Coene @ 2003-09-12 17:00 UTC (permalink / raw)
To: lartc
On Thursday 11 September 2003 21:09, Damjan wrote:
> > I have some more info on the faq page on docum.org.
> > But the -59999999 is very strange. Can you post all your tc commands?
> > And also check out your kernel log files for errors.
> >
> :) I guess it because of the big burst buffer:
>
> tc qdisc add $LAN root handle 1: htb default 0
> tc class add $LAN classid 1:1 parent 1: htb rate 100Mbit
> tc class add $LAN classid 1:10 parent 1:1 htb rate 80kbit
> tc class add $LAN classid 1:100 parent 1:10 htb rate 40kbit burst 200kb
> cburst 200kb
The bursts are there for small burst, not for big burst like you did. And
yes, then can be the cause of the strange tokens and ctokens.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-09-12 17:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-11 10:44 [LARTC] tc -s -d explanation Damjan
2003-09-11 17:10 ` Stef Coene
2003-09-11 19:09 ` Damjan
2003-09-12 17:00 ` Stef Coene
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.