From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from spaceape8.eur.corp.google.com (spaceape8.eur.corp.google.com [172.28.16.142]) by smtp-out.google.com with ESMTP id l5PHal5p031205 for ; Mon, 25 Jun 2007 18:36:48 +0100 Received: from ug-out-1314.google.com (ugdo29.prod.google.com [10.66.141.29]) by spaceape8.eur.corp.google.com with ESMTP id l5PHZCwW029521 for ; Mon, 25 Jun 2007 18:36:37 +0100 Received: by ug-out-1314.google.com with SMTP id o29so1567673ugd for ; Mon, 25 Jun 2007 10:36:37 -0700 (PDT) Message-ID: <6599ad830706251036i43fd6069x9b4191cb672b4f21@mail.gmail.com> Date: Mon, 25 Jun 2007 10:36:37 -0700 From: "Paul Menage" Subject: Re: [RFC] mm-controller In-Reply-To: <6599ad830706251035t37f916dcr5e35e40e3470482c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1182418364.21117.134.camel@twins> <467A5B1F.5080204@linux.vnet.ibm.com> <1182433855.21117.160.camel@twins> <467BFA47.4050802@linux.vnet.ibm.com> <6599ad830706251035t37f916dcr5e35e40e3470482c@mail.gmail.com> Sender: owner-linux-mm@kvack.org Return-Path: To: Vaidyanathan Srinivasan Cc: Peter Zijlstra , balbir@linux.vnet.ibm.com, Linux Kernel , Linux Containers , linux-mm , Balbir Singh , Pavel Emelianov , Kirill Korotaev , devel@openvz.org, Andrew Morton , "Eric W. Biederman" , Herbert Poetzl , Roy Huang , Aubrey Li List-ID: On 6/25/07, Paul Menage wrote: > On 6/22/07, Vaidyanathan Srinivasan wrote: > > > > Merging both limits will eliminate the issue, however we would need > > individual limits for pagecache and RSS for better control. There are > > use cases for pagecache_limit alone without RSS_limit like the case of > > database application using direct IO, backup applications and > > streaming applications that does not make good use of pagecache. > > > > If streaming applications would otherwise litter the pagecache with > unwanted data, then limiting their total memory footprint (with a > single limit) and forcing them to drop old data sooner sounds like a > great idea. Actually, reading what you wrote more carefully, that's sort of what you were already saying. But it's not clear why you wouldn't also want to limit the anon pages for a job, if you're already concerned that it's not playing nicely with the rest of the system. Paul -- 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