Description
On an Intel intel_pstate laptop running Fedora Workstation 44 and TuneD/tuned-ppd 2.27.0,
selecting the PPD power-saver profile can produce a false PerformanceDegraded value of
high-operating-temperature.
The active TuneD powersave profile intentionally sets boost=0. TuneD's CPU plugin maps this to
intel_pstate/no_turbo=1. The current tuned-ppd degradation check treats any no_turbo=1 as evidence
of high operating temperature, even when TuneD itself requested that value as part of the active
power-saving profile.
Environment
- Fedora Linux 44 Workstation
- TuneD/tuned-ppd
2.27.0-1.fc44
- Intel Core i5-10300H using
intel_pstate
- GNOME 50.4 / Wayland
- ACPI platform profiles available
No serial number, firmware UUID, network identifier, or private log is required to reproduce the
logic error.
Reproduction
- Start
tuned and tuned-ppd on an Intel system that exposes
/sys/devices/system/cpu/intel_pstate/no_turbo.
- Select the PPD
power-saver profile from GNOME or the PPD D-Bus API.
- Confirm that the mapped TuneD profile is
powersave and that it intentionally applies boost=0.
- Observe
intel_pstate/no_turbo=1.
- Read the PPD
PerformanceDegraded property.
Actual result:
ActiveProfile=power-saver
no_turbo=1
PerformanceDegraded=high-operating-temperature
The tested machine was at approximately 37–38 °C with zero accumulated thermal throttling when this
occurred. The warning was caused by the profile's intentional setting, not by a thermal event.
Expected result:
ActiveProfile=power-saver
no_turbo=1
PerformanceDegraded=
An unexpected no_turbo=1 while balanced or performance is active should still report the
degradation.
Relevant code path
In TuneD 2.27.0, tuned/ppd/controller.py::check_performance_degraded() maps
NO_TURBO_PATH == "1" directly to HIGH_OPERATING_TEMPERATURE. Separately,
tuned/plugins/plugin_cpu.py documents and implements the intentional mapping from boost=0 to
no_turbo=1 on Intel pstate.
These two valid behaviors conflict when powersave intentionally disables boost.
Locally validated behavior
A narrowly scoped local wrapper retained the upstream warning except in two cases:
power-saver is the explicitly selected PPD profile and TuneD intentionally set no_turbo=1.
- A short profile transition is still applying multiple related sysfs properties.
With that distinction:
power-saver: TuneD powersave, ACPI quiet, EPP power, no_turbo=1, no false degradation.
balanced: TuneD balanced, ACPI balanced, turbo allowed, no degradation.
performance: TuneD throughput-performance, ACPI performance, turbo allowed, no degradation.
- An unexpected
no_turbo=1 in balanced or performance still publishes
high-operating-temperature.
- The service remained SELinux enforcing and a normal local user could change PPD profiles.
The workaround is not proposed for inclusion as-is; it was used to validate the decision matrix.
Suggested direction
Track whether the no_turbo value is an intended consequence of the active mapped profile before
classifying it as a thermal restriction. It may also be useful to defer the degradation check until a
profile transition completes, so intermediate sysfs writes do not briefly publish a false warning.
Suggested regression matrix:
| Active PPD profile |
no_turbo |
Reason |
Expected degradation |
power-saver |
1 |
TuneD profile intentionally set boost=0 |
none |
balanced |
1 |
external/firmware restriction |
high-operating-temperature |
performance |
1 |
external/firmware restriction |
high-operating-temperature |
| any |
either |
lap-mode indicator active |
lap-detected according to current precedence |
transition to power-saver |
temporary changes |
TuneD is still applying the profile |
no transient false warning |
If maintainers agree with the behavior, I can prepare a focused code change and tests based on their
preferred way to distinguish an intentional profile constraint from a real degradation.