Messages in this thread | | | Date | Tue, 31 Mar 2009 15:56:14 +0900 | From | KAMEZAWA Hiroyuki <> | Subject | Re: [RFC][PATCH] memcg soft limit (yet another new design) v1 |
| |
On Tue, 31 Mar 2009 12:19:02 +0530 Balbir Singh <balbir@linux.vnet.ibm.com> wrote:
> > > > > > Nothing special boot options. My test was on VMware 2cpus/1.6GB memory. > > > > > > > > I wonder why swapout can be 0 on your test. Do you add some extra hooks to > > > > kswapd ? > > > > > > > > > > Nope.. no special hooks to kswapd. B never enters the RB-Tree and thus > > > never hits the memcg soft limit reclaim path. kswapd can reclaim from > > > it, but it grows back quickly. > > Why grows back ? tasks in B sleeps ? > > Since B continuously consumes memory > Not sleep ?
In my test 1. malloc 1GB and touch all and sleep in B. Wait until the memory usage in B goes up to 1024MB. This never wake up until 3. 2. run make in group A. 3. kill malloc program.
Then why why continuously consumes memory ?
Thanks, -Kame
| |