From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail143.messagelabs.com (mail143.messagelabs.com [216.82.254.35]) by kanga.kvack.org (Postfix) with SMTP id 8740F900194 for ; Thu, 23 Jun 2011 15:25:53 -0400 (EDT) Message-ID: <4E039334.7090502@draigBrady.com> Date: Thu, 23 Jun 2011 20:25:40 +0100 From: =?ISO-8859-15?Q?P=E1draig_Brady?= MIME-Version: 1.0 Subject: Re: sandy bridge kswapd0 livelock with pagecache References: <20110621113447.GG9396@suse.de> <4E008784.80107@draigBrady.com> <20110621130756.GH9396@suse.de> <4E00A96D.8020806@draigBrady.com> <20110622094401.GJ9396@suse.de> <4E01C19F.20204@draigBrady.com> <20110623114646.GM9396@suse.de> <4E0339CF.8080407@draigBrady.com> <20110623152418.GN9396@suse.de> <4E035C8B.1080905@draigBrady.com> <20110623165955.GO9396@suse.de> In-Reply-To: <20110623165955.GO9396@suse.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Sender: owner-linux-mm@kvack.org List-ID: To: Mel Gorman Cc: linux-mm@kvack.org On 23/06/11 17:59, Mel Gorman wrote: > On Thu, Jun 23, 2011 at 04:32:27PM +0100, P?draig Brady wrote: >> On 23/06/11 16:24, Mel Gorman wrote: >>> >>> Theory 2 it is then. This is to be applied on top of the patch for >>> theory 1. >>> >>> ==== CUT HERE ==== >>> mm: vmscan: Prevent kswapd doing excessive work when classzone is unreclaimable >> >> No joy :( >> > > Joy is indeed rapidly fleeing the vicinity. > > Check /proc/sys/vm/laptop_mode . If it's set, unset it and try again. It was not set > > diff --git a/mm/vmscan.c b/mm/vmscan.c > index dce95dd..c8c0f5a 100644 > --- a/mm/vmscan.c > +++ b/mm/vmscan.c > @@ -2426,19 +2426,19 @@ loop_again: > * zone has way too many pages free already. > */ > if (!zone_watermark_ok_safe(zone, order, > - 8*high_wmark_pages(zone), end_zone, 0)) Note 8 was not in my tree. Manually applied patch makes no difference :( Well maybe kswapd0 started spinning a little later. cheers, Padraig. -- 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