Rate This Document
Findability
Accuracy
Completeness
Readability

Upgrading to 64 KB Page Size

Purpose

Reduce the translation lookaside buffer (TLB) overhead, memory fragmentation, and I/Os to improve performance.

Preparations

Obtain the openEuler 22.03 LTS SP3 64 KB kernel RPM package: kernel-64kb-5.10.0-182.0.0.95.oe2203sp3.aarch64.rpm.

Procedure

  1. Install the RPM package.
    rpm -ivh kernel-64kb-5.10.0-182.0.0.95.oe2203sp3.aarch64.rpm --force

    You can safely ignore the following errors displayed during the installation process.

  2. Set the 64 KB kernel as the default boot option.
    grubby --set-default-index=0
  3. Stop ClickHouse.
    clickhouse stop

  4. Restart the system.
    reboot
  5. Check the kernel after the restart.
    uname -a
  6. Enable transparent huge pages after the restart.
    echo madvise > /sys/kernel/mm/transparent_hugepage/enabled