netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hagen Paul Pfeifer <hagen@jauu.net>
To: netdev@vger.kernel.org, "Motejlek, Petr" <pmotejle@akamai.com>
Cc: netem@osdl.org
Subject: Re: What queues/buffers does tc-netem use?
Date: Thu, 16 Jul 2015 14:42:47 +0200 (CEST)	[thread overview]
Message-ID: <116464048.2486.1437050567469.JavaMail.open-xchange@ox1app> (raw)
In-Reply-To: <ed5152b6a0e746b08b00c2dc8270afbc@ustx2ex-dag1mb3.msg.corp.akamai.com>

> On July 16, 2015 at 1:28 PM "Motejlek, Petr" <pmotejle@akamai.com>
> wrote:

> I was wondering what queues/buffers does netem use and how does one
> control or monitor them?

netem uses his own rbtree based queue. You can use tc(1) to get
statistics.

> I could not find this information anywhere and I am not that good in
> reading the sources to be able to tell enough about this :) If we talk
> only about the situation where netem is the root qdisc for a particular
> interface, I would imagine it might be using the txqueue of that
> interface, but I am not sure if that's really the case...

Saddly there is no netem implementation documentation, but the source code
is straightforward. You may take a look:

http://lxr.free-electrons.com/source/net/sched/sch_netem.c

Cheers, Hagen

  reply	other threads:[~2015-07-16 12:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-16 11:28 What queues/buffers does tc-netem use? Motejlek, Petr
2015-07-16 12:42 ` Hagen Paul Pfeifer [this message]
2015-07-16 12:48   ` Motejlek, Petr
2015-07-16 13:04     ` Hagen Paul Pfeifer

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=116464048.2486.1437050567469.JavaMail.open-xchange@ox1app \
    --to=hagen@jauu.net \
    --cc=netdev@vger.kernel.org \
    --cc=netem@osdl.org \
    --cc=pmotejle@akamai.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;
as well as URLs for NNTP newsgroup(s).