How to enable or disable transparent (THP) and explicit (nr_hugepages) hugepage and check the status in Linux with examples (explained in detail)

How to enable or disable transparent (THP) and explicit (nr_hugepages) hugepage and check the status in Linux with examples (explained in detail)

Below list of topics are covered in this article: Types of HugePages How to disable Transparent Hugepages on runtime How to disable Transparent Hugepages permanently using GRUB2 How to disable Transparent Hugepages permanently using tuned profile Use your existing tuned profile Create a new customised tuned profile How to check if HugePages is disabled How ... Read more How to enable or disable transparent (THP) and explicit (nr_hugepages) hugepage and check the status in Linux with examples (explained in detail)

What is transparent hugepage (THP) and how to check THP usage per process in Linux (Explained)

Hugepages is a feature that allows the Linux kernel to utilise the multiple page size capabilities of modern hardware architectures. Memory is managed in blocks known as pages. A page is 4096 bytes. 1MB of memory is equal to 256 pages; 1GB of memory is equal to 256,000 pages, etc. To get the page size ... Read more What is transparent hugepage (THP) and how to check THP usage per process in Linux (Explained)