How to limit memory capacity for each numa node in linux

  Kiến thức lập trình

I have a 4 nodes server, and I’d like to limit memory capacity for each node as below.

Node 0: 32GB

Node 1: 192GB

Node 2: 0GB

Node 3: 0GB

When I tried to limit memory capacity with /etc/default/grub ‘mem=XXG’ command, it only applied for Node 0. How to apply memory limit for multiple NUMA node?

New contributor

Doru is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT