-
Notifications
You must be signed in to change notification settings - Fork 17
Development Status
Currently (2025 H2 and 2026 H1), HPA is the priority of the development and options are subject to change in the dev branch. c0889acb6c286c837530fdbeb96007b0dee8b776 is the current stable and we will make a release on it by the end of 2025.
The Huge Page Allocator (HPA) is a feature in jemalloc designed to improve memory management efficiency by leveraging huge pages. Enabling HPA can reduce dTLB misses and improve CPU performance at the cost of larger memory footprint. HPA is a page-level allocator users can opt in using runtime option hpa:true. If not opted in, another page-level allocator Page Allocator Classic (PAC) will be used, which is also the default page-level allocator.
HPA is still under active development. We are continuing to explore ways to further improve the efficiency of the CPU memory trade-offs in HPA. As we refine the design, the current set of HPA-related options, i.e., options with prefix hpa_ is not yet final. If you are experimenting with HPA, please be aware that HPA options may have different behavior or be removed in future releases.