From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail191.messagelabs.com (mail191.messagelabs.com [216.82.242.19]) by kanga.kvack.org (Postfix) with ESMTP id DDD588D003B for ; Thu, 21 Apr 2011 00:22:48 -0400 (EDT) Received: from kpbe14.cbf.corp.google.com (kpbe14.cbf.corp.google.com [172.25.105.78]) by smtp-out.google.com with ESMTP id p3L4MjTj001523 for ; Wed, 20 Apr 2011 21:22:46 -0700 Received: from qyk29 (qyk29.prod.google.com [10.241.83.157]) by kpbe14.cbf.corp.google.com with ESMTP id p3L4Mh6Y030191 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 20 Apr 2011 21:22:44 -0700 Received: by qyk29 with SMTP id 29so2575539qyk.10 for ; Wed, 20 Apr 2011 21:22:43 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20110421124059.79990661.kamezawa.hiroyu@jp.fujitsu.com> References: <1303185466-2532-1-git-send-email-yinghan@google.com> <20110421124059.79990661.kamezawa.hiroyu@jp.fujitsu.com> Date: Wed, 20 Apr 2011 21:22:43 -0700 Message-ID: Subject: Re: [PATCH V6 00/10] memcg: per cgroup background reclaim From: Ying Han Content-Type: multipart/alternative; boundary=002354470aa8b82caa04a166177f 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 --002354470aa8b82caa04a166177f Content-Type: text/plain; charset=ISO-8859-1 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? --Ying Thanks, > -Kame > > > --002354470aa8b82caa04a166177f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Wed, Apr 20, 2011 at 8:40 PM, KAMEZAW= A Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote:
On Mon, 18 Apr 2011 20:57:36 -0700
Ying Han <yinghan@google.com&g= t; 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 comes=A0separa= tely?
=A0
--Ying

Thanks,
-Kame



--002354470aa8b82caa04a166177f-- -- 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