From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail172.messagelabs.com (mail172.messagelabs.com [216.82.254.3]) by kanga.kvack.org (Postfix) with ESMTP id DE98C8D003B for ; Thu, 21 Apr 2011 00:31:45 -0400 (EDT) Received: from wpaz9.hot.corp.google.com (wpaz9.hot.corp.google.com [172.24.198.73]) by smtp-out.google.com with ESMTP id p3L4VfG8025904 for ; Wed, 20 Apr 2011 21:31:42 -0700 Received: from qwf6 (qwf6.prod.google.com [10.241.194.70]) by wpaz9.hot.corp.google.com with ESMTP id p3L4VeJQ022303 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 20 Apr 2011 21:31:40 -0700 Received: by qwf6 with SMTP id 6so887612qwf.30 for ; Wed, 20 Apr 2011 21:31:40 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1303185466-2532-1-git-send-email-yinghan@google.com> <20110421124059.79990661.kamezawa.hiroyu@jp.fujitsu.com> Date: Wed, 20 Apr 2011 21:31:40 -0700 Message-ID: Subject: Re: [PATCH V6 00/10] memcg: per cgroup background reclaim From: Ying Han Content-Type: multipart/alternative; boundary=0016360e3f5cb4f4fa04a1663709 Sender: owner-linux-mm@kvack.org List-ID: To: KAMEZAWA Hiroyuki Cc: KOSAKI Motohiro , Minchan Kim , Daisuke Nishimura , Balbir Singh , Tejun Heo , Pavel Emelyanov , Andrew Morton , Li Zefan , Mel Gorman , Christoph Lameter , Johannes Weiner , Rik van Riel , Hugh Dickins , Michal Hocko , Dave Hansen , Zhu Yanhai , linux-mm@kvack.org --0016360e3f5cb4f4fa04a1663709 Content-Type: text/plain; charset=ISO-8859-1 On Wed, Apr 20, 2011 at 9:22 PM, Ying Han wrote: > > > On Wed, Apr 20, 2011 at 8:40 PM, KAMEZAWA Hiroyuki < > kamezawa.hiroyu@jp.fujitsu.com> wrote: > >> On Mon, 18 Apr 2011 20:57:36 -0700 >> Ying Han wrote: >> >> > 1. there are one kswapd thread per cgroup. the thread is created when >> the >> > cgroup changes its limit_in_bytes and is deleted when the cgroup is >> being >> > removed. In some enviroment when thousand of cgroups are being >> configured on >> > a single host, we will have thousand of kswapd threads. The memory >> consumption >> > would be 8k*100 = 8M. We don't see a big issue for now if the host can >> host >> > that many of cgroups. >> > >> >> I don't think no-fix to this is ok. >> >> Here is a thread pool patch on your set. (and includes some more). >> 3 patches in following e-mails. >> Any comments are welocme, but my response may be delayed. >> >> Thank you for making up the patch, and I will take a look. Do I apply the > 3 patches on top of my patchset or they comes separately? > Sorry, please ignore my last question. Looks like the patch are based on my existing per-memcg kswapd patchset. I will try to apply it. --Ying > > --Ying > > Thanks, >> -Kame >> >> >> > --0016360e3f5cb4f4fa04a1663709 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Wed, Apr 20, 2011 at 9:22 PM, Ying Ha= n <yinghan@googl= e.com> wrote:


On Wed= , Apr 20, 2011 at 8:40 PM, KAMEZAWA Hiroyuki <kamezawa.hiroy= u@jp.fujitsu.com> wrote:
On Mon, 18 Apr 2011 20:57:36 -0700
Ying Han <yingha= n@google.com> wrote:

> 1. there are one kswapd thread per cgroup. the thread is created when = the
> cgroup changes its limit_in_bytes and is deleted when the cgroup is be= ing
> removed. In some enviroment when thousand of cgroups are being configu= red on
> a single host, we will have thousand of kswapd threads. The memory con= sumption
> would be 8k*100 =3D 8M. We don't see a big issue for now if the ho= st can host
> that many of cgroups.
>

I don't think no-fix to this is ok.

Here is a thread pool patch on your set. (and includes some more).
3 patches in following e-mails.
Any comments are welocme, but my response may be delayed.

Thank you for making up the patch, and I = will take a look. Do I apply the 3 patches on top of my patchset or they co= mes=A0separately?

Sorry, please= ignore my last question. Looks like the patch are based on my existing per= -memcg kswapd patchset. I will try to apply it.

--Ying=A0
=A0
--Ying

Thanks,
-Kame




--0016360e3f5cb4f4fa04a1663709-- -- 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: email@kvack.org