how to read the stats

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

I have setup iproute2 and need a bit of help reading the stats from it


===== output
qdisc htb 1: r2q 10 default 20 direct_packets_stat 0 ver 3.17
 Sent 547326809 bytes 1342627 pkts (dropped 9303, overlimits 2817572
requeues 0) 
 backlog 46p 
qdisc sfq 10: limit 128p quantum 1514b flows 128/1024 perturb 10sec 
 Sent 41874343 bytes 730889 pkts (dropped 0, overlimits 0 requeues 0) 
qdisc sfq 20: limit 128p quantum 1514b flows 128/1024 perturb 10sec 
 Sent 10136008 bytes 69886 pkts (dropped 0, overlimits 0 requeues 0) 
qdisc sfq 30: limit 128p quantum 1514b flows 128/1024 perturb 10sec 
 Sent 495316458 bytes 541852 pkts (dropped 9303, overlimits 0 requeues
0) 
 backlog 46p 


>>>> This I belive is my parent class is has access to the whole 64Kbit
class htb 1:1 root rate 64Kbit ceil 64Kbit burst 80b/8 mpu 0b overhead
0b cburst 1507b/8 mpu 0b overhead 0b level 7 
 Sent 542500093 bytes 1342581 pkts (dropped 0, overlimits 0 requeues 0) 
 rate 7201bit 20pps 
 lended: 322826 borrowed: 0 giants: 0
 tokens: -228224 ctokens: -45568

class htb 1:10 parent 1:1 leaf 10: prio 1 quantum 8 rate 57Kbit ceil
64Kbit burst 80b/8 mpu 0b overhead 0b cburst 1507b/8 mpu 0b overhead 0b
level 0 
 Sent 41874343 bytes 730889 pkts (dropped 0, overlimits 0 requeues 0) 
 rate 681bit 12pps 
 lended: 730878 borrowed: 11 giants: 0
 tokens: 2966 ctokens: 185856

class htb 1:20 parent 1:1 leaf 20: prio 2 quantum 8 rate 32Kbit ceil
57Kbit burst 80b/8 mpu 0b overhead 0b cburst 71b/8 mpu 0b overhead 0b
level 0 
 Sent 10136008 bytes 69886 pkts (dropped 0, overlimits 0 requeues 0) 
 rate 302bit 1pps 
 lended: 68718 borrowed: 1168 giants: 0
 tokens: -149248 ctokens: -73584


>>>> this is the low bandwidth class (bittorrent etc)
class htb 1:30 parent 1:1 leaf 30: prio 3 quantum 8 rate 25Kbit ceil
51Kbit burst 63b/8 mpu 0b overhead 0b cburst 47b/8 mpu 0b overhead 0b
level 0 
 Sent 495316458 bytes 541852 pkts (dropped 9303, overlimits 0 requeues
0) 
>>> THIS is the line I have problems understanding
>>> I read it as 6190bit/sec which seems to be way lower than the 25Kbit
>>> set for the rate and much lower than the ceil
>>> so why do I have a backlog
 rate 6190bit 7pps backlog 46p 
 lended: 220159 borrowed: 321647 giants: 0
 tokens: -493609 ctokens: -242500


Having said all that it does seem to be limiting to 25Kbit, with burst
upto 51 !


This is on a patched debian 2.6.8 kernel (pom-ng patch'ed) and iproute2-ss040831

Thanks
Alex

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux