Skip to content

hugetop: Introduce utility to display system/process huge page information

zhenwei pi requested to merge pizhenwei/procps:hugetop into master

There are at most 1TB memory on a modern server(until 2023), hugetlb is used quite widely:

  • the TLB size of MMU is still quite small, hugetlb reduces misses significantly.
  • the pages of hugetlb are isolated from kernel buddy system, these pages would not be migrated/swaped/compacted. These pages are stable.

Performace aware programs(Ex QEMU, SPDK, DPDK) supports hugetlb for a long time. however there is a lack of common utility.

A screenshot of hugetop:

hugetop - Thu Jan 18 17:26:34 2024
Size 2M, Total 6000, Free 1497
     PID     SHARED    PRIVATE COMMAND
 3295239          0       4096 qemu-system-x86
 3454033          0        407 reactor_0

Signed-off-by: zhenwei pi pizhenwei@bytedance.com

Edited by zhenwei pi

Merge request reports