HEX
Server: Apache
System: Linux wp02.tdr-lab.com 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64
User: kusanagi (1001)
PHP: 7.4.23
Disabled: NONE
Upload Files
File: //usr/share/systemtap/examples/memory/hugepage_split.meta
title: Log the kernel splitting huge pages into normal sized pages
name: hugepage_split.stp
version: 1.0
author: William Cohen
keywords: memory
subsystem: memory
status: production
exit: user-controlled
output: sorted-list
scope: system-wide
description: Because some portions of the kernel code only work with normal-sized pages the kernel may convert a huge page into a set of normal-sized pages using a split operation. This operation may be relatively expensive and noticeable to latency sensitive programs. You can identify if split operations are occurring with the systemtap hugepage_split.stp script.
test_support: stap -l 'kernel.function("split_huge_page")'
test_check: stap -p4 hugepage_split.stp
test_installcheck: stap hugepage_split.stp -T 1