Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751387AbXAXM6P (ORCPT ); Wed, 24 Jan 2007 07:58:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751391AbXAXM6P (ORCPT ); Wed, 24 Jan 2007 07:58:15 -0500 Received: from amsfep17-int.chello.nl ([213.46.243.15]:42678 "EHLO amsfep12-int.chello.nl" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751387AbXAXM6N (ORCPT ); Wed, 24 Jan 2007 07:58:13 -0500 Subject: Re: [RFC] Limit the size of the pagecache From: Peter Zijlstra To: Nick Piggin Cc: Christoph Lameter , Aubrey Li , Vaidyanathan Srinivasan , Robin Getz , "Henn, erich, Michael" , linux-mm@kvack.org, linux-kernel@vger.kernel.org In-Reply-To: <45B7561C.9000102@yahoo.com.au> References: <1169625333.4493.16.camel@taijtu> <45B7561C.9000102@yahoo.com.au> Content-Type: text/plain Date: Wed, 24 Jan 2007 13:58:08 +0100 Message-Id: <1169643488.6189.18.camel@twins> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1202 Lines: 29 On Wed, 2007-01-24 at 23:50 +1100, Nick Piggin wrote: > Peter Zijlstra wrote: > > On Tue, 2007-01-23 at 16:49 -0800, Christoph Lameter wrote: > > >>2. Insure rapid turnaround of pages in the cache. > > [...] > > > The only maybe valid point would be 2, and I'd like to see if we can't > > solve that differently - a better use-once logic comes to mind. > > There must be something I'm missing with that point. The faster > the turnaround of pagecache pages, the *less* efficiently the > pagecache is working (assuming a rapid turnaround means a high > rate of pages brought into, then reclaimed from pagecache). > > I can't argue that a smaller pagecache will be subject to a > higher turnaround given the same workload, but I don't know why > that would be a good thing. I interpreted the issue as selecting the wrong pages for the 'working set'. Like not quickly evicting pages from a large streaming read, which then pushes out more useful pages. - 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/