Historic archive of defunct list bloat-devel@lists.bufferbloat.net
 help / color / mirror / Atom feed
From: Justin McCann <jneilm@gmail.com>
To: Jim Gettys <jg@freedesktop.org>
Cc: bloat-devel@lists.bufferbloat.net
Subject: Re: Getting current interface queue sizes
Date: Mon, 7 Mar 2011 16:18:02 -0500	[thread overview]
Message-ID: <AANLkTi=+3qNjSFH9OZO+nn+ZJKzPf0y5_Ze6oYJOzEa_@mail.gmail.com> (raw)
In-Reply-To: <4D7523E5.3070009@freedesktop.org>

[-- Attachment #1: Type: text/plain, Size: 1816 bytes --]

On Mon, Mar 7, 2011 at 1:28 PM, Jim Gettys <jg@freedesktop.org> wrote:

> Cisco is far from unique.  I found it impossible to get this information
> from Linux.  Dunno about other operating systems.
> It's one of the things we need to fix in general.


So I'm not the only one. :) I'm looking to get this for Linux, and am
willing to implement it if necessary, and was looking for the One True Way.
I assume reporting back through netlink is the way to go.


> Exactly what the right metric(s) is (are), is interesting, of course. The
> problem with only providing instantaneous queue depth is that while it tells
> you you are currently suffering, it won't really help you detect transient
> bufferbloat due to web traffic, etc, unless you sample at a very high rate.
>  I really care about those frequent 100-200ms impulses I see in my traffic.
> So a bit of additional information would be goodness.g
>

My PhD research is focused on automatically diagnosing these sorts of
hiccups on a local host. I collect a common set of statistics across the
entire local stack every 100ms, then run a diagnosis algorithm to detect
which parts of the stack (connections, applications, interfaces) aren't
doing their job sending/receiving packets.

Among the research questions: What stats are necessary/sufficient for this
kind of diagnosis, What should their semantics be, and What's the largest
useful sample interval?

It turns out that when send/recv stops altogether, the queue lengths
indicate where things are being held up, leading to this discussion. I have
them for TCP (via web100), but since my diagnosis rules are generic, I'd
like to get them for the interfaces as well. I don't expect that the
Ethernet driver would stop transmitting for a few 100 ms at a time, but a
wireless driver might have to.

   Justin

[-- Attachment #2: Type: text/html, Size: 2364 bytes --]

      reply	other threads:[~2011-03-07 21:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-28 22:26 Justin McCann
2011-03-01  0:29 ` Fred Baker
2011-03-06 22:31   ` Justin McCann
2011-03-07  7:21     ` Fred Baker
2011-03-07 18:28       ` Jim Gettys
2011-03-07 21:18         ` Justin McCann [this message]

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='AANLkTi=+3qNjSFH9OZO+nn+ZJKzPf0y5_Ze6oYJOzEa_@mail.gmail.com' \
    --to=jneilm@gmail.com \
    --cc=bloat-devel@lists.bufferbloat.net \
    --cc=jg@freedesktop.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox