Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configs: Enable TRANSPARENT_HUGEPAGE_MADVISE #6390

Draft
wants to merge 1 commit into
base: rpi-6.6.y
Choose a base branch
from

Conversation

popcornmix
Copy link
Collaborator

Upstream v3d patches are adding support for big (64K) and super (1MB) pages, which require these options.

See:
https://lore.kernel.org/dri-devel/20240923141348.2422499-1-mcanal@igalia.com/

There are also some potential performance benefits linked from:
#6297

Upstream v3d patches are adding support for big (64K) and super (1MB) pages,
which require these options. See:
https://lore.kernel.org/dri-devel/20240923141348.2422499-1-mcanal@igalia.com/

There are also some potential performance benefits linked from:
raspberrypi#6297

Signed-off-by: Dom Cobley <popcornmix@gmail.com>
@popcornmix
Copy link
Collaborator Author

Putting this up as a draft PR, so it's not forgotten.
We won't get the v3d benefits until we backport them to 6.6, or switch to a newer upstream kernel.

My brief testing suggests TRANSPARENT_HUGEPAGE_MADVISE doesn't have performance hit on NUMA that TRANSPARENT_HUGEPAGE_ALWAYS did, but perhaps wait until NUMA is more final (and we don't spot any other adverse results) before merging this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant