lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111020164205.GC25505@tiehlicka.suse.cz>
Date:	Thu, 20 Oct 2011 09:42:06 -0700
From:	Michal Hocko <mhocko@...e.cz>
To:	Glauber Costa <glommer@...allels.com>
Cc:	linux-mm@...ck.org, LKML <linux-kernel@...r.kernel.org>,
	Johannes Weiner <hannes@...xchg.org>,
	KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
	Daisuke Nishimura <nishimura@....nes.nec.co.jp>,
	Hugh Dickins <hughd@...gle.com>, Ying Han <yinghan@...gle.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Kir Kolyshkin <kir@...allels.com>,
	Pavel Emelianov <xemul@...allels.com>,
	GregThelen <gthelen@...gle.com>,
	"pjt@...gle.com" <pjt@...gle.com>, Tim Hockin <thockin@...gle.com>,
	Dave Hansen <dave@...ux.vnet.ibm.com>,
	Paul Menage <paul@...lmenage.org>,
	James Bottomley <James.Bottomley@...senPartnership.com>
Subject: Re: [RFD] Isolated memory cgroups again

On Thu 20-10-11 12:55:24, Glauber Costa wrote:
> On 10/20/2011 05:33 AM, Michal Hocko wrote:
> >Hi all,
> >this is a request for discussion (I hope we can touch this during memcg
> >meeting during the upcoming KS). I have brought this up earlier this
> >year before LSF (http://thread.gmane.org/gmane.linux.kernel.mm/60464).
> >The patch got much smaller since then due to excellent Johannes' memcg
> >naturalization work (http://thread.gmane.org/gmane.linux.kernel.mm/68724)
> >which this is based on.
> >I realize that this will be controversial but I would like to hear
> >whether this is strictly no-go or whether we can go that direction (the
> >implementation might differ of course).
> >
> >The patch is still half baked but I guess it should be sufficient to
> >show what I am trying to achieve.
> >The basic idea is that memcgs would get a new attribute (isolated) which
> >would control whether that group should be considered during global
> >reclaim.
> 
> I'd like to hear a bit more of your use cases,

The primary goal is to isolate the primary workload (e.g. database) from
the rest of the system which provide a support for the primary workload
(backups, administration tools etc). While we can do that even now just
by wrapping everything into different groups and set up proper limits it
gets really tricky if you want to overcommit the box because then the
global reclaim is inevitable so we will start reclaiming from all
groups.

> but at first, I don't like it. I think we should always, regardless of
> any knobs or definitions, be able to globally select a task or set of
> tasks, and kill them.

The patchset is not about OOM but rather about the reclaim. If there is
a global OOM situation we do not care about isolated memcgs.

[...]
-- 
Michal Hocko
SUSE Labs
SUSE LINUX s.r.o.
Lihovarska 1060/12
190 00 Praha 9    
Czech Republic
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ