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/
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/
> 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/
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 200kbThe 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/
Dear Does anyone of you know where to find the command line reference for tc? http://linux.bergqvist.se/tc/ is not operative ("unknown host" error) Regards -- Ethy H. Brito /"\ InterNexo Ltda. \ / CAMPANHA DA FITA ASCII - CONTRA MAIL HTML +55 (12) 3941-6860 X ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL S.J.Campos - Brasil / \ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Ethy H. Brito wrote:> Does anyone of you know where to find the command line reference for tc? > http://linux.bergqvist.se/tc/ is not operative ("unknown host" error) >I''ve only ever used the man pages and -help If you really want it online, a man2html version is here: http://annys.eines.info/cgi-bin/man/man2html?tc+8 but for examples, you''re best to look at http://www.docum.org/ or http://lartc.org/howto/ -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Damion de Soto - Software Engineer email: damion@snapgear.com SnapGear --- ph: +61 7 3435 2809 | Custom Embedded Solutions fax: +61 7 3891 3630 | and Security Appliances web: http://www.snapgear.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- Free Embedded Linux Distro at http://www.snapgear.org --- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/