All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Motejlek, Petr" <pmotejle@akamai.com>
To: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	Hagen Paul Pfeifer <hagen@jauu.net>
Cc: "netem@osdl.org" <netem@osdl.org>
Subject: Re: What queues/buffers does tc-netem use?
Date: Thu, 16 Jul 2015 12:48:33 +0000	[thread overview]
Message-ID: <1437050912759.32788@akamai.com> (raw)
In-Reply-To: <116464048.2486.1437050567469.JavaMail.open-xchange@ox1app>

Hello Hagen,

Could you please give me some example of such a tc command that would tell me the statistics? I am not sure what you mean.

Is there a way I can manipulate the internal rbtree queue size, please?

Thank you

Petr MOTEJLEK
________________________________________
From: Hagen Paul Pfeifer <hagen@jauu.net>
Sent: Thursday, July 16, 2015 2:42 PM
To: netdev@vger.kernel.org; Motejlek, Petr
Cc: netem@osdl.org
Subject: Re: What queues/buffers does tc-netem use?

> 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:48 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
2015-07-16 12:48   ` Motejlek, Petr [this message]
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=1437050912759.32788@akamai.com \
    --to=pmotejle@akamai.com \
    --cc=hagen@jauu.net \
    --cc=netdev@vger.kernel.org \
    --cc=netem@osdl.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.