Explore performance gains by increasing the Linux kernel page size on Arm
Introduction
Overview
Change page size on Ubuntu
Change page size on Debian
Change page size on CentOS
Next Steps
Explore performance gains by increasing the Linux kernel page size on Arm
Who is this for?
This is an introductory topic for developers who want to modify the Linux kernel page size on Arm-based systems to improve performance for memory-intensive workloads.
What will you learn?
Upon completion of this Learning Path, you will be able to:
- Explain the differences in page size configuration between Arm64 and x86 architectures.
- Understand how page size affects memory efficiency and system performance.
- Check the current memory page size on an Arm-based Linux system.
- Install and boot into a Linux kernel configured with 64K page size support.
- Confirm that the 64K page size is active.
- Optionally revert to the default 4K page size kernel.
Prerequisites
Before starting, you will need the following:
- Access to an Arm-based Linux system running Ubuntu, Debian, or CentOS.
Summary
This summary was drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
getconf and uname. OS-specific steps include Ubuntu and CentOS package-based flows, while Debian requires building a 64K kernel from source using the Debian source package. After reboot, you’ll validate the change by seeing 65536 from getconf and the expected kernel string. You’ll also review common Arm page size options and an optional step to revert to the default 4K kernel after testing.Frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
getconf PAGESIZE and uname -r. On a 4K configuration, the first line shows 4096, followed by the running kernel version and flavor.4096 indicates the system is already using a non-4K page size, such as 16384 or 65536. Note the current value and proceed only if a change is needed.getconf PAGESIZE and expect 65536. Also check uname -r to verify the kernel string matches the newly installed kernel.getconf PAGESIZE that it shows 4096. This restores the original base page size.