Red Hat Bugzilla – Bug 1451764
Add support for negation in the CPU List for tuned profile cpu-partitioning
Last modified: 2018-04-10 12:01:26 EDT
Description of problem: Need to bring the support for negation which has been merged upstream. https://github.com/redhat-performance/tuned/issues/49 Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
===================================================== Verified in: tuned-2.9.0-1.el7.noarch tuned-profiles-cpu-partitioning-2.9.0-1.el7.noarch PASS ===================================================== # cat /etc/tuned/cpu-partitioning-variables.conf isolated_cores=2-9,!5,11 # tuned-adm profile cpu-partitioning # cat /var/log/tuned/tuned.log ... 2018-01-12 07:31:09,917 INFO tuned.plugins.plugin_systemd: setting 'CPUAffinity' to '0 1 5 10 12 13 14 15' in the '/etc/systemd/system.conf' ... You can see that negation of 5 was applied and only others specified cpus was excluded. This is new feature and it works well.
New test case was implemented: /CoreOS/tuned/Regression/add-support-for-negation-in-cpu-list-for-profile-cpu-partitioning Feature from #16 is included in this test case.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0879