Skip to contentSkip to conversation

rate 0bit

LARTC Krzysztof Gorzelak 2 participants 2 messages Dec 23, 2005 – Dec 26, 2005

lore
Share & tools
lore
#0 lore raw

Hi

I'm trying to understand this qdisc stats output:

#tc -s qdisc ls dev [interface]
[..]
qdisc htb 1: r2q 10 default 13 direct_packets_stat 38
Sent 3867654734 bytes 7023775 pkt (dropped 4, overlimits 4852340 requeues
0)
rate 0bit 0pps backlog 0b 11p requeues 0
[..]

In all my qdiscs, I've got "rate 0bit". What does it mean ? As you can see, there is some traffic in this qdisc (3867654734 bytes). Thanks for answer.

I've got one (or two) more question: What for are used qdisc handles ? ( I allways use classids in my tc filters ). Is there any difference between flowid and classid ?

Thanks for Help!
Krzysztof Gorzelak
[email protected]

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#1 lore raw
Quoted 2 lines

In all my qdiscs, I've got "rate 0bit". What does it mean ? As you can see, there is some traffic in this qdisc (3867654734 bytes).

May be, HTB qdiscs don't have to have rate attribute. CBQ qdiscs do have rate (at least I always configured it).

Quoted 1 line

I've got one (or two) more question: What for are used qdisc handles ?

Classes always belong to qdiscs, at least one qdisc always exists (iface root qdisc), so there are no orphan classes in QoS tree. classid is composed of 2 numbers (X:Y). Y can be any number, X is parent qdisc ID (handle). qdisc handle has form X: (equivalent to X:0).

Quoted 2 lines

( I allways use classids in my tc filters ). Is there any difference between flowid and classid ?

flowid is one of filter attrubutes. It requires class ID as argument and puts matching packets to class specified.

Signature · 5 lines
    DO4-UANIC
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc