The page table (PT) stores the mapping between virtual addresses and physical addresses. A translation lookaside buffer (TLB) is the high-speed cache of the PT in a CPU. A bigger PT indicates more memory for each entry in the TLB and a higher TLB hit ratio, thereby reducing the number of memory access requests. If TLB misses occur, you are advised to increase the PT size.
TLB memory size = Number of TLB entries x Memory page size
Modify the Linux kernel compile options and recompile the kernel (CentOS as an example).
1. Obtain the kernel source code and run the make menuconfig command in directory of the kernel source code (for example, /root/rpmbuild/BUILD/kernel-alt-4.14.0-115.el7a/linux-4.14.0-115.el7.0.1.aarch64).
2. Set the page size to 64 KB: Kernel Features-->Page size(64KB)
3. Recompile and install the kernel. For details, see https://bbs.huaweicloud.com/forum/thread-24362-1-1.html.