Repository navigation
Revert "perf(umbp): ask for transparent hugepages on the anonymous DR… - #687
Merged
Merged
Conversation
…AM tier …" This reverts commit 2cc0ac3.
4 tasks done
seungrokj
added a commit
that referenced
this pull request
Dec 2, 2026
UMBP_HOST_USE_THP=1 backs plain anonymous host buffers of at least 2 MiB that are prefaulted at allocation (DRAM tier, ranged scratch, SSD staging, hugetlb fallback) with transparent hugepages: 2 MiB-aligned mapping, madvise(MADV_HUGEPAGE) before the first fault, no vm.nr_hugepages reservation. After prefault, coverage is read from /proc/self/smaps; only a fully covered buffer reports 2 MiB alignment (so PageBackend sizes MRs on 2 MiB pages), a partial one warns and reports 4 KiB. MADV_NOHUGEPAGE is applied afterwards so khugepaged cannot remap pages under a live registration. Lazy (prefault=false) buffers such as the per-Get re-cache copy stay on 4 KiB pages. Off by default: THP by default regressed fill on fragmented hosts (#687). Co-Authored-By: Claude Opus 5.5 <[email protected]>
4 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…AM tier …"
This reverts commit 2cc0ac3.
Motivation
Technical Details
Test Plan
Test Result
Submission Checklist