feat(ansible): Install tuned for performance tuning#2041
Merged
Conversation
This commit introduces the tuned service to the Ansible playbook to enable dynamic system performance optimization.
The changes include:
- A new task ansible/tasks/setup-tuned.yml is created to handle the installation of the tuned package via apt.
- The main ansible/playbook.yml is updated to import and execute this new task.
- The installation is conditional and only runs when the stage2_nix variable is true, allowing for flexibility in different build
stages.
By installing tuned, the system can be better optimized for various workloads, which is particularly beneficial for database
performance.
samrose
requested changes
Feb 10, 2026
Collaborator
samrose
left a comment
There was a problem hiding this comment.
i think this is good but wonder what tests we'll apply before promoting it to our release and production?
Contributor
Author
In this PR we're simply ensuring the binary is installed. Ansible takes care of ensuring that happens. I'm not sure what else we'd need to test unless we want to verify /usr/bin/tuned is present? Or are you thinking more about checking that it's not started? @samrose |
Contributor
Author
thanks @jchancojr |
Contributor
Author
|
samrose
approved these changes
Feb 11, 2026
encima
pushed a commit
that referenced
this pull request
Feb 23, 2026
* feat(ansible): Install tuned for performance tuning
This commit introduces the tuned service to the Ansible playbook to enable dynamic system performance optimization.
The changes include:
- A new task ansible/tasks/setup-tuned.yml is created to handle the installation of the tuned package via apt.
- The main ansible/playbook.yml is updated to import and execute this new task.
- The installation is conditional and only runs when the stage2_nix variable is true, allowing for flexibility in different build
stages.
By installing tuned, the system can be better optimized for various workloads, which is particularly beneficial for database
performance.
* empty commit to tickle CI since GH is back
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.
This commit introduces the tuned service to the Ansible playbook to enable dynamic system performance optimization.
The changes include:
By installing tuned, the system can be better optimized for various workloads, which is particularly beneficial for database performance.
note that tuned is not enabled nor configured in this PR. that'll come later.