HEX
Server: Apache/2.4.34 (Red Hat) OpenSSL/1.0.2k-fips
System: Linux WORDPRESS 3.10.0-1160.118.1.el7.x86_64 #1 SMP Thu Apr 4 03:33:23 EDT 2024 x86_64
User: digital (1020)
PHP: 7.2.24
Disabled: NONE
Upload Files
File: //usr/share/systemtap/examples/memory/hugepage_collapse.meta
title: Log the kernel collapsing normal pages into a huge page
name: hugepage_collapse.stp
version: 1.0
author: William Cohen
keywords: memory
subsystem: memory
status: production
exit: user-controlled
output: sorted-list
scope: system-wide
description: The kernel may attempt to group many normal sized pages into a single huge page to improve TLB performance.  This operation may take a significant amount of time and affect program performance.  You can identify if huge page collapse operations are occurring with the systemtap hugepage_collapse.stp script.
test_support: stap -l 'kernel.function("collapse_huge_page")'
test_check: stap -p4 hugepage_collapse.stp
test_installcheck: stap hugepage_collapse.stp -T 1