我要评分
获取效率
正确性
完整性
易理解

Setting 64 KB Page Table

Purpose

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

Preparations

Obtain the openEuler-22.03-lts-sp3 kernel RPM package that supports 64 KB pages through the link: 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
  2. Set the kernel of 64 KB page table to be started by default.
    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