| Summary: | tuned restart temporarily resets ktune settings | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Julio Entrena Perez <jentrena> |
| Component: | tuned | Assignee: | Jaroslav Škarvada <jskarvad> |
| Status: | CLOSED ERRATA | QA Contact: | Tereza Cerna <tcerna> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.8 | CC: | cww, jeder, jskarvad, psklenar, tcerna, thozza |
| Target Milestone: | rc | Keywords: | Patch |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | tuned-0.2.19-18.el6 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-03-21 11:21:41 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 1172231, 1269194, 1359261 | ||
|
Description
Julio Entrena Perez
2016-03-01 16:58:16 UTC
This bug is Ok. Switch to status VERIFIED. While the proposed patch fixed Tuned and it behaves now correctly, it seems there is still problem with the 'cpuspeed' package which is used by Tuned. I checked cpuspeed code and it seems when it writes: Disabling GOVERNOR cpu frequency scaling governor It reverts governor to the 'userspace' for all CPUs if acpi-cpufreq scaling driver is used or to the 'powersave' if intel_pstate driver is used. Then immediately it sets the governor which is requested (e.g. performance), i.e. the following: Nov 25 05:37:13 hp-dl120gen9-01 cpuspeed: Disabling performance cpu frequency scaling governor Nov 25 05:37:13 hp-dl120gen9-01 cpuspeed: Enabling performance cpu frequency scaling governor Is also bad as it will probably also cause spike. We can either: a) fix cpuspeed b) drop cpuspeed from Tuned Regarding b) Tuned already knows how to set the governor through the sysfs and uses this method as a backup if cpuspeed is not installed. Problem with cpuspeed was found. Switch this bug to ASSIGNED. Verified that governor is not switched to another state and then back again. Behaves as expected. Fixed in tuned-0.2.19-18.el6.noarch 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://rhn.redhat.com/errata/RHBA-2017-0738.html |