I've attached outputs for eth0 and eth1. I was trying to get this script running. I've added one class for my NATed BOX, and it helped. Shaping was stable almost one day but then i added "prio 0" to eth0 filters and prio 0 for eth1 filters it has braken. So i removed every "prio 0" and reboot the box but it didnt helped :(. I've noticed that when the traffic is not much (14 hosts from 50 are up) tc/htb works very well. If you want new version of my script say a word. ----- Original Message ----- From: "devik" <devik@xxxxxx> To: <mjoachimiak@xxxxxxxxxxxxxx> Sent: Thursday, July 22, 2004 3:48 PM Subject: Re: HTB 3.13 please help > I need > tc -s -d class show dev xxx > output during that non-working period. 3.6 is older than 3.13. > > ------------------------------- > Martin Devera aka devik > Linux kernel QoS/HTB maintainer > http://luxik.cdi.cz/~devik/ > > On Wed, 21 Jul 2004 mjoachimiak@xxxxxxxxxxxxxx wrote: > > > Thanks for your reply. I've recent put my problem on lartc list. I'm using > > htb 3.13 in 2-4-25smp. > > I wonder if upgrade to 3.6 will help? Could you be so kind and take a look > > at it. I'll be grateful. > > If you have no time for me i'll understand and try to resolve it for myself. > > Thanks. > > > > Hello everybody! > > Since week i dig lists and www and can't find solution for my problem. > > I'm using HTB 3.13 kernel 2-4-25 smp iptables 1.2.9. > > I've got situation like this: > > > > LAN------Linux Box(routing only)------- Linux Box > > (HTB)--------------Hardware Router(say:HD)------Internet > > When I start HTB it takes about 5 min. to start working and it works... > > within this 5min starting i can't ping HD and after about 5min I start > > pinging. It works like this for cuple of hours, then something strange is > > happening. Ping stops, www doesn't work but radio (36kbps) (from clients) > > works. There is no ping at all for about 1min and it starts pinging for > > about 2-3min and it stops for 1-2min and so on..... > > When I stop HTB ping starts. It's look like HTB is filled to much(sorry for > > my english :/) > > All my children classes rate doesn't exceeds root classes. I have 50 classes > > on 900kbit-10kbit(for default class) - downstream and 800-10kbit(for > > default) up. > > I shape bandwidth matching ip. r2q is set to 1 . no erros during doing shape > > script. > > I'm attaching this script > > in ip1 is file where are written ip's for C classes. > > > > I'm including my script. > > ---------------------------------------------------cut > > here ----------------------------------------------------------------------- > > ------------ > > #!/bin/bash > > #x=$[100/20] > > #echo "$1" > /skrytpy/status > > rxmax=900 #WAN max transfer -down (physically it is 960kbit/960kbit) > > kbit=kbit > > rxmaxluser=250 > > txmax=800 #WAN max transfer - up > > txmaxluser=100 > > #counting users > > # ip1 file is like this: > > # 11 #Somebody > > # 23 #Somebody II > > #EOF > > licznik=0 > > for x in $(awk '{ print $1 }' /skrytpy/ip1); do > > licznik=$[$licznik+1] > > done > > > > > > #Server > > licznik=$[$licznik+1] > > #plus router > > licznik=$[$licznik+1] > > > > echo number of users to $licznik > > #counting rate > > rx1=$[$rxmax-10] > > tx1=$[$txmax-10] # dla klasy domyslnej > > rxmin=$[$rx1/$licznik] > > txmin=$[$tx1/$licznik] > > echo rx $rxmin tx $txmin > > #echo $rxmin > > #root classes > > #rx > > tc qdisc del root dev eth1 > > tc qdisc add dev eth1 root handle 1:0 htb r2q 1 default 2 > > tc class add dev eth1 parent 1:0 classid 1:1 htb rate $rxmax$kbit ceil > > $rxmax$kbit > > #tx > > tc qdisc del root dev eth0 > > tc qdisc add dev eth0 root handle 2:0 htb r2q 1 default 4 > > tc class add dev eth0 parent 2:0 classid 2:1 htb rate $txmax$kbit ceil > > $txmax$kbit > > #r="$rxmax$kbit" > > #default classes > > #rx > > tc class add dev eth1 parent 1:1 classid 1:2 htb rate 10kbit ceil 10kbit > > #tx > > tc class add dev eth0 parent 2:1 classid 2:4 htb rate 10kbit ceil 10kbit > > #siec 1.0 > > siec=1 > > for ip in $(awk '{ print $1 }' /skrytpy/ip1); do > > echo -n "$ip " > > #rx > > tc class add dev eth1 parent 1:1 classid 1:$ip htb rate $rxmin$kbit ceil > > $rxmaxluser$kbit > > tc filter add dev eth1 protocol ip parent 1:0 u32 match ip dst > > 192.168.$siec.$ip flowid 1:$ip > > tc qdisc add dev eth1 parent 1:$ip handle $ip:0 sfq perturb 10 > > #tx > > #marking packets > > iptables -t mangle -A MYSHAPER-OUT -p tcp -s 192.168.$siec.$ip -j > > MARK --set-mark $ip > > #tc > > tc class add dev eth0 parent 2:1 classid 2:$ip htb rate $txmin$kbit ceil > > $txmaxluser$kbit > > #filtering by mark > > tc filter add dev eth0 protocol ip preference 1 parent 2:0 handle $ip fw > > flowid 2:$ip > > tc qdisc add dev eth0 parent 2:$ip handle $ip:1 sfq perturb 10 > > done > > echo "" > > > > --------------------------------------------------------------------cut > > here ------------------------------------------------------------------ > > > > > > >
#this is tc class -s -d show dev eth1 class htb 1:11 parent 1:1 leaf 11: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:22 parent 1:1 leaf 22: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:55 parent 1:1 leaf 55: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:99 parent 1:1 leaf 99: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:33 parent 1:1 leaf 33: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:44 parent 1:1 leaf 44: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:189 parent 1:1 leaf 189: prio 0 quantum 2176 rate 17Kbit ceil 128Kbit burst 1620b/8 mpu 0b cburst 1762b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 88149 class htb 1:1 root rate 900Kbit ceil 900Kbit burst 2751b/8 mpu 0b cburst 2751b/8 mpu 0b level 7 Sent 1187353 bytes 1867 pkts (dropped 0, overlimits 0) rate 2505bps 13pps lended: 806 borrowed: 0 giants: 0 tokens: 19229 ctokens: 19229 class htb 1:10 parent 1:1 leaf 10: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:23 parent 1:1 leaf 23: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:32 parent 1:1 leaf 32: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:54 parent 1:1 leaf 54: prio 0 quantum 2176 rate 17Kbit ceil 64Kbit burst 1620b/8 mpu 0b cburst 1680b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 168099 class htb 1:2 parent 1:1 prio 0 quantum 1280 rate 10Kbit ceil 10Kbit burst 1611b/8 mpu 0b cburst 1611b/8 mpu 0b level 0 Sent 4186 bytes 54 pkts (dropped 0, overlimits 0) rate 1bps lended: 54 borrowed: 0 giants: 0 tokens: 1006080 ctokens: 1006080 class htb 1:20 parent 1:1 leaf 20: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:64 parent 1:1 leaf 64: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:31 parent 1:1 leaf 31: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 814 bytes 14 pkts (dropped 0, overlimits 0) rate 4bps lended: 14 borrowed: 0 giants: 0 tokens: 561714 ctokens: 47924 class htb 1:57 parent 1:1 leaf 57: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:12 parent 1:1 leaf 12: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 63905 bytes 148 pkts (dropped 0, overlimits 0) rate 499bps 1pps lended: 130 borrowed: 18 giants: 0 tokens: 288000 ctokens: 27239 class htb 1:30 parent 1:1 leaf 30: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:56 parent 1:1 leaf 56: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:131 parent 1:1 leaf 131: prio 0 quantum 2176 rate 17Kbit ceil 400Kbit burst 1620b/8 mpu 0b cburst 2111b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 33792 class htb 1:3 parent 1:1 leaf 3: prio 0 quantum 2176 rate 17Kbit ceil 200Kbit burst 1620b/8 mpu 0b cburst 1855b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 59392 class htb 1:15 parent 1:1 leaf 15: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 25529 bytes 286 pkts (dropped 0, overlimits 0) rate 367bps 4pps lended: 286 borrowed: 0 giants: 0 tokens: 592189 ctokens: 47924 class htb 1:26 parent 1:1 leaf 26: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:37 parent 1:1 leaf 37: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:40 parent 1:1 leaf 40: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 2373 bytes 22 pkts (dropped 0, overlimits 0) rate 8bps lended: 22 borrowed: 0 giants: 0 tokens: 553522 ctokens: 47924 class htb 1:150 parent 1:1 leaf 150: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:27 parent 1:1 leaf 27: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 4967 bytes 59 pkts (dropped 0, overlimits 0) rate 52bps lended: 59 borrowed: 0 giants: 0 tokens: 592189 ctokens: 47924 class htb 1:36 parent 1:1 leaf 36: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:41 parent 1:1 leaf 41: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:50 parent 1:1 leaf 50: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:151 parent 1:1 leaf 151: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:137 parent 1:1 leaf 137: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:140 parent 1:1 leaf 140: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 3994 bytes 49 pkts (dropped 0, overlimits 0) rate 32bps lended: 49 borrowed: 0 giants: 0 tokens: 583153 ctokens: 47309 class htb 1:17 parent 1:1 leaf 17: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:24 parent 1:1 leaf 24: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:35 parent 1:1 leaf 35: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:42 parent 1:1 leaf 42: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:152 parent 1:1 leaf 152: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 1169 bytes 16 pkts (dropped 0, overlimits 0) rate 5bps lended: 16 borrowed: 0 giants: 0 tokens: 529550 ctokens: 47924 class htb 1:53 parent 1:1 leaf 53: prio 0 quantum 2176 rate 17Kbit ceil 128Kbit burst 1620b/8 mpu 0b cburst 1762b/8 mpu 0b level 0 Sent 1130 bytes 15 pkts (dropped 0, overlimits 0) rate 11bps lended: 15 borrowed: 0 giants: 0 tokens: 563397 ctokens: 82150 class htb 1:25 parent 1:1 leaf 25: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 895 bytes 13 pkts (dropped 0, overlimits 0) rate 27bps lended: 13 borrowed: 0 giants: 0 tokens: 556047 ctokens: 45466 class htb 1:34 parent 1:1 leaf 34: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:61 parent 1:1 leaf 61: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:8 parent 1:1 leaf 8: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 1078349 bytes 1190 pkts (dropped 0, overlimits 0) rate 2268bps 8pps lended: 402 borrowed: 788 giants: 0 tokens: 592189 ctokens: 47924 class htb 1:80 parent 1:1 leaf 80: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:9 parent 1:1 leaf 9: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:81 parent 1:1 leaf 81: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:28 parent 1:1 leaf 28: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:39 parent 1:1 leaf 39: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:82 parent 1:1 leaf 82: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:138 parent 1:1 leaf 138: prio 0 quantum 2176 rate 17Kbit ceil 400Kbit burst 1620b/8 mpu 0b cburst 2111b/8 mpu 0b level 0 Sent 42 bytes 1 pkts (dropped 0, overlimits 0) lended: 1 borrowed: 0 giants: 0 tokens: 595200 ctokens: 33153 class htb 1:59 parent 1:1 leaf 59: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152 class htb 1:58 parent 1:1 leaf 58: prio 0 quantum 2176 rate 17Kbit ceil 250Kbit burst 1620b/8 mpu 0b cburst 1919b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 610258 ctokens: 49152
#this is tc show class -s -d dev eth0 class htb 2:11 parent 2:1 leaf 11: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:22 parent 2:1 leaf 22: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:55 parent 2:1 leaf 55: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 1380 bytes 10 pkts (dropped 0, overlimits 0) rate 10bps lended: 10 borrowed: 0 giants: 0 tokens: 670293 ctokens: 107520 class htb 2:99 parent 2:1 leaf 99: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:33 parent 2:1 leaf 33: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:44 parent 2:1 leaf 44: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:189 parent 2:1 leaf 189: prio 0 quantum 1920 rate 15Kbit ceil 64Kbit burst 1618b/8 mpu 0b cburst 1680b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 168099 class htb 2:1 root rate 800Kbit ceil 800Kbit burst 2623b/8 mpu 0b cburst 2623b/8 mpu 0b level 7 Sent 731542 bytes 1555 pkts (dropped 0, overlimits 0) rate 12334bps 24pps lended: 614 borrowed: 0 giants: 0 tokens: -3198 ctokens: -3198 class htb 2:10 parent 2:1 leaf 10: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:23 parent 2:1 leaf 23: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:32 parent 2:1 leaf 32: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:54 parent 2:1 leaf 54: prio 0 quantum 1920 rate 15Kbit ceil 20Kbit burst 1618b/8 mpu 0b cburst 1624b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 519999 class htb 2:20 parent 2:1 leaf 20: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:64 parent 2:1 leaf 64: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:31 parent 2:1 leaf 31: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:57 parent 2:1 leaf 57: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:12 parent 2:1 leaf 12: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:30 parent 2:1 leaf 30: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 275 bytes 5 pkts (dropped 0, overlimits 0) rate 3bps lended: 5 borrowed: 0 giants: 0 tokens: 670293 ctokens: 107520 burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 275 bytes 5 pkts (dropped 0, overlimits 0) rate 3bps lended: 5 borrowed: 0 giants: 0 tokens: 670293 ctokens: 107520 class htb 2:56 parent 2:1 leaf 56: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:131 parent 2:1 leaf 131: prio 0 quantum 1920 rate 15Kbit ceil 256Kbit burst 1618b/8 mpu 0b cburst 1926b/8 mpu 0b level 0 Sent 486 bytes 9 pkts (dropped 0, overlimits 0) rate 5bps lended: 9 borrowed: 0 giants: 0 tokens: 670293 ctokens: 46975 class htb 2:3 parent 2:1 leaf 3: prio 0 quantum 1920 rate 15Kbit ceil 256Kbit burst 1618b/8 mpu 0b cburst 1926b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 48174 class htb 2:4 parent 2:1 prio 0 quantum 1280 rate 10Kbit ceil 10Kbit burst 1611b/8 mpu 0b cburst 1611b/8 mpu 0b level 0 Sent 125966 bytes 920 pkts (dropped 0, overlimits 0) rate 1158bps 5pps backlog 530p lended: 390 borrowed: 0 giants: 0 tokens: -1267200 ctokens: -1267200 class htb 2:15 parent 2:1 leaf 15: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 29386 bytes 291 pkts (dropped 0, overlimits 0) rate 389bps 4pps lended: 285 borrowed: 6 giants: 0 tokens: 45653 ctokens: 13824 class htb 2:26 parent 2:1 leaf 26: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:37 parent 2:1 leaf 37: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:40 parent 2:1 leaf 40: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:150 parent 2:1 leaf 150: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:27 parent 2:1 leaf 27: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 3084 bytes 50 pkts (dropped 0, overlimits 0) rate 25bps lended: 50 borrowed: 0 giants: 0 tokens: 666881 ctokens: 107008 class htb 2:36 parent 2:1 leaf 36: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:41 parent 2:1 leaf 41: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:50 parent 2:1 leaf 50: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:151 parent 2:1 leaf 151: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:137 parent 2:1 leaf 137: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:140 parent 2:1 leaf 140: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 645613 bytes 757 pkts (dropped 0, overlimits 0) rate 86Kbit 12pps backlog 26p lended: 123 borrowed: 608 giants: 0 tokens: -858183 ctokens: -190976 class htb 2:17 parent 2:1 leaf 17: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:24 parent 2:1 leaf 24: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:35 parent 2:1 leaf 35: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:42 parent 2:1 leaf 42: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:152 parent 2:1 leaf 152: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:53 parent 2:1 leaf 53: prio 0 quantum 1920 rate 15Kbit ceil 64Kbit burst 1618b/8 mpu 0b cburst 1680b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 168099 class htb 2:25 parent 2:1 leaf 25: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 408 bytes 7 pkts (dropped 0, overlimits 0) rate 4bps lended: 7 borrowed: 0 giants: 0 tokens: 584961 ctokens: 94720 class htb 2:34 parent 2:1 leaf 34: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:61 parent 2:1 leaf 61: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:8 parent 2:1 leaf 8: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:80 parent 2:1 leaf 80: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:9 parent 2:1 leaf 9: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:81 parent 2:1 leaf 81: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 6230 bytes 62 pkts (dropped 0, overlimits 0) rate 108bps lended: 62 borrowed: 0 giants: 0 tokens: 670293 ctokens: 107520 class htb 2:28 parent 2:1 leaf 28: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:39 parent 2:1 leaf 39: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:82 parent 2:1 leaf 82: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:138 parent 2:1 leaf 138: prio 0 quantum 1920 rate 15Kbit ceil 256Kbit burst 1618b/8 mpu 0b cburst 1926b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 48174 class htb 2:59 parent 2:1 leaf 59: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592 class htb 2:58 parent 2:1 leaf 58: prio 0 quantum 1920 rate 15Kbit ceil 100Kbit burst 1618b/8 mpu 0b cburst 1727b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 690773 ctokens: 110592