Atoptool / atop

System and process monitor for Linux
GNU General Public License v2.0
789 stars 110 forks source link

supplement AnonHugepages memory consumption #260

Closed liutingjieni closed 9 months ago

liutingjieni commented 1 year ago

HugePages is a feature integrated into the Linux kernel with release 2.6. It is a method to have larger pages where it is useful for working with very large memory. But it can be difficult to manage manually, and often require significant changes to code in order to be used effectively.

THP hides much of the complexity in using huge pages from system administrators and developers. It will always try to allocate memory with huge pages by kernel.

On some operating system distributions, users have enabled thp. And turning on THP may cause some unusual performance problems. Therefore it is necessary to collect.