bottlerocket-os / bottlerocket-os/bottlerocket-settings-sdk
Add support for configuring HugePages other then currently supported 2Mi HugePages
- Dominant language
- Rust
- Stars
- 5
- Forks
- 36
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 2
Description
Users want to configure larger HugePages then just 2Mi to boost application performance.
Currently only 2Mi HugePages are supported via (example):
```bash
[settings.kernel.sysctl]
"vm.nr_hugepages" = "10"
```
Everything else will be ignored.
Linux kernel supports configuring HuePage size and number , so this should be implemented in Bottlerocket as well.
Contributor guide
Research direction
Start by locating the Rust code that handles the [settings.kernel.sysctl] vm.nr_hugepages example and trace how only 2Mi HugePages are recognized. Compare that behavior with Linux kernel HugePages size and number configuration. Done means larger HugePage sizes can be configured in Bottlerocket instead of being ignored, with coverage for the supported settings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100