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

Add preliminary support for the cpu-partitioning profile. #102

Merged
merged 1 commit into from Jan 15, 2020

Conversation

jmencak
Copy link
Contributor

@jmencak jmencak commented Jan 10, 2020

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.

@openshift-ci-robot openshift-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jan 10, 2020
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 10, 2020
@jmencak
Copy link
Contributor Author

jmencak commented Jan 10, 2020

/test e2e-aws

Copy link
Contributor

@sjug sjug left a 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.

examples/cpu-partitioning.yaml Outdated Show resolved Hide resolved
@sjug
Copy link
Contributor

sjug commented Jan 14, 2020

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 14, 2020
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.
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Jan 14, 2020
@sjug
Copy link
Contributor

sjug commented Jan 14, 2020

/lgtm

Need more lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 14, 2020
@openshift-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jmencak jmencak changed the title WIP: Add preliminary support for the cpu-partitioning profile. Add preliminary support for the cpu-partitioning profile. Jan 14, 2020
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 14, 2020
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

3 similar comments
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 727ec2f into openshift:master Jan 15, 2020
@jmencak jmencak deleted the cpu-partitioning branch January 15, 2020 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants