How to disable NUMA in Red Hat Enterprise Linux system?

219 篇文章 2 订阅

 

How to disable NUMA in Red Hat Enterprise Linux system?

 SOLUTION 已验证 - 已更新 2019年七月11日19:29 - 

English 

环境

  • Red Hat Enterprise Linux 4
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7

问题

  • How to disable NUMA in Red Hat Enterprise Linux system?

决议

Adding the "numa=off" to kernel command line in boot loader configuration and rebooting the system will disable NUMA.

Examples:

  • RHEL 4, RHEL 5, RHEL 6 (/boot/grub/grub.conf)

Raw

    title Red Hat Enterprise Linux AS (2.6.9-55.EL)
            root (hd0,0)
            kernel /vmlinuz-2.6.9-55.EL ro root=/dev/VolGroup00/LogVol00 rhgb quiet numa=off
            initrd /initrd-2.6.9-55.EL.img
  • RHEL 7 (/etc/default/grub)

Raw

    GRUB_CMDLINE_LINUX="rd.lvm.lv=rhel_vm-210/root rd.lvm.lv=rhel_vm-210/swap vconsole.font=latarcyrheb-sun16 crashkernel=auto  vconsole.keymap=us rhgb quiet numa=off"

Please note, on RHEL 7 grub config has to be rebuilt for changes to take effect:

Raw

~]# grub2-mkconfig -o /etc/grub2.cfg
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值