From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail202.messagelabs.com (mail202.messagelabs.com [216.82.254.227]) by kanga.kvack.org (Postfix) with ESMTP id 754786B016D for ; Wed, 13 May 2009 22:57:08 -0400 (EDT) Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e4.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id n4E2rlZ0010722 for ; Wed, 13 May 2009 22:53:47 -0400 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n4E2w0S2257414 for ; Wed, 13 May 2009 22:58:00 -0400 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n4E2vxfg017474 for ; Wed, 13 May 2009 22:58:00 -0400 Date: Thu, 14 May 2009 08:26:18 +0530 From: Balbir Singh Subject: Re: [RFC] Low overhead patches for the memory resource controller Message-ID: <20090514025618.GW13394@balbir.in.ibm.com> Reply-To: balbir@linux.vnet.ibm.com References: <20090513153218.GQ13394@balbir.in.ibm.com> <20090514090802.c5ac2246.kamezawa.hiroyu@jp.fujitsu.com> <20090514092405.1c3e6134.kamezawa.hiroyu@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20090514092405.1c3e6134.kamezawa.hiroyu@jp.fujitsu.com> Sender: owner-linux-mm@kvack.org To: KAMEZAWA Hiroyuki Cc: "linux-mm@kvack.org" , Andrew Morton , "nishimura@mxp.nes.nec.co.jp" , "lizf@cn.fujitsu.com" , KOSAKI Motohiro List-ID: * KAMEZAWA Hiroyuki [2009-05-14 09:24:05]: > On Thu, 14 May 2009 09:08:02 +0900 > KAMEZAWA Hiroyuki wrote: > > > On Wed, 13 May 2009 21:02:18 +0530 > > Balbir Singh wrote: > > > > > Important: Not for inclusion, for discussion only > > > > > > I've been experimenting with a version of the patches below. They add > > > a PCGF_ROOT flag for tracking pages belonging to the root cgroup and > > > disable LRU manipulation for them > > > > > > Caveats: > > > > > > 1. I've not checked accounting, accounting might be broken > > > 2. I've not made the root cgroup as non limitable, we need to disable > > > hard limits once we agree to go with this > > > > > > > > > Tests > > > > > > Quick tests show an improvement with AIM9 > > > > > > mmotm+patch mmtom-08-may-2009 > > > AIM9 1338.57 1338.17 > > > Dbase 18034.16 16021.58 > > > New Dbase 18482.24 16518.54 > > > Shared 9935.98 8882.11 > > > Compute 16619.81 15226.13 > > > > > > Comments on the approach much appreciated > > > > > > Feature: Remove the overhead associated with the root cgroup > > > > > > From: Balbir Singh > > > > > > This patch changes the memory cgroup and removes the overhead associated > > > with accounting all pages in the root cgroup. As a side-effect, we can > > > no longer set a memory hard limit in the root cgroup. > > > > > > A new flag is used to track page_cgroup associated with the root cgroup > > > pages. > > > > Hmm ? How about ignoring memcg completely when the thread belongs to ROOT > > cgroup rather than this halfway method ? > > > BTW, this will make softlimit much harder. Do you have any idea on softlimit after > this patch ? > Quick Clarificaiton, will my patches make soft limit hard or will the suggestio above do that? -- Balbir -- 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/ . Don't email: email@kvack.org