Retrieving the Current Status of Transparent HugePages
This procedure shows how to see the current status of THP in the sysfs
virtual file system.
For more information about using the sysfs
virtual file system, see Oracle Linux 8: Managing Kernels and System Boot
To see the current setting of THP you can read the
/sys/kernel/mm/transparent_hugepage/enabled
parameter.