Re: per-NUMA memory limits in mem cgroup?

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

 



On 04/22/2018 08:46 AM, Michal Hocko wrote:
On Fri 20-04-18 11:43:07, Chris Friesen wrote:

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?

Not possible right now. What would be the policy when you reach the
limit on one node? Fallback to other nodes? What if those hit the limit
as well? OOM killer or an allocation failure?

I'd envision it working exactly the same as the current memory cgroup, but with the ability to specify optional per-NUMA-node limits in addition to system-wide.

Chris




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

  Powered by Linux