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
- 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.

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

- Restart the system.
reboot
- Check the kernel after the restart.
uname -a
- Enable transparent huge pages after the restart.
echo madvise > /sys/kernel/mm/transparent_hugepage/enabled
Parent topic: OS Tuning