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
Add preliminary support for the cpu-partitioning profile. #102
Add preliminary support for the cpu-partitioning profile. #102
Conversation
/test e2e-aws |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed, tested and looks good other than the grub.cfg patching and for some reason the single sysctl kernel.nmi_watchdog
which is probably not a big deal.
/lgtm |
Changes: - allow patches to modify tuned profiles too (see rhbz#1781664) - mount host directories to allow: * persistent changes to /etc/sysconfig/irqbalance * tuned to populate /etc/modprobe.d directory with module options (see kvm.rt.tuned.conf) * persistent changes to host's /etc/systemd/system.conf by tuned setting CPUAffinity - create /etc/grub.d/, /boot to make tuned's [bootloader] plugin pass and generate /etc/tuned/bootcmdline - include tuned patch for rhbz#1781664 (variable expansion) - include tuned patch to enable multiple profile inheritance (tuned 2.13 feature) - include an example custom openshift-cpu-partitioning profile Note that the [bootloader] plugin does not do any host modifications, however, the variables in /etc/tuned/bootcmdline should be set correctly.
80eb9c5
to
64db45a
Compare
/lgtm Need more lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jmencak, sjug The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest Please review the full test history for this PR and help us cut down flakes. |
3 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
Changes:
options (see kvm.rt.tuned.conf)
by tuned setting CPUAffinity
pass and generate /etc/tuned/bootcmdline
(tuned 2.13 feature)
Note that the [bootloader] plugin does not do any host modifications,
however, the variables in /etc/tuned/bootcmdline should be set
correctly.