Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756493AbZKBRc5 (ORCPT ); Mon, 2 Nov 2009 12:32:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755724AbZKBRc4 (ORCPT ); Mon, 2 Nov 2009 12:32:56 -0500 Received: from Cpsmtpm-eml107.kpnxchange.com ([195.121.3.11]:65037 "EHLO CPSMTPM-EML107.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753103AbZKBRcz (ORCPT ); Mon, 2 Nov 2009 12:32:55 -0500 From: Frans Pop To: Mel Gorman Subject: Re: [PATCH 3/3] vmscan: Force kswapd to take notice faster when high-order watermarks are being hit Date: Mon, 2 Nov 2009 18:32:54 +0100 User-Agent: KMail/1.9.9 Cc: Andrew Morton , stable@kernel.org, linux-kernel@vger.kernel.org, "linux-mm@kvack.org" , Jiri Kosina , Sven Geggus , Karol Lewandowski , Tobias Oetiker , KOSAKI Motohiro , Pekka Enberg , Rik van Riel , Christoph Lameter , Stephan von Krawczynski , Kernel Testers List References: <1256650833-15516-1-git-send-email-mel@csn.ul.ie> <20091028124756.7af44b6b.akpm@linux-foundation.org> <20091102160534.GA22046@csn.ul.ie> In-Reply-To: <20091102160534.GA22046@csn.ul.ie> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200911021832.59035.elendil@planet.nl> X-OriginalArrivalTime: 02 Nov 2009 17:32:59.0548 (UTC) FILETIME=[8596F5C0:01CA5BE2] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1212 Lines: 23 On Monday 02 November 2009, Mel Gorman wrote: > vmscan: Help debug kswapd issues by counting number of rewakeups and > premature sleeps > > There is a growing amount of anedotal evidence that high-order atomic > allocation failures have been increasing since 2.6.31-rc1. The two > strongest possibilities are a marked increase in the number of > GFP_ATOMIC allocations and alterations in timing. Debugging printk > patches have shown for example that kswapd is sleeping for shorter > intervals and going to sleep when watermarks are still not being met. > > This patch adds two kswapd counters to help identify if timing is an > issue. The first counter kswapd_highorder_rewakeup counts the number of > times that kswapd stops reclaiming at one order and restarts at a higher > order. The second counter kswapd_slept_prematurely counts the number of > times kswapd went to sleep when the high watermark was not met. What testing would you like done with this patch? -- 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/