[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <116464048.2486.1437050567469.JavaMail.open-xchange@ox1app>
Date: Thu, 16 Jul 2015 14:42:47 +0200 (CEST)
From: Hagen Paul Pfeifer <hagen@...u.net>
To: netdev@...r.kernel.org, "Motejlek, Petr" <pmotejle@...mai.com>
Cc: netem@...l.org
Subject: Re: What queues/buffers does tc-netem use?
> On July 16, 2015 at 1:28 PM "Motejlek, Petr" <pmotejle@...mai.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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists