All of lore.kernel.org
 help / color / mirror / Atom feed
From: Antonios Chalkiopoulos <alg0@iit.demokritos.gr>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] tc monitoring
Date: Thu, 30 Sep 2004 12:44:15 +0000	[thread overview]
Message-ID: <200409301544.15892.alg0@iit.demokritos.gr> (raw)
In-Reply-To: <200409301431.13267.alg0@iit.demokritos.gr>

On Thursday 30 September 2004 14:59, you wrote:
> Am Thursday 30 September 2004 13:31 schrieb Antonios Chalkiopoulos:
> > So is there a way to use the tc command and manage to get usefull
> > information about which qdisc is parent and which is a leaf?
>
> Well, if there is no child then it is a leaf. You have to do a bit of
> parsing there... tc is not really useful at all for that kind of stuff.
>
> I had the same problem, I wrote a script to create graphs like
> this one http://www.metamorpher.de/files/fairnat_ipp2p.png (big image).
>
> The script is http://www.metamorpher.de/files/tc-graph.pl
> It creates a graph description which can be used by GraphViz to visualize.
>
> Andreas

Nice work Andrea! :) The only limitation i noticed so far is that it can not 
properly parse the virtual channels of GRED qdisc. GRED is a tricky qdisc as 
it can contain 1..16 RED qdisc as virtual channels. It shouldn't be too 
complex to implement that feature as the output is straight-forward

qdisc gred 805f:
DP:1 (prio 8) Average Queue 0b Measured Queue 0b
        Packet drops: 0 (forced 0 early 0)
        Packet totals: 0 (bytes 0)  ewma 3 Plog 25 Scell_log 12
DP:2 (prio 8) Average Queue 36110b Measured Queue 35428b
        Packet drops: 517 (forced 0 early 517)
        Packet totals: 14128 (bytes 14721376)  ewma 3 Plog 20 Scell_log 12
Sent 14182662 bytes 13611 pkts (dropped 517, overlimits 517 requeues 0)

Thanks , Antonios Chalkiopoulos
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  parent reply	other threads:[~2004-09-30 12:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-30 11:31 [LARTC] tc monitoring Antonios Chalkiopoulos
2004-09-30 11:59 ` Andreas Klauer
2004-09-30 12:02 ` Thomas Graf
2004-09-30 12:44 ` Antonios Chalkiopoulos [this message]
2004-09-30 13:06 ` Andreas Klauer
2004-09-30 13:49 ` Francisco Pereira
2004-09-30 14:37 ` Jason Boxman
2004-09-30 15:33 ` Michael S. Kazmier

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=200409301544.15892.alg0@iit.demokritos.gr \
    --to=alg0@iit.demokritos.gr \
    --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.