Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1451764 - Add support for negation in the CPU List for tuned profile cpu-partitioning
Add support for negation in the CPU List for tuned profile cpu-partitioning
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: tuned (Show other bugs)
7.3
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Jaroslav Škarvada
Tereza Cerna
: Patch, Upstream
Depends On: 1454340
Blocks: 1465887 TUNED-7.5-REBASE 1485946
  Show dependency treegraph
 
Reported: 2017-05-17 09:13 EDT by Saravanan KR
Modified: 2018-04-10 12:01 EDT (History)
11 users (show)

See Also:
Fixed In Version: tuned-2.9.0-0.1.rc1.el7
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-04-10 12:01:26 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0879 normal SHIPPED_LIVE tuned bug fix and enhancement update 2018-04-10 09:39:08 EDT

  None (edit)
Description Saravanan KR 2017-05-17 09:13:29 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:
Comment 15 Tereza Cerna 2018-01-12 07:36:57 EST
=====================================================
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.
Comment 18 Tereza Cerna 2018-01-12 08:50:21 EST
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.
Comment 21 errata-xmlrpc 2018-04-10 12:01:26 EDT
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

Note You need to log in before you can comment on or make changes to this bug.