RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1451764 - Add support for negation in the CPU List for tuned profile cpu-partitioning
Summary: Add support for negation in the CPU List for tuned profile cpu-partitioning
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: tuned
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jaroslav Škarvada
QA Contact: Tereza Cerna
URL:
Whiteboard:
Depends On: 1454340
Blocks: 1465887 TUNED-7.5-REBASE 1485946
TreeView+ depends on / blocked
 
Reported: 2017-05-17 13:13 UTC by Saravanan KR
Modified: 2018-04-10 16:01 UTC (History)
11 users (show)

Fixed In Version: tuned-2.9.0-0.1.rc1.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-10 16:01:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0879 0 normal SHIPPED_LIVE tuned bug fix and enhancement update 2018-04-10 13:39:08 UTC

Description Saravanan KR 2017-05-17 13:13:29 UTC
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 12:36:57 UTC
=====================================================
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 13:50:21 UTC
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 16:01:26 UTC
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.