Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964970AbVLaOxh (ORCPT ); Sat, 31 Dec 2005 09:53:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964976AbVLaOxh (ORCPT ); Sat, 31 Dec 2005 09:53:37 -0500 Received: from mx1.redhat.com ([66.187.233.31]:1738 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S964970AbVLaOxg (ORCPT ); Sat, 31 Dec 2005 09:53:36 -0500 Date: Sat, 31 Dec 2005 09:53:11 -0500 (EST) From: Rik van Riel X-X-Sender: riel@cuia.boston.redhat.com To: Peter Zijlstra cc: Marcelo Tosatti , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Morton , Christoph Lameter , Wu Fengguang , Nick Piggin , Marijn Meijles Subject: Re: [PATCH 1/9] clockpro-nonresident.patch In-Reply-To: <1136022886.17853.18.camel@twins> Message-ID: References: <20051230223952.765.21096.sendpatchset@twins.localnet> <20051230224222.765.32499.sendpatchset@twins.localnet> <20051231011324.GB4913@dmt.cnet> <1136022886.17853.18.camel@twins> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1362 Lines: 37 On Sat, 31 Dec 2005, Peter Zijlstra wrote: > > > +/* > > > + * For interactive workloads, we remember about as many non-resident pages > > > + * as we have actual memory pages. For server workloads with large inter- > > > + * reference distances we could benefit from remembering more. > > > + */ > > > > This comment is bogus. Interactive or server loads have nothing to do > > with the inter reference distance. To the contrary, interactive loads > > have a higher chance to contain large inter reference distances, and > > many common server loads have strong locality. > > > > > > Happy to drop it, Rik? Sorry, but the comment is accurate. For interactive workloads you want to forget interreference distances between two updatedbs, even if mozilla didn't get used all weekend. OTOH, on NFS servers, or other systems with large interreference distances, you may _need_ to remember a larger set of non-resident pages in order to find the pages that are the hottest. In those workloads, the shortest inter-reference distance might still be larger than the size of memory... -- 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/