• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How to disable NUMA on EFI Boot Loaders using GRUB2 (CentOS/RHEL 6)

by admin

The purpose of this post is to explain the steps to disable NUMA on servers which use the EFI boot loader.

GRUB 2 is the default EFI-mode boot loader, so the steps are based on GRUB2.

1. Take a backup of /etc/default/grub configuration file.

# cp -p /etc/default/grub /etc/default/grub_backup

2. Edit /etc/default/grub file and replace numa=on to numa=off.

# vi /etc/default/grub
..
GRUB_CMDLINE_LINUX_DEFAULT="root=LABEL=DBSYS bootarea=dbsys bootfrom=BOOT ro loglevel=7 panic=60 debug pci=noaer log_buf_len=1m nmi_watchdog=0 transparent_hugepage=never rd_NO_PLYMOUTH audit=1 console=tty1 console=ttyS0,115200n8 crashkernel=448M@128M numa=off

3. Run the following command to rebuild the grub.cfg:

# grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg

4. Reboot the server to make the changes effect.

# shutdown -r now

NUMA STATUS

numactl command can be used to check the status of NUMA

# numactl -H | grep available
available: 8 nodes (0-7)

– or –

# numactl -H | grep available
available: 2 nodes (0-1)

If the number of available nodes is “2 nodes (0-1)” or “8 nodes (0-7)” then NUMA is enabled. If the number of available nodes is “1 nodes (0)” then NUMA is not enabled.

Filed Under: CentOS/RHEL 6, Linux

Some more articles you might also be interested in …

  1. Backtick (`) symbol in Linux Shell Scripting
  2. How to Permanently set the ethtool settings in CentOS/RHEL 6
  3. How to Replace a Failed Btrfs Device
  4. “-bash: route: command not found” on CentOS/RHEL 7
  5. How to Check whether SELinux is Enabled or Disabled
  6. CentOS / RHEL 7 : How to set udev rules for ASM on multipath disks
  7. CentOS / RHEL : Managing password ageing for users using chage (with practical Examples)
  8. Comparing NET-TOOLS V/s IPROUTE Package Commands (ip Vs ifconfig command comparison)
  9. lvcreate Command Examples in Linux
  10. CentOS / RHEL : How to allow or deny Users to login to VSFTP Server

You May Also Like

Primary Sidebar

Recent Posts

  • qemu-system-x86_64: command not found
  • timedatectl: command not found
  • mpirun.openmpi: command not found
  • startkde: command not found

© 2022 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright