digdeep

凡是过去,皆是序幕。Read the fucking manual and source code.

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

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/ 

posted on 2018-11-24 22:01  digdeep  阅读(6839)  评论(0编辑  收藏  举报
不懂数据库和Web安全的架构师不是一个好的程序员。