Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764009AbYFFDBR (ORCPT ); Thu, 5 Jun 2008 23:01:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753571AbYFFDBD (ORCPT ); Thu, 5 Jun 2008 23:01:03 -0400 Received: from fgwmail6.fujitsu.co.jp ([192.51.44.36]:43604 "EHLO fgwmail6.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753822AbYFFDBB (ORCPT ); Thu, 5 Jun 2008 23:01:01 -0400 Date: Fri, 6 Jun 2008 12:01:46 +0900 From: KAMEZAWA Hiroyuki To: Keika Kobayashi Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, nagar@watson.ibm.com, balbir@in.ibm.com, sekharan@us.ibm.com, kosaki.motohiro@jp.fujitsu.com Subject: Re: [PATCH 0/3 v2] per-task-delay-accounting: add memory reclaim delay Message-Id: <20080606120146.3d9867db.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <20080605162759.a6adf291.kobayashi.kk@ncos.nec.co.jp> References: <20080605162759.a6adf291.kobayashi.kk@ncos.nec.co.jp> Organization: Fujitsu X-Mailer: Sylpheed 2.4.2 (GTK+ 2.10.11; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2593 Lines: 82 On Thu, 5 Jun 2008 16:27:59 -0700 Keika Kobayashi wrote: > Hi. > > This is v2 of accounting memory reclaim patch series. > Thanks to Kosaki-san, Kamezawa-san, Andrew for comments and advice! > These patches were fixed about the following. > > Against: next-20080605 > > 1) Change Log > > o Add accounting memory reclaim delay from memcgroup. > For accounting both global and cgroup memory reclaim, > accounting point was moved from try_to_free_pages() to do_try_to_free_pages. > > o Drop the patch regarding /proc export for memory reclaim delay. > Because it seems that two separate ways to report are not necessary, > this patch series supports only NETLINK and doesn't add a field to /proc//stat. > > Thanks, I like this set. Acked-by: KAMEZAWA Hiroyuki > 2) Confirm the fix regarding memcgroup. > > o Previous patch can't catch memory reclaim delay from memcgroup. > > $ echo 10M > /cgroups/0/memory.limit_in_bytes > > $ ls -s test.dat > 500496 test.dat > > $ time tar cvf test.tar test.dat > real 0m21.957s > user 0m0.032s > sys 0m2.348s > > $ ./delayget -d -p > CPU count real total virtual total delay total > 2441 2288143000 2438256954 22371958 > IO count delay total > 2444 18745251314 > SWAP count delay total > 0 0 > RECLAIM count delay total > 0 0 > > o Current patch can catch memory reclaim delay from memcgroup. > > $ echo 10M > /cgroups/0/memory.limit_in_bytes > > $ ls -s test.dat > 500496 test.dat > > $ time tar cvf test.tar test.dat > real 0m22.563s > user 0m0.028s > sys 0m2.440s > > $ ./delayget -d -p > CPU count real total virtual total delay total > 2640 2456153500 2478353004 28366219 > IO count delay total > 2628 19894214188 > SWAP count delay total > 0 0 > RECLAIM count delay total > 6600 10682486085 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/