apple / apple/foundationdb

Enable Transparent Huge Pages selectively via madvise()

Open
#2,116 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
16.7k
Forks
1.6k
Avg merge
1d 20h
Merged PRs (30d)
126

Description

We, at Snowflake, currently enables Transparent Huge Pages (THP) blindly in the system level to boost the FDB performance.
https://forums.foundationdb.org/t/transparent-huge-pages-performance-impact/1398
However, this has a system-wide impact, and not always desired.
FDB should enable THP selectively on the memory segments that has the most performance impact.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are identified. Start by locating FoundationDB's existing system-wide Transparent Huge Pages handling and review Linux madvise() behavior; done means enabling THP selectively for the memory segments with the greatest performance impact without imposing the current system-wide effect.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
operating-systems, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.