From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757415AbZELRVs (ORCPT ); Tue, 12 May 2009 13:21:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756407AbZELRVX (ORCPT ); Tue, 12 May 2009 13:21:23 -0400 Received: from smtp3.ultrahosting.com ([74.213.175.254]:43712 "EHLO smtp.ultrahosting.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755310AbZELRVW (ORCPT ); Tue, 12 May 2009 13:21:22 -0400 Date: Tue, 12 May 2009 17:20:02 -0400 (EDT) From: Christoph Lameter X-X-Sender: cl@qirst.com To: Rik van Riel cc: KOSAKI Motohiro , Wu Fengguang , Andrew Morton , "hannes@cmpxchg.org" , "peterz@infradead.org" , "linux-kernel@vger.kernel.org" , "tytso@mit.edu" , "linux-mm@kvack.org" , "elladan@eskimo.com" , "npiggin@suse.de" , "minchan.kim@gmail.com" Subject: Re: [PATCH -mm] vmscan: protect a fraction of file backed mapped pages from reclaim In-Reply-To: <4A09AC91.4060506@redhat.com> Message-ID: References: <20090508125859.210a2a25.akpm@linux-foundation.org> <20090512025246.GC7518@localhost> <20090512120002.D616.A69D9226@jp.fujitsu.com> <4A09AC91.4060506@redhat.com> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 12 May 2009, Rik van Riel wrote: > The patch that only allows active file pages to be deactivated > if the active file LRU is larger than the inactive file LRU should > protect the working set from being evicted due to streaming IO. Streaming I/O means access once? What exactly are the criteria for a page to be part of streaming I/O? AFAICT the definition is more dependent on the software running than on a certain usage pattern discernible to the VM. Software may after all perform multiple scans over a stream of data or go back to prior locations in the file.