Re: [patch] memcg: add oom killer delay

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

 



On Mon, 7 Mar 2011 21:30:19 -0800 (PST)
David Rientjes <rientjes@xxxxxxxxxx> wrote:

> On Tue, 8 Mar 2011, KAMEZAWA Hiroyuki wrote:
> 
> > Hmm? That's an unexpected answer. Why system's capacity is problem here ?
> > (root memcg has no 'limit' always.)
> > 
> > Is it a problem that 'there is no 'guarantee' or 'private page pool'
> > for daemons ?
> > 
> 
> It's not an inherent problem of memcg, it's a configuration issue: if your 
> userspace application cannot respond to address an oom condition in a 
> memcg for whatever reason (such as it being in an oom memcg itself), then 
> there's a chance that the memcg will livelock since the kernel cannot do 
> anything to fix the issue itself.
> 
> That's aside from the general purpose of the new 
> memory.oom_delay_millisecs: users may want a grace period for userspace to 
> increase the hard limit or kill a task before deferring to the kernel.  
> That seems exponentially more useful than simply disabling the oom killer 
> entirely with memory.oom_control.  I think it's unfortunate 
> memory.oom_control was merged frst and seems to have tainted this entire 
> discussion.
> 

That sounds like a mis-usage problem....what kind of workaround is offerred
if the user doesn't configure oom_delay_millisecs , a yet another mis-usage ?

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]