Re: [RFC][PATCH] memcg soft limit (yet another new design) v1

From: KAMEZAWA Hiroyuki
Date: Tue Mar 31 2009 - 02:58:00 EST


On Tue, 31 Mar 2009 12:19:02 +0530
Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx> 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/