Red Hat Enterprise Linux システムで NUMA を無効にするには?
Environment
- Red Hat Enterprise Linux 4
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Issue
- Red Hat Enterprise Linux システムで NUMA を無効にする方法は?
Resolution
ブートローダー設定のカーネルコマンドラインに「numa=off」を追加してシステムを再起動すると、NUMA が無効になります。
例:
- RHEL 4、RHEL 5、RHEL 6 (
/boot/grub/grub.conf
)
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
)
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"
RHEL 7 で変更を有効にするには、grub 設定を再ビルドする必要がある点に注意してください。
~]# grub2-mkconfig -o /etc/grub2.cfg
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.