All of lore.kernel.org
 help / color / mirror / Atom feed
* per-NUMA memory limits in mem cgroup?
@ 2018-04-20 17:43 Chris Friesen
  2018-04-22 12:46 ` Michal Hocko
  0 siblings, 1 reply; 6+ messages in thread
From: Chris Friesen @ 2018-04-20 17:43 UTC (permalink / raw)
  To: cgroups@vger.kernel.org, linux-mm, Johannes Weiner, Michal Hocko,
	Vladimir Davydov

Hi,

I'm aware of the ability to use the memory controller to limit how much memory a 
group of tasks can consume.

Is there any way to limit how much memory a group of tasks can consume *per NUMA 
node*?

The specific scenario I'm considering is that of a hypervisor host.  I have 
system management stuff running on the host that may need more than one core, 
and currently these host tasks might be affined to cores from multiple NUMA 
nodes.  I'd like to put a cap on how much memory the host tasks can allocate 
from each NUMA node in order to ensure that there is a guaranteed amount of 
memory available for VMs on each NUMA node.

Is this possible, or are the knobs just not there?

Thanks,
Chris

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-04-24 15:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-20 17:43 per-NUMA memory limits in mem cgroup? Chris Friesen
2018-04-22 12:46 ` Michal Hocko
2018-04-23 15:29   ` Chris Friesen
2018-04-24 13:27     ` Michal Hocko
2018-04-24 15:13       ` Chris Friesen
2018-04-24 15:23         ` Michal Hocko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.