CentOS 7.x 如何关闭 numa

Posted digdeep

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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/ 

以上是关于CentOS 7.x 如何关闭 numa的主要内容,如果未能解决你的问题,请参考以下文章