Re: Kernel scanning/freeing to relieve cgroup memory pressure

2014-04-17 Thread Glyn Normington
On 16/04/2014 10:11, Michal Hocko wrote: On Tue 15-04-14 09:38:10, Glyn Normington wrote: On 14/04/2014 21:50, Johannes Weiner wrote: On Mon, Apr 14, 2014 at 09:11:25AM +0100, Glyn Normington wrote: Johannes/Michal What are your thoughts on this matter? Do you see this as a valid requirement?

Re: Kernel scanning/freeing to relieve cgroup memory pressure

2014-04-16 Thread Michal Hocko
On Tue 15-04-14 09:38:10, Glyn Normington wrote: > On 14/04/2014 21:50, Johannes Weiner wrote: > >On Mon, Apr 14, 2014 at 09:11:25AM +0100, Glyn Normington wrote: > >>Johannes/Michal > >> > >>What are your thoughts on this matter? Do you see this as a valid > >>requirement? > >As Tejun said, memory

Re: Kernel scanning/freeing to relieve cgroup memory pressure

2014-04-15 Thread Glyn Normington
On 14/04/2014 21:50, Johannes Weiner wrote: On Mon, Apr 14, 2014 at 09:11:25AM +0100, Glyn Normington wrote: Johannes/Michal What are your thoughts on this matter? Do you see this as a valid requirement? As Tejun said, memory cgroups *do* respond to internal pressure and enter targetted reclai

Re: Kernel scanning/freeing to relieve cgroup memory pressure

2014-04-14 Thread Johannes Weiner
On Mon, Apr 14, 2014 at 09:11:25AM +0100, Glyn Normington wrote: > Johannes/Michal > > What are your thoughts on this matter? Do you see this as a valid > requirement? As Tejun said, memory cgroups *do* respond to internal pressure and enter targetted reclaim before invoking the OOM killer. So I

Re: Kernel scanning/freeing to relieve cgroup memory pressure

2014-04-14 Thread Glyn Normington
Johannes/Michal What are your thoughts on this matter? Do you see this as a valid requirement? Regards, Glyn On 02/04/2014 19:00, Tejun Heo wrote: (cc'ing memcg maintainers and cgroup ML) On Wed, Apr 02, 2014 at 02:08:04PM +0100, Glyn Normington wrote: Currently, a memory cgroup can hit it

Re: Kernel scanning/freeing to relieve cgroup memory pressure

2014-04-02 Thread Tejun Heo
(cc'ing memcg maintainers and cgroup ML) On Wed, Apr 02, 2014 at 02:08:04PM +0100, Glyn Normington wrote: > Currently, a memory cgroup can hit its oom limit when pages could, in > principle, be reclaimed by the kernel except that the kernel does not > respond directly to cgroup-local memory pressu

Kernel scanning/freeing to relieve cgroup memory pressure

2014-04-02 Thread Glyn Normington
Hi Tejun I'd like yourself and other cgroups developers to be aware of the use case below. Regards, Glyn Currently, a memory cgroup can hit its oom limit when pages could, in principle, be reclaimed by the kernel except that the kernel does not respond directly to cgroup-local memory pressure.