From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail138.messagelabs.com (mail138.messagelabs.com [216.82.249.35]) by kanga.kvack.org (Postfix) with ESMTP id D92F46B0069 for ; Sun, 6 Nov 2011 21:46:27 -0500 (EST) Received: from m2.gw.fujitsu.co.jp (unknown [10.0.50.72]) by fgwmail6.fujitsu.co.jp (Postfix) with ESMTP id 262E13EE0BD for ; Mon, 7 Nov 2011 11:46:25 +0900 (JST) Received: from smail (m2 [127.0.0.1]) by outgoing.m2.gw.fujitsu.co.jp (Postfix) with ESMTP id 098FC45DE6D for ; Mon, 7 Nov 2011 11:46:25 +0900 (JST) Received: from s2.gw.fujitsu.co.jp (s2.gw.fujitsu.co.jp [10.0.50.92]) by m2.gw.fujitsu.co.jp (Postfix) with ESMTP id DEEC345DE68 for ; Mon, 7 Nov 2011 11:46:24 +0900 (JST) Received: from s2.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s2.gw.fujitsu.co.jp (Postfix) with ESMTP id CE3381DB802C for ; Mon, 7 Nov 2011 11:46:24 +0900 (JST) Received: from ml13.s.css.fujitsu.com (ml13.s.css.fujitsu.com [10.240.81.133]) by s2.gw.fujitsu.co.jp (Postfix) with ESMTP id 8F2A11DB803A for ; Mon, 7 Nov 2011 11:46:24 +0900 (JST) Date: Mon, 7 Nov 2011 11:45:20 +0900 From: KAMEZAWA Hiroyuki Subject: Re: [rfc 3/3] mm: vmscan: revert file list boost on lru addition Message-Id: <20111107114520.33050d75.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <20111102163247.GJ19965@redhat.com> References: <20110808110658.31053.55013.stgit@localhost6> <4E3FD403.6000400@parallels.com> <20111102163056.GG19965@redhat.com> <20111102163247.GJ19965@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Johannes Weiner Cc: Konstantin Khlebnikov , Pekka Enberg , "linux-mm@kvack.org" , Andrew Morton , "linux-kernel@vger.kernel.org" , Wu Fengguang , Johannes Weiner , Rik van Riel , Mel Gorman , Minchan Kim , Gene Heskett On Wed, 2 Nov 2011 17:32:47 +0100 Johannes Weiner wrote: > The idea in 9ff473b 'vmscan: evict streaming IO first' was to steer > reclaim focus onto file pages with every new file page that hits the > lru list, so that an influx of used-once file pages does not lead to > swapping of anonymous pages. > > The problem is that nobody is fixing up the balance if the pages in > fact become part of the resident set. > > Anonymous page creation is neutral to the inter-lru balance, so even a > comparably tiny number of heavily used file pages tip the balance in > favor of the file list. > > In addition, there is no refault detection, and every refault will > bias the balance even more. A thrashing file working set will be > mistaken for a very lucrative source of reclaimable pages. > > As anonymous pages are no longer swapped above a certain priority > level, this mechanism is no longer needed. Used-once file pages > should get reclaimed before the VM even considers swapping. > > Signed-off-by: Johannes Weiner Do you have some results ? Thanks, -Kame -- 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