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 1015675 - Add support to tuned for setting MSR_IA32_ENERGY_PERF_BIAS Intel CPU MSR
Summary: Add support to tuned for setting MSR_IA32_ENERGY_PERF_BIAS Intel CPU MSR
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: tuned
Version: 7.0
Hardware: All
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Jaroslav Škarvada
QA Contact: Branislav Blaškovič
URL:
Whiteboard:
Depends On:
Blocks: 1027250
TreeView+ depends on / blocked
 
Reported: 2013-10-04 19:54 UTC by Jeremy Eder
Modified: 2019-01-04 11:38 UTC (History)
3 users (show)

Fixed In Version: tuned-2.3.0-1.el7
Doc Type: Bug Fix
Doc Text:
Cause: Newer Intel CPUs have MSR tuning knob called MSR_IA32_ENERGY_PERF_BIAS which can be used for controlling bias to performance or powersave. Previously, Tuned didn't know how to control the MSR_IA32_ENERGY_PERF_BIAS. Consequence: The MSR_IA32_ENERGY_PERF_BIAS wasn't modified in the Tuned profiles, which could lead to negative impacts on performance / powersave. Fix: The code for controlling the MSR_IA32_ENERGY_PERF_BIAS was added into Tuned. Result: If kernel-tools package is installed, Tuned now modifies the MSR_IA32_ENERGY_PERF_BIAS according to selected profile.
Clone Of:
: 1027250 (view as bug list)
Environment:
Last Closed: 2014-06-13 09:35:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 2 Jaroslav Škarvada 2013-10-16 11:47:23 UTC
Using kernel-tools - we are using existing tools rather then rewriting their functionality.

Using:
'normal' policy for balanced profile
'performance' policy for throughput-performance and throughput-latency profiles
'powersave' policy for powersave profile

Comment 3 Jaroslav Škarvada 2013-10-16 11:50:01 UTC
> 'performance' policy for throughput-performance and throughput-latency
> profiles
'performance' policy for throughput-performance and latency-performance profiles

Comment 5 Jaroslav Škarvada 2013-10-23 08:59:07 UTC
Upstream commit adding this feature:
https://git.fedorahosted.org/cgit/tuned.git/commit/?id=59e259a3ceb3d6e943c3d16e71be996047431459

Comment 7 Branislav Blaškovič 2014-01-06 14:57:51 UTC
New testcase created (attached)

Testing with tuned-2.3.0-4.el7.noarch

Log:
cpu3: 0x0000000000000006
:: [ 15:52:25 ] ::  balanced profile - should have normal
:: [   PASS   ] :: Running 'tuned-adm profile balanced' (Expected 0, got 0)
cpu0: 0x0000000000000006
cpu1: 0x0000000000000006
cpu2: 0x0000000000000006
cpu3: 0x0000000000000006
:: [ 15:52:28 ] :: [ INFO    ] :: rlRun: command = '/bin/x86_energy_perf_policy -r'; exitcode = 0; expected = 0
:: [   PASS   ] :: Running '/bin/x86_energy_perf_policy -r' (Expected 0, got 0)
:: [   PASS   ] :: File '/var/tmp/tmp.b81iA7MgJB' should contain '0x0000000000000006'

:: [ 15:52:29 ] ::  latency-performance profile - should have performance
:: [   PASS   ] :: Running 'tuned-adm profile latency-performance' (Expected 0, got 0)
cpu0: 0x0000000000000000
cpu1: 0x0000000000000000
cpu2: 0x0000000000000000
cpu3: 0x0000000000000000
:: [ 15:52:32 ] :: [ INFO    ] :: rlRun: command = '/bin/x86_energy_perf_policy -r'; exitcode = 0; expected = 0
:: [   PASS   ] :: Running '/bin/x86_energy_perf_policy -r' (Expected 0, got 0)
:: [   PASS   ] :: File '/var/tmp/tmp.1kQ9hqUbKB' should contain '0x0000000000000000'

:: [ 15:52:33 ] ::  throughput-performance profile - should have performance
:: [   PASS   ] :: Running 'tuned-adm profile throughput-performance' (Expected 0, got 0)
cpu0: 0x0000000000000000
cpu1: 0x0000000000000000
cpu2: 0x0000000000000000
cpu3: 0x0000000000000000
:: [ 15:52:35 ] :: [ INFO    ] :: rlRun: command = '/bin/x86_energy_perf_policy -r'; exitcode = 0; expected = 0
:: [   PASS   ] :: Running '/bin/x86_energy_perf_policy -r' (Expected 0, got 0)
:: [   PASS   ] :: File '/var/tmp/tmp.Kbl2pRdK14' should contain '0x0000000000000000'

:: [ 15:52:36 ] ::  powersave profile - should have powersave
:: [   PASS   ] :: Running 'tuned-adm profile powersave' (Expected 0, got 0)
cpu0: 0x000000000000000f
cpu1: 0x000000000000000f
cpu2: 0x000000000000000f
cpu3: 0x000000000000000f
:: [ 15:52:39 ] :: [ INFO    ] :: rlRun: command = '/bin/x86_energy_perf_policy -r'; exitcode = 0; expected = 0
:: [   PASS   ] :: Running '/bin/x86_energy_perf_policy -r' (Expected 0, got 0)
:: [   PASS   ] :: File '/var/tmp/tmp.jPwlHjZB3F' should contain '0x000000000000000f'

Comment 8 Ludek Smid 2014-06-13 09:35:26 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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