From: Li Zefan <lizefan-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
To: Alexey Perevalov <a.perevalov-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
Cc: cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Glauber Costa <glommer-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>,
Daniel Wagner <wagi-kQCPcA+X3s7YtjvyW6yDsg@public.gmane.org>,
Kyungmin Park
<kyungmin.park-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
Subject: Re: [RFC PATCH v3] cgroup: net_cls: traffic counter based on classification control cgroup
Date: Mon, 14 Jan 2013 14:37:09 +0800 [thread overview]
Message-ID: <50F3A795.7050102@huawei.com> (raw)
In-Reply-To: <50F04502.9090902-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
On 2013/1/12 0:59, Alexey Perevalov wrote:
> Hello
>
> I'm sorry for previous email with attachments.
>
> I would like to represent next version of patch I sent before
> cgroup: "net_cls: traffic counter based on classification control cgroup"
>
> The main idea is the same as was. It keeping counter in control groups, but now uses atomic instead resource_counters.
>
> I have a performance measurement for this patch. It was done by lmbench on physical machine.
> Results are not so representative for 20 tests and some numbers are real weird.
>
> Daniel Wagner wrote what he is doing something similar, but using namespaces.
>
> Proposed by me approach is used in upcoming Tizen release, but little bit different version.
>
>
> Signed-off-by: Alexey Perevalov <a.perevalov-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
> ---
> include/net/cls_cgroup.h | 200 ++++++++++++++++++++++++++++++++++----
> include/net/cls_counter_holder.h | 26 +++++
> init/Kconfig | 25 +++++
> kernel/cgroup.c | 2 +
> kernel/res_counter.c | 4 +
> net/core/dev.c | 6 ++
> net/ipv4/tcp.c | 29 +++++-
> net/ipv4/udp.c | 6 ++
> net/sched/Kconfig | 11 ---
> net/sched/Makefile | 1 +
> net/sched/cls_cgroup.c | 193 +++++++++++++++++++++++++++++++++++-
> net/sched/cls_counter_holder.c | 144 +++++++++++++++++++++++++++
> 12 files changed, 612 insertions(+), 35 deletions(-)
> create mode 100644 include/net/cls_counter_holder.h
> create mode 100644 net/sched/cls_counter_holder.c
You should cc netdev mailing list.
next prev parent reply other threads:[~2013-01-14 6:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-11 16:59 [RFC PATCH v3] cgroup: net_cls: traffic counter based on classification control cgroup Alexey Perevalov
[not found] ` <50F04502.9090902-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2013-01-14 6:37 ` Li Zefan [this message]
2013-01-14 8:09 ` Daniel Wagner
2013-01-14 11:25 ` Alexey Perevalov
2013-01-14 11:50 ` Alexey Perevalov
-- strict thread matches above, loose matches on Subject: below --
2013-01-15 13:33 Alexey Perevalov
2013-01-15 15:05 ` Eric Dumazet
2013-01-16 15:48 ` Alexey Perevalov
2013-01-14 7:39 Alexey Perevalov
[not found] ` <50F3B63B.6050104-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2013-01-14 23:12 ` David Miller
2013-01-10 14:00 Alexey Perevalov
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=50F3A795.7050102@huawei.com \
--to=lizefan-hv44wf8li93qt0dzr+alfa@public.gmane.org \
--cc=a.perevalov-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
--cc=cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=glommer-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org \
--cc=kyungmin.park-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
--cc=wagi-kQCPcA+X3s7YtjvyW6yDsg@public.gmane.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;
as well as URLs for NNTP newsgroup(s).