Debian Codegraph @

EXAMPLES/memory/hugepage_split.meta

raw
1 title: Log the kernel splitting huge pages into normal sized pages
2 name: hugepage_split.stp
3 version: 1.0
4 author: William Cohen
5 keywords: memory
6 subsystem: memory
7 status: production
8 exit: user-controlled
9 output: sorted-list
10 scope: system-wide
11 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.
12 test_support: stap -l 'kernel.function("split_huge_page")'
13 test_check: stap -p4 hugepage_split.stp
14 test_installcheck: stap hugepage_split.stp -T 1