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 SMTP id 191565F0001 for ; Wed, 8 Apr 2009 03:19:40 -0400 (EDT) Received: from m1.gw.fujitsu.co.jp ([10.0.50.71]) by fgwmail6.fujitsu.co.jp (Fujitsu Gateway) with ESMTP id n387JsBW022784 for (envelope-from kamezawa.hiroyu@jp.fujitsu.com); Wed, 8 Apr 2009 16:19:54 +0900 Received: from smail (m1 [127.0.0.1]) by outgoing.m1.gw.fujitsu.co.jp (Postfix) with ESMTP id 0A50E45DD79 for ; Wed, 8 Apr 2009 16:19:54 +0900 (JST) Received: from s1.gw.fujitsu.co.jp (s1.gw.fujitsu.co.jp [10.0.50.91]) by m1.gw.fujitsu.co.jp (Postfix) with ESMTP id CE51145DD7A for ; Wed, 8 Apr 2009 16:19:53 +0900 (JST) Received: from s1.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s1.gw.fujitsu.co.jp (Postfix) with ESMTP id 8FBF9E08001 for ; Wed, 8 Apr 2009 16:19:53 +0900 (JST) Received: from ml14.s.css.fujitsu.com (ml14.s.css.fujitsu.com [10.249.87.104]) by s1.gw.fujitsu.co.jp (Postfix) with ESMTP id 8FD7FE08017 for ; Wed, 8 Apr 2009 16:19:52 +0900 (JST) Date: Wed, 8 Apr 2009 16:18:24 +0900 From: KAMEZAWA Hiroyuki Subject: Re: [RFI] Shared accounting for memory resource controller Message-Id: <20090408161824.26f47077.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <20090408071115.GD7082@balbir.in.ibm.com> References: <20090407063722.GQ7082@balbir.in.ibm.com> <20090407160014.8c545c3c.kamezawa.hiroyu@jp.fujitsu.com> <20090407071825.GR7082@balbir.in.ibm.com> <20090407163331.8e577170.kamezawa.hiroyu@jp.fujitsu.com> <20090407080355.GS7082@balbir.in.ibm.com> <20090407172419.a5f318b9.kamezawa.hiroyu@jp.fujitsu.com> <20090408052904.GY7082@balbir.in.ibm.com> <20090408151529.fd6626c2.kamezawa.hiroyu@jp.fujitsu.com> <20090408070401.GC7082@balbir.in.ibm.com> <20090408160733.4813cb8d.kamezawa.hiroyu@jp.fujitsu.com> <20090408071115.GD7082@balbir.in.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: balbir@linux.vnet.ibm.com Cc: "linux-mm@kvack.org" , Andrew Morton , "lizf@cn.fujitsu.com" , Rik van Riel , Bharata B Rao , Dhaval Giani , KOSAKI Motohiro , "linux-kernel@vger.kernel.org" List-ID: On Wed, 8 Apr 2009 12:41:15 +0530 Balbir Singh wrote: > * KAMEZAWA Hiroyuki [2009-04-08 16:07:33]: > 1. First our rss in memory.stat is confusing, we should call it anon > RSS ok. but ....changing current interface ? > 2. We need to add file rss, this is sort of inline with the > information we export per process file_rss and anon_rss maybe good. *but* active/incative ratio in lru file cache is good estimation for this. > 3. Using the above, we can then try to (using an algorithm you > proposed), try to do some work for figuring out the shared percentage. > This is the point. At last. Why "# of shared pages" is important ? I wonder it's better to add new stat file as memory.cacheinfo which helps following kind of commands. #cacheinfo /cgroups/memory/group01/ /usr/lib/libc.so.1 30pages /var/log/messages 1 pages /tmp/xxxxxx 20 pages ..... ..... 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/ . Don't email: email@kvack.org