From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx192.postini.com [74.125.245.192]) by kanga.kvack.org (Postfix) with SMTP id 6131C6B0032 for ; Wed, 26 Jun 2013 04:03:04 -0400 (EDT) Date: Wed, 26 Jun 2013 17:03:09 +0900 From: Minchan Kim Subject: Re: [PATCH] memcg: add interface to specify thresholds of vmpressure Message-ID: <20130626080309.GH29127@bbox> References: <001f01ce6e15$b7109950$2531cbf0$%kim@samsung.com> <20130621012234.GF11659@bbox> <20130621091944.GC12424@dhcp22.suse.cz> <20130621162743.GA2837@gmail.com> <005601ce6f0c$5948ff90$0bdafeb0$%kim@samsung.com> <005801ce6f1a$f1664f90$d432eeb0$%kim@samsung.com> <20130626073917.GE29127@bbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org List-ID: To: Kyungmin Park Cc: Hyunhee Kim , Michal Hocko , Anton Vorontsov , linux-mm@kvack.org, akpm@linux-foundation.org, rob@landley.net, kamezawa.hiroyu@jp.fujitsu.com, hannes@cmpxchg.org, rientjes@google.com, kirill@shutemov.name On Wed, Jun 26, 2013 at 04:50:32PM +0900, Kyungmin Park wrote: > On Wed, Jun 26, 2013 at 4:39 PM, Minchan Kim wrote: > > On Sat, Jun 22, 2013 at 04:34:34PM +0900, Hyunhee Kim wrote: > >> Memory pressure is calculated based on scanned/reclaimed ratio. The higher > >> the value, the more number unsuccessful reclaims there were. These thresholds > >> can be specified when each event is registered by writing it next to the > >> string of level. Default value is 60 for "medium" and 95 for "critical" > >> > >> Signed-off-by: Hyunhee Kim > >> Signed-off-by: Kyungmin Park > > > > As I mentioned eariler thread, it's not a good idea to expose each level's > > raw value to user space. If it's a problem, please fix default vaule and > > send a patch with number to convince us although I'm not sure we can get > > a stable number. > that's reason to send this patch, can we make a reasonable value to > cover all cases? > which number are satified for all person. I really wonder it. Then, I really wonder how we decide values we have to pass. IOW, how could admin tune the system with any values? > > Thank you, > Kyungmin Park > > -- > 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 -- Kind regards, Minchan Kim -- 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