All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Samad <alex@samad.com.au>
To: lartc@vger.kernel.org
Subject: [LARTC] how to read the stats
Date: Thu, 21 Oct 2004 09:59:42 +0000	[thread overview]
Message-ID: <20041021095942.GP27259@samad.com.au> (raw)

[-- Attachment #1: Type: text/plain, Size: 2505 bytes --]

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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2004-10-21  9:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-21  9:59 Alexander Samad [this message]
2004-10-21 19:18 ` [LARTC] how to read the stats Stef Coene
2004-10-21 20:10 ` Alexander Samad

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041021095942.GP27259@samad.com.au \
    --to=alex@samad.com.au \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.