No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Huawei SAP HANA Appliance Single Node Installation Guide (KunLun 9008 and 9016) 09

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring the grub Service

Configuring the grub Service

  1. Run the vim /etc/default/grub command to open the file.
  2. Add transparent_hugepage=never to the end of GRUB_CMDLINE_LINUX_DEFAULT to disable the transparent huge page (THP) service.

    NOTE:
    • Run the following command to check the status of the THP service. If the command output is different from the following information, you need to disable the THP.
      #cat /sys/kernel/mm/transparent_hugepage/enabled
      always madvise [never]
    • Run the following command to temporarily disable the THP service, making the THP service remain disabled before the next system restart. That is, the THP is enabled upon the next restart.
      # echo never > /sys/kernel/mm/transparent_hugepage/enabled

  3. Add intel_idle.max_cstate=1 processor.max_state=1 to the end of GRUB_CMDLINE_LINUX_DEFAULT to configure C-States.

    NOTE:
    • Intel CPUs generally work in the C0 state. A higher C state indicates less energy consumption. However, for low-latency applications, spending extra time in starting and stopping code will cause performance deterioration. Therefore, the recommended C state is C0 or C1. Enabling C-States in the BIOS will cause performance to deteriorate. Therefore, C-States must be disabled in the BIOS.
    • Run the following command to check the C-States status:
      #cat /sys/devices/system/cpu/cpuidle/current_driver
      None

  4. Add numa_balancing=disable to the end of GRUB_CMDLINE_LINUX_DEFAULT to disable the AutoNUMA service.

    NOTE:
    Run the following command to check the AutoNUMA status:
    #cat /proc/sys/kernel/numa_balancing
    0

  5. After efi=old_map nowatchdog nosoftlockup rcutree.rcu_cpu_stall_suppress=1 to the end of GRUB_CMDLINE_LINUX_DEFAULT.

  6. Run the grub2-mkconfig -o /boot/grub2/grub.cfg command to save the configuration.
  7. Restart the server for the configuration to take effect.

    NOTE:

    After you configure the grub service, you need to restart the server for the configuration to take effect. To avoid repeatedly restarting the server, it is recommended that you restart the server after you complete all configurations in this chapter.

Translation
Download
Updated: 2019-06-17

Document ID: EDOC1100004728

Views: 36410

Downloads: 122

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next