Re: [RFC] memory cgroup: weak points of kmem accounting design

2014-09-21 Thread Vladimir Davydov
Hi Greg, On Wed, Sep 17, 2014 at 09:04:00PM -0700, Greg Thelen wrote: > I've found per memcg per cache type stats useful in answering "why is my > container oom?" While these are kernel allocations, it is common for > user space operations to cause these allocations (e.g. lots of open file >

Re: [RFC] memory cgroup: weak points of kmem accounting design

2014-09-21 Thread Vladimir Davydov
Hi Greg, On Wed, Sep 17, 2014 at 09:04:00PM -0700, Greg Thelen wrote: I've found per memcg per cache type stats useful in answering why is my container oom? While these are kernel allocations, it is common for user space operations to cause these allocations (e.g. lots of open file

Re: [RFC] memory cgroup: weak points of kmem accounting design

2014-09-18 Thread Greg Thelen
On Tue, Sep 16 2014, Vladimir Davydov wrote: > Hi Suleiman, > > On Mon, Sep 15, 2014 at 12:13:33PM -0700, Suleiman Souhlal wrote: >> On Mon, Sep 15, 2014 at 3:44 AM, Vladimir Davydov >> wrote: >> > Hi, >> > >> > I'd like to discuss downsides of the kmem accounting part of the memory >> > cgroup

Re: [RFC] memory cgroup: weak points of kmem accounting design

2014-09-18 Thread Greg Thelen
On Tue, Sep 16 2014, Vladimir Davydov wrote: Hi Suleiman, On Mon, Sep 15, 2014 at 12:13:33PM -0700, Suleiman Souhlal wrote: On Mon, Sep 15, 2014 at 3:44 AM, Vladimir Davydov vdavy...@parallels.com wrote: Hi, I'd like to discuss downsides of the kmem accounting part of the memory

Re: [RFC] memory cgroup: weak points of kmem accounting design

2014-09-16 Thread Vladimir Davydov
Hi Suleiman, On Mon, Sep 15, 2014 at 12:13:33PM -0700, Suleiman Souhlal wrote: > On Mon, Sep 15, 2014 at 3:44 AM, Vladimir Davydov > wrote: > > Hi, > > > > I'd like to discuss downsides of the kmem accounting part of the memory > > cgroup controller and a possible way to fix them. I'd really

Re: [RFC] memory cgroup: weak points of kmem accounting design

2014-09-16 Thread Vladimir Davydov
Hi Suleiman, On Mon, Sep 15, 2014 at 12:13:33PM -0700, Suleiman Souhlal wrote: On Mon, Sep 15, 2014 at 3:44 AM, Vladimir Davydov vdavy...@parallels.com wrote: Hi, I'd like to discuss downsides of the kmem accounting part of the memory cgroup controller and a possible way to fix them.

Re: [RFC] memory cgroup: weak points of kmem accounting design

2014-09-15 Thread Suleiman Souhlal
On Mon, Sep 15, 2014 at 3:44 AM, Vladimir Davydov wrote: > Hi, > > I'd like to discuss downsides of the kmem accounting part of the memory > cgroup controller and a possible way to fix them. I'd really appreciate > if you could share your thoughts on it. > > The idea lying behind the kmem

[RFC] memory cgroup: weak points of kmem accounting design

2014-09-15 Thread Vladimir Davydov
Hi, I'd like to discuss downsides of the kmem accounting part of the memory cgroup controller and a possible way to fix them. I'd really appreciate if you could share your thoughts on it. The idea lying behind the kmem accounting design is to provide each memory cgroup with its private copy of

[RFC] memory cgroup: weak points of kmem accounting design

2014-09-15 Thread Vladimir Davydov
Hi, I'd like to discuss downsides of the kmem accounting part of the memory cgroup controller and a possible way to fix them. I'd really appreciate if you could share your thoughts on it. The idea lying behind the kmem accounting design is to provide each memory cgroup with its private copy of

Re: [RFC] memory cgroup: weak points of kmem accounting design

2014-09-15 Thread Suleiman Souhlal
On Mon, Sep 15, 2014 at 3:44 AM, Vladimir Davydov vdavy...@parallels.com wrote: Hi, I'd like to discuss downsides of the kmem accounting part of the memory cgroup controller and a possible way to fix them. I'd really appreciate if you could share your thoughts on it. The idea lying behind