From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=54634 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDhbm-0008L2-6H for qemu-devel@nongnu.org; Wed, 03 Nov 2010 13:58:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDhbk-0001av-8H for qemu-devel@nongnu.org; Wed, 03 Nov 2010 13:58:50 -0400 Received: from smtp106.prem.mail.ac4.yahoo.com ([76.13.13.45]:21000) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PDhbk-0001aW-4q for qemu-devel@nongnu.org; Wed, 03 Nov 2010 13:58:48 -0400 Date: Wed, 3 Nov 2010 12:58:45 -0500 (CDT) From: Christoph Lameter In-Reply-To: <20101103171733.GP3769@balbir.in.ibm.com> Message-ID: References: <20101028224002.32626.13015.sendpatchset@localhost.localdomain> <20101028224008.32626.69769.sendpatchset@localhost.localdomain> <20101103171733.GP3769@balbir.in.ibm.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [Qemu-devel] Re: [RFC][PATCH 1/3] Linux/Guest unmapped page cache control List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Balbir Singh Cc: linux-mm@kvack.org, qemu-devel@nongnu.org, kvm@vger.kernel.org On Wed, 3 Nov 2010, Balbir Singh wrote: > > > +#define UNMAPPED_PAGE_RATIO 16 > > > > Maybe come up with a scheme that allows better configuration of the > > mininum? I think in some setting we may want an absolute limit and in > > other a fraction of something (total zone size or working set?) > > > > Are you suggesting a sysctl or computation based on zone size and > limit, etc? I understand it to be the latter. Do a computation based on zone size on startup and then allow the user to modify the absolute size of the page cache? Hmmm.. That would have to be per zone/node or somehow distributed over all zones/nodes.