Networking Forums

Networking Forums > Computer Networking > Linux Networking > qdisc statistics

Reply
Thread Tools Display Modes

qdisc statistics

 
 
marius7777@gmail.com
Guest
Posts: n/a

 
      01-03-2007, 04:52 AM
Hi,

I'm trying to access qdisc statistics (mainly the current queue length)
from a queueing discipline.
Tc provides some statistics, but unfortunately not the current queue
size.

So I tried to access the information from a kernel module via printk.

Even though a I am completely saturating (100Mbit/s UDP traffic) the
(wireless) network interface with iperf, the queue length (qlen and
backlog) always remains 0.

It tried this with a number of queue disciplines, including red and
pfifo, all with the same result.

When looking at the code, the queueing disciplines (red) seem to update
the statistics (qlen, backlog) correctly when packets are enqueued and
dequeued. However, I never saw a packets building up in the queue, no
matter how heavy the load.

Statistics regarding the number of packets and bytes sent seem to be
correct.

Here is an example of what my kernel module prints:

dev->qdisc->q.qlen: 0
dev->qdisc->stats.backlog: 0
dev->qdisc->stats.packets: 155794
dev->qdisc->stats.bytes: 39876188


I don't understand why the backlog and qlen parameters remain 0.
Any help would be appreciated.

cheers
Marius

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
differences between qdisc and iptables spip_yeah@yahoo.com Linux Networking 0 12-07-2006 02:45 PM
New to TC and qdisc Luke Robertson Linux Networking 0 11-24-2004 03:37 AM
Help with tc qdisc and netem Jagadeesh Linux Networking 1 10-29-2004 02:26 AM
sfq or prio qdisc? klops Linux Networking 0 10-07-2004 01:20 PM
ingress qdisc question MatB Linux Networking 0 04-26-2004 11:20 AM



1 2 3 4 5 6 7 8 9 10 11