From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
To: Glauber Costa <glommer@parallels.com>
Cc: netdev@vger.kernel.org,
Linux Containers <containers@lists.osdl.org>,
linux-mm@kvack.org, Pavel Emelyanov <xemul@parallels.com>,
"Eric W. Biederman" <ebiederm@xmission.com>,
David Miller <davem@davemloft.net>,
Stephen Hemminger <shemminger@vyatta.com>,
penberg@kernel.org
Subject: Re: [RFMC] per-container tcp buffer limitation
Date: Thu, 1 Sep 2011 15:48:10 +0900 [thread overview]
Message-ID: <20110901154810.cdda1d94.kamezawa.hiroyu@jp.fujitsu.com> (raw)
In-Reply-To: <4E5EF14F.3040300@parallels.com>
On Wed, 31 Aug 2011 23:43:27 -0300
Glauber Costa <glommer@parallels.com> wrote:
> Hello People,
>
> [ For the ones in linux-mm that are receiving this for the first time,
> this is a follow up of
> http://thread.gmane.org/gmane.linux.kernel.containers/21295 ]
>
> Here is a new, a bit more mature version of my previous RFC. Now I
> Request For More Comments from you guys in this new version of the patch.
>
> Highlights:
>
> * Although I do intend to experiment with more scenarios (suggestions
> welcome), there does not seem to be a (huge) performance hit with this
> patch applied, at least in a basic latency benchmark. That indicates
> that even if we can demonstrate a performance hit, it won't be too hard
> to optimize it away (famous last words?)
>
> Since the patch touches both rcv and snd sides, I benchmarked it with
> netperf against localhost. Command line: netperf -t TCP_RR -H localhost.
>
> Without the patch
> =================
>
> Socket Size Request Resp. Elapsed Trans.
> Send Recv Size Size Time Rate
> bytes Bytes bytes bytes secs. per sec
>
> 16384 87380 1 1 10.00 26996.35
> 16384 87380
>
> With the patch
> ===============
>
> Local /Remote
> Socket Size Request Resp. Elapsed Trans.
> Send Recv Size Size Time Rate
> bytes Bytes bytes bytes secs. per sec
>
> 16384 87380 1 1 10.00 27291.86
> 16384 87380
>
>
> As you can see, rate is a bit higher, but still under an one percent
> range, meaning it is basically unchanged. I will benchmark it with
> various levels of cgroup nesting on my next submission so we can have a
> better idea of the impact of it when enabled.
>
seems nice.
> * As nicely pointed out by Kamezawa, I dropped the sockets cgroup, and
> introduced a kmem cgroup. After careful consideration, I decided not to
> reuse the memcg. Basically, my impression is that memcg is concerned
> with user objects, with page granularity and its swap attributes.
> Because kernel objects are entirely different, I prefer to group them here.
>
I myself has no objection to this direction. Other guys ?
Thanks,
-Kame
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2011-09-01 6:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-01 2:43 Glauber Costa
2011-09-01 6:48 ` KAMEZAWA Hiroyuki [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=20110901154810.cdda1d94.kamezawa.hiroyu@jp.fujitsu.com \
--to=kamezawa.hiroyu@jp.fujitsu.com \
--cc=containers@lists.osdl.org \
--cc=davem@davemloft.net \
--cc=ebiederm@xmission.com \
--cc=glommer@parallels.com \
--cc=linux-mm@kvack.org \
--cc=netdev@vger.kernel.org \
--cc=penberg@kernel.org \
--cc=shemminger@vyatta.com \
--cc=xemul@parallels.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