Re: [PATCH 5/7] memcg: get rid of once-per-second cache shrinking for dead memcgs

2012-11-16 Thread Glauber Costa
On 11/16/2012 06:55 PM, Michal Hocko wrote: > On Fri 16-11-12 16:21:59, KAMEZAWA Hiroyuki wrote: >> (2012/11/16 16:11), Glauber Costa wrote: >>> On 11/16/2012 09:07 AM, Kamezawa Hiroyuki wrote: (2012/11/15 22:47), Glauber Costa wrote: > On 11/15/2012 01:41 PM, Kamezawa Hiroyuki wrote:

Re: [PATCH 5/7] memcg: get rid of once-per-second cache shrinking for dead memcgs

2012-11-16 Thread Michal Hocko
On Fri 16-11-12 16:21:59, KAMEZAWA Hiroyuki wrote: > (2012/11/16 16:11), Glauber Costa wrote: > > On 11/16/2012 09:07 AM, Kamezawa Hiroyuki wrote: > >> (2012/11/15 22:47), Glauber Costa wrote: > >>> On 11/15/2012 01:41 PM, Kamezawa Hiroyuki wrote: > (2012/11/15 11:54), Glauber Costa wrote: > >

Re: [PATCH 5/7] memcg: get rid of once-per-second cache shrinking for dead memcgs

2012-11-15 Thread Kamezawa Hiroyuki
(2012/11/16 16:11), Glauber Costa wrote: > On 11/16/2012 09:07 AM, Kamezawa Hiroyuki wrote: >> (2012/11/15 22:47), Glauber Costa wrote: >>> On 11/15/2012 01:41 PM, Kamezawa Hiroyuki wrote: (2012/11/15 11:54), Glauber Costa wrote: > The idea is to synchronously do it, leaving it up to the s

Re: [PATCH 5/7] memcg: get rid of once-per-second cache shrinking for dead memcgs

2012-11-15 Thread Glauber Costa
On 11/16/2012 09:07 AM, Kamezawa Hiroyuki wrote: > (2012/11/15 22:47), Glauber Costa wrote: >> On 11/15/2012 01:41 PM, Kamezawa Hiroyuki wrote: >>> (2012/11/15 11:54), Glauber Costa wrote: The idea is to synchronously do it, leaving it up to the shrinking facilities in vmscan.c and/or oth

Re: [PATCH 5/7] memcg: get rid of once-per-second cache shrinking for dead memcgs

2012-11-15 Thread Kamezawa Hiroyuki
(2012/11/15 22:47), Glauber Costa wrote: > On 11/15/2012 01:41 PM, Kamezawa Hiroyuki wrote: >> (2012/11/15 11:54), Glauber Costa wrote: >>> The idea is to synchronously do it, leaving it up to the shrinking >>> facilities in vmscan.c and/or others. Not actively retrying shrinking >>> may leave the

Re: [PATCH 5/7] memcg: get rid of once-per-second cache shrinking for dead memcgs

2012-11-15 Thread Glauber Costa
On 11/15/2012 01:41 PM, Kamezawa Hiroyuki wrote: > (2012/11/15 11:54), Glauber Costa wrote: >> The idea is to synchronously do it, leaving it up to the shrinking >> facilities in vmscan.c and/or others. Not actively retrying shrinking >> may leave the caches alive for more time, but it will remove

Re: [PATCH 5/7] memcg: get rid of once-per-second cache shrinking for dead memcgs

2012-11-15 Thread Kamezawa Hiroyuki
(2012/11/15 11:54), Glauber Costa wrote: > The idea is to synchronously do it, leaving it up to the shrinking > facilities in vmscan.c and/or others. Not actively retrying shrinking > may leave the caches alive for more time, but it will remove the ugly > wakeups. One would argue that if the caches