Lukas Barth
Lukas Barth
Home
Blog
Software
Publications
Related
Contact
Light
Dark
Automatic
Huge Pages
Allocating Huge Pages on Linux
If you build an application that uses large, contiguous amounts of memory, it can increase your performance if you allocate this memory in so-called
huge pages
. Linux offers you two ways of doing that - a legacy way and a modern way. This article describes the modern way of using huge pages, so called
transparent huge pages (THP)
and applies the techniques from a previous article to verify that we actually got huge pages. pages.
Published on Sep 11, 2023
13 min read
Cite
×