Transparent HugePages
The Transparent HugePages (THP) feature is enabled by default in Oracle Linux. With THP, the kernel automatically assigns huge pages to processes. With THP, you can assign only 2 MB pages on x86_64 platforms.
THP can run in the following modes:
system-wide
(default): The kernel assigns huge pages to processes that use large contiguous virtual memory areas whenever it's possible to do so.per-process:
The kernel only assigns huge pages to application processes that explicitly request huge pages through themadvise()
system call.
For more information about configuring THP, see Configuring Transparent HugePages