tc -s -d explanation
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?)Signature · 5 lines
Damjan Georgievski jabberID: [email protected] _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 12 lines · Damjan
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
Quoted 6 lines
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
Signature · 8 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 3 lines
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
Signature · 5 lines
Damjan Georgievski jabberID: [email protected] _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 11 lines · Damjan
Quoted 4 lines
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
Signature · 8 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/