Re: [PATCH V6 00/10] memcg: per cgroup background reclaim

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 20 Apr 2011 21:22:43 -0700
Ying Han <yinghan@xxxxxxxxxx> wrote:

> On Wed, Apr 20, 2011 at 8:40 PM, KAMEZAWA Hiroyuki <
> kamezawa.hiroyu@xxxxxxxxxxxxxx> wrote:
> 
> > On Mon, 18 Apr 2011 20:57:36 -0700
> > Ying Han <yinghan@xxxxxxxxxx> wrote:
> >
> > > 1. there are one kswapd thread per cgroup. the thread is created when the
> > > cgroup changes its limit_in_bytes and is deleted when the cgroup is being
> > > removed. In some enviroment when thousand of cgroups are being configured
> > on
> > > a single host, we will have thousand of kswapd threads. The memory
> > consumption
> > > would be 8k*100 = 8M. We don't see a big issue for now if the host can
> > host
> > > that many of cgroups.
> > >
> >
> > I don't think no-fix to this is ok.
> >
> > Here is a thread pool patch on your set. (and includes some more).
> > 3 patches in following e-mails.
> > Any comments are welocme, but my response may be delayed.
> >
> > Thank you for making up the patch, and I will take a look. Do I apply the 3
> patches on top of my patchset or they comes separately?

Ah, sorry, I made patches on
mmotm-Apr15 + Your Patch 1-8. (not including 9,10)

I dropped 10 just because of HUNK (caused by dropping 9) but as David pointed out,
we should make a consolidation with count_vm_event() (in different patch set)...
And I think you already have v7.
For this time, you can pick usable parts up to your set. I'll make an add-on again.

What imporatant here will be discussion for better implemenation.

Thanks,
-Kame





--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]