Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: Dave Taht <dave.taht@gmail.com>
To: dpreed@reed.com
Cc: cerowrt-devel@lists.bufferbloat.net
Subject: [Cerowrt-devel] parsing tc statistical output
Date: Thu, 3 Jan 2013 16:40:41 -0800	[thread overview]
Message-ID: <CAA93jw7n-WhsDeT+Cgn0BeYqDmcK6ZVbtuAqc0itmPRZ5LJ_mg@mail.gmail.com> (raw)

I just wanted to note that fq_codel and related have a few interesting stats.

First important note: fq_codel as in the linux mainline, resets the
"dropped" statistic when a queue becomes new. cero preserves it. Eric
was making noises about removing dropped entirely due to the effect on
cacheline behavior, I'm planning on keeping it... and adding more
stats, actually! But if you parse dropped, only use the summary
dropped stat not the queue one.

Basic stats can be had via:

tc -s qdisc show dev your_device

Next up, on a busy system, doing a:

tc -s class show dev your_device

will actually show you the depth of your individual queues (those that
have any depth).

I will try to write up a wiki entry on what all those stats mean. At some point.

Lastly:
tc's output gets rapidly more complex and hard to parse with htb and
simple_qos or dan's scripts...

                 reply	other threads:[~2013-01-04  0:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

  List information: https://lists.bufferbloat.net/postorius/lists/cerowrt-devel.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAA93jw7n-WhsDeT+Cgn0BeYqDmcK6ZVbtuAqc0itmPRZ5LJ_mg@mail.gmail.com \
    --to=dave.taht@gmail.com \
    --cc=cerowrt-devel@lists.bufferbloat.net \
    --cc=dpreed@reed.com \
    /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