| 1 |
title: Log the kernel collapsing normal pages into a huge page |
| 2 |
name: hugepage_collapse.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: 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. |
| 12 |
test_support: stap -l 'kernel.function("collapse_huge_page")' |
| 13 |
test_check: stap -p4 hugepage_collapse.stp |
| 14 |
test_installcheck: stap hugepage_collapse.stp -T 1 |