Skip to content

[FEATURE] Support configuring transparent hugepages #5006

@jeff-radick-suse

Description

@jeff-radick-suse

Is your feature request related to a problem? Please describe.
Harvester should provide a means of configuring transparent hugepage settings for each node.

Describe the solution you'd like
Expose the /sys/kernel/mm/transparent_hugepage/enabled, /sys/kernel/mm/transparent_hugepage/shmem_enabled, and /sys/kernel/mm/transparent_hugepage/defrag settings in the Harvester GUI for each node, so these settings can be tweaked as desired.

For screenshots of the GUI change, see harvester/harvester-ui-extension#414

This is backed by a new per-node hugepage CR introduced in harvester/node-manager#87 (CRD is https://github.com/harvester/node-manager/blob/master/manifests/crds/node.harvesterhci.io_hugepages.yaml). One hugepage CR will be created automatically for each node by node-manager. Editing the spec (either manually with kubectl or via the GUI) allows updating the transparent hugepage config for that node.

For further reference on transparent hugepages see https://docs.kernel.org/admin-guide/mm/transhuge.html

Describe alternatives you've considered
hugepages can be manually configured via SLE micro but it is inconvenient

Additional context
N/A

Metadata

Metadata

Labels

area/node-mgmtarea/osHarvester OS related (ex: SLE Micro)highlightHighlight issues/featureskind/featureIssues that represent larger new pieces of functionality, not enhancements to existing functionalitypriority/1Highly recommended to fix in this releaserequire/docDocumentation update needed.

Projects

Status

Closed

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions