From: Patrick McHardy <kaber@trash.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] HFSC statistic show question
Date: Fri, 22 Sep 2006 12:08:20 +0000 [thread overview]
Message-ID: <4513D234.7090000@trash.net> (raw)
In-Reply-To: <20060921184033.64492.qmail@web35502.mail.mud.yahoo.com>
Thossapron Apinyapanha wrote:
> after i use "tc -s -d class ls dev eth0" will show statistic data about HFSC ,like this
>
> root@ubuntu:/home/shaper# tc -s -d class ls dev eth2
> class hfsc 1: root
> Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
> period 24 work 13844792199226589188 bytes rtwork 20937281664 bytes level 3461036864
> class hfsc 1:11 parent 1:1 sc m1 30720Kbit d 10.0ms m2 30000bit ul m1 0bit d 0us m2 300000bit
> Sent 332564 bytes 235 pkts (dropped 0, overlimits 0)
> period 24 work 13844792199226589188 bytes rtwork 20937281664 bytes level 3461036864
> class hfsc 1:1 parent 1: sc m1 0bit d 0us m2 10000bit ul m1 0bit d 0us m2 10000Kbit
> Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
> period 24 work 13844792199226589188 bytes rtwork 20937281664 bytes level 3461036864
> class hfsc 1:13 parent 1:1 ls m1 0bit d 0us m2 350000bit ul m1 0bit d 0us m2 500000bit
> Sent 84 bytes 2 pkts (dropped 0, overlimits 0)
> period 24 work 13844792199226589188 bytes rtwork 20937281664 bytes level 3461036864
> class hfsc 1:12 parent 1:1 ls m1 0bit d 0us m2 100000bit ul m1 0bit d 0us m2 300000bit
> Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
> period 24 work 13844792199226589188 bytes rtwork 20937281664 bytes level 3461036864
> root@ubuntu:/home/shaper# tc -s -d qdisc ls dev eth2
> qdisc hfsc 1: default 13
> Sent 332648 bytes 237 pkts (dropped 0, overlimits 382)
> root@ubuntu:/home/shaper#
>
> but i'm doubt what is each field mean ?? such period, work ,rtwork
> and what field are same like "rate" in HTB statistic command
You're using a broken version of iproute (well, actually the kernel is
broken, but a new iproute fixes it).
The statistics mean:
period: number of times the class went to active state (no packets
queued -> packets queued)
work: number of bytes handled by real-time and link-sharing criteria
rtwork: number of bytes handled by real-time criterion
level: level in the class hierarchy
When using only linear service curves "m2" is the equivalent to rate.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
prev parent reply other threads:[~2006-09-22 12:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-21 18:40 [LARTC] HFSC statistic show question Thossapron Apinyapanha
2006-09-22 12:08 ` Patrick McHardy [this message]
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=4513D234.7090000@trash.net \
--to=kaber@trash.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox