* [LARTC] HFSC statistic show question
@ 2006-09-21 18:40 Thossapron Apinyapanha
2006-09-22 12:08 ` Patrick McHardy
0 siblings, 1 reply; 2+ messages in thread
From: Thossapron Apinyapanha @ 2006-09-21 18:40 UTC (permalink / raw)
To: lartc
[-- Attachment #1.1: Type: text/plain, Size: 1649 bytes --]
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
thank you
raku
---------------------------------
Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail.
[-- Attachment #1.2: Type: text/html, Size: 2060 bytes --]
[-- Attachment #2: Type: text/plain, Size: 143 bytes --]
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] HFSC statistic show question
2006-09-21 18:40 [LARTC] HFSC statistic show question Thossapron Apinyapanha
@ 2006-09-22 12:08 ` Patrick McHardy
0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2006-09-22 12:08 UTC (permalink / raw)
To: lartc
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-09-22 12:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-21 18:40 [LARTC] HFSC statistic show question Thossapron Apinyapanha
2006-09-22 12:08 ` Patrick McHardy
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.