From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail190.messagelabs.com (mail190.messagelabs.com [216.82.249.51]) by kanga.kvack.org (Postfix) with ESMTP id D85296B01F1 for ; Wed, 18 Aug 2010 12:01:04 -0400 (EDT) Date: Wed, 18 Aug 2010 16:58:25 +0100 From: Chris Webb Subject: Re: Over-eager swapping Message-ID: <20100818155825.GA2370@arachsys.com> References: <20100804022148.GA5922@localhost> <20100804032400.GA14141@localhost> <20100804095811.GC2326@arachsys.com> <20100804114933.GA13527@localhost> <20100804120430.GB23551@arachsys.com> <20100818143801.GA9086@localhost> <20100818144655.GX2370@arachsys.com> <20100818152103.GA11268@localhost> <1282147034.77481.33.camel@useless.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1282147034.77481.33.camel@useless.localdomain> Sender: owner-linux-mm@kvack.org To: Lee Schermerhorn Cc: Wu Fengguang , Minchan Kim , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , KOSAKI Motohiro , Pekka Enberg , Andi Kleen , Christoph Lameter List-ID: Lee Schermerhorn writes: > On Wed, 2010-08-18 at 23:21 +0800, Wu Fengguang wrote: > > Andi, Christoph and Lee: > > > > This looks like an "unbalanced NUMA memory usage leading to premature > > swapping" problem. > > What is the value of the vm.zone_reclaim_mode sysctl? If it is !0, the > system will go into zone reclaim before allocating off-node pages. > However, it shouldn't "swap" in this case unless (zone_reclaim_mode & 4) > != 0. And even then, zone reclaim should only reclaim file pages, not > anon. In theory... Hi. This is zero on all our machines: # sysctl vm.zone_reclaim_mode vm.zone_reclaim_mode = 0 Cheers, Chris. -- 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