From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e33.co.us.ibm.com (8.12.11/8.12.11) with ESMTP id k2AFfJQH017511 for ; Fri, 10 Mar 2006 10:41:19 -0500 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay04.boulder.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id k2AFiAQP157178 for ; Fri, 10 Mar 2006 08:44:10 -0700 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id k2AFfIlC005507 for ; Fri, 10 Mar 2006 08:41:18 -0700 Subject: Re: [PATCH 03/03] Unmapped: Add guarantee code From: Chandra Seetharaman Reply-To: sekharan@us.ibm.com In-Reply-To: References: <20060310034412.8340.90939.sendpatchset@cherry.local> <20060310034429.8340.61997.sendpatchset@cherry.local> <44110727.802@yahoo.com.au> Content-Type: text/plain Date: Fri, 10 Mar 2006 07:41:17 -0800 Message-Id: <1142005277.8174.107.camel@linuxchandra> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Magnus Damm Cc: Nick Piggin , Magnus Damm , Linux Kernel , linux-mm@kvack.org, Valerie Clement List-ID: On Fri, 2006-03-10 at 15:04 +0900, Magnus Damm wrote: > On 3/10/06, Nick Piggin wrote: > > Magnus Damm wrote: > > > Implement per-LRU guarantee through sysctl. > > > > > > This patch introduces the two new sysctl files "node_mapped_guar" and > > > "node_unmapped_guar". Each file contains one percentage per node and tells > > > the system how many percentage of all pages that should be kept in RAM as > > > unmapped or mapped pages. > > > > > > > The whole Linux VM philosophy until now has been to get away from stuff > > like this. > > Yeah, and Linux has never supported memory resource control either, right? > > > If your app is really that specialised then maybe it can use mlock. If > > not, maybe the VM is currently broken. > > > > You do have a real-world workload that is significantly improved by this, > > right? > > Not really, but I think there is a demand for memory resource control today. As a person who is working on CKRM, I totally agree with this :) > > The memory controller in ckrm also breaks out the LRU, but puts one > LRU instance in each class. My code does not depend on ckrm, but it > should be possible to have some kind of resource control with this i do not understand how breaking lru lists into mapped/unmapped pages and providing a knob to control the proportion of mapped/unmapped pages in a node help in resource control. Can you explain, please. I am very interested. > patch and cpusets. And yeah, add numa emulation if you are out of > nodes. =) > > Thanks, > > / magnus > > -- > 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/ . > Don't email: email@kvack.org -- ---------------------------------------------------------------------- Chandra Seetharaman | Be careful what you choose.... - sekharan@us.ibm.com | .......you may get it. ---------------------------------------------------------------------- -- 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/ . Don't email: email@kvack.org