CentOS 7.x 如何关闭 numa

CentOS7.x中发现 numactl --interleave=all 执行失败。

CentOS7.x中可以通过下面的方式关闭 numa:

1. 编辑 /etc/default/grub 文件,如下图所示加上:numa=off

2. 重新生成 /etc/grub2.cfg 配置文件:

grub2-mkconfig -o /etc/grub2.cfg

3. 重启操作系统

  reboot

4. 重启之后进行确认:

  dmesg | grep -i numa

再次确认:cat /proc/cmdline

搞定。

参考:https://www.thegeekdiary.com/how-to-disable-numa-in-centos-rhel-67/ 

原文地址:https://www.cnblogs.com/digdeep/p/10013779.html