• 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. How to Determine Which Process is Writing to Disk in Linux
  2. arp: command not found
  3. How to find the inode size of an ext2/ext3/ext4 filesystem?
  4. CentOS / RHEL : How to get the date and time of executed command in the history command output
  5. netcat Command Examples in Linux
  6. Troubleshooting slow network communication or Connection Timeouts in Linux
  7. Intel I219-LM Centos 6 network failed to start
  8. e4defrag: command not found
  9. jobs: command not found
  10. ssh-keygen: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • ncat Command Examples in Linux
  • ncat: command not found
  • nautilus Command Examples in Linux
  • namei: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright