Disable NUMA & Change I/O Scheduler

 

  1. display NUMA state
    journalctl --dmesg | grep -i NUMA
    dmesg --kernel --human | grep -i NUMA

     only have one node, so it doesn't matter.

    numastat  # cat /sys/devices/system/node/node0/numastat

     

     

    NUMA的取舍与优化设置 - 星辰大海ゞ - 博客园 (cnblogs.com)

  2. disable NUMA 1
    # append /etc/default/grub
    GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0 console=ttyS0,115200 console=tty0 panic=5 numa=off"
    grub-mkconfig -o /boot/grub/grub.cfg

     

  3. disable NUMA 2
    grubby --info=DEFAULT
    grubby --update-kernel=DEFAULT --args='numa=off'
    grubby --info=/boot/vmlinuz-`uname -r`
    grubby --info=`grubby --default-index`

     

     

I/O Scheduler:

The Linux I/O scheduler controls the way the kernel commits read and writes to disk. 

Chapter 12. Setting the disk scheduler Red Hat Enterprise Linux 8 | Red Hat Customer Portal

Tuning I/O performance | System Analysis and Tuning Guide | openSUSE Leap 15.3

 

 

elevator kernel command line parameter is deprecated !

 

posted @ 2021-12-01 17:14  ascertain  阅读(59)  评论(0编辑  收藏  举报