Increase application performance with libhugetlbfs
Introduction
Enable libhugetlbfs
Enable libhugetlbfs on MySQL
Next Steps
Increase application performance with libhugetlbfs
Who is this for?
This is an advanced topic for engineers looking for ways to increase performance on Arm servers.
What will you learn?
After completing this Learning Path, you'll be able to perform the following tasks:
- Enable `libhugetlbfs` on an Arm server running Linux.
- Evaluate performance improvements for workloads such as MySQL.
Prerequisites
Before starting, you'll need the following prerequisites:
- An Arm server or virtual machine instance from a cloud service provider with Ubuntu installed
- Knowledge of how to build a MySQL server and run the sysbench benchmark test
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.
You’ll enable
libhugetlbfs on an Arm Linux server and configure hugepages for application text, data, heap allocations, and shared memory. First, you’ll apply the settings to a MySQL workload, use sysbench to capture a baseline, and compare results after the change. Then, you’ll use the comparison to evaluate whether large pages might help workloads affected by frequent TLB misses.