Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754209AbYBSNdO (ORCPT ); Tue, 19 Feb 2008 08:33:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752260AbYBSNc6 (ORCPT ); Tue, 19 Feb 2008 08:32:58 -0500 Received: from mx1.redhat.com ([66.187.233.31]:48598 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751540AbYBSNc5 (ORCPT ); Tue, 19 Feb 2008 08:32:57 -0500 Date: Tue, 19 Feb 2008 08:31:24 -0500 From: Rik van Riel To: Nick Piggin Cc: KOSAKI Motohiro , KAMEZAWA Hiroyuki , Balbir Singh , Lee Schermerhorn , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [RFC][PATCH] the proposal of improve page reclaim by throttle Message-ID: <20080219083124.2daf94e9@bree.surriel.com> In-Reply-To: <200802191735.00222.nickpiggin@yahoo.com.au> References: <20080219134715.7E90.KOSAKI.MOTOHIRO@jp.fujitsu.com> <200802191735.00222.nickpiggin@yahoo.com.au> Organization: Red Hat, Inc. X-Mailer: Claws Mail 3.0.2 (GTK+ 2.10.4; x86_64-redhat-linux-gnu) 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: 1066 Lines: 28 On Tue, 19 Feb 2008 17:34:59 +1100 Nick Piggin wrote: > On Tuesday 19 February 2008 16:44, KOSAKI Motohiro wrote: > > background > > ======================================== > > current VM implementation doesn't has limit of # of parallel reclaim. > > when heavy workload, it bring to 2 bad things > > - heavy lock contention > > - unnecessary swap out > I think it should maybe be a per-zone thing... > > What happens if you make it a per-zone mutex, and allow just a single > process to reclaim pages from a given zone at a time? I guess that is > going to slow down throughput a little bit in some cases though... I agree, doing things per zone will probably work better, because that way one process can do page reclaim on every NUMA node at the same time. -- All rights reversed. -- 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/