GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tuned-ppd: avoid false high-operating-temperature when power-saver intentionally disables turbo · Issue #876 · redhat-performance/tuned

tuned-ppd: avoid false high-operating-temperature when power-saver intentionally disables turbo #876

New issue
Copy link
New issue
Copy link
Open
#907
Open
tuned-ppd: avoid false high-operating-temperature when power-saver intentionally disables turbo#876
#907
Copy link

Description

@creativefilmspy-maker
creativefilmspy-maker
opened on Aug 16, 2026
Issue body actions

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

  1. Start tuned and tuned-ppd on an Intel system that exposes
    /sys/devices/system/cpu/intel_pstate/no_turbo.
  2. Select the PPD power-saver profile from GNOME or the PPD D-Bus API.
  3. Confirm that the mapped TuneD profile is powersave and that it intentionally applies boost=0.
  4. Observe intel_pstate/no_turbo=1.
  5. 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:

  1. power-saver is the explicitly selected PPD profile and TuneD intentionally set no_turbo=1.
  2. 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.

Reacted by Sadig Akhund and Ye Shu

Activity

  1. sadigaxund commented on Nov 24, 2026

    @sadigaxund
    sadigaxund
    on Nov 24, 2026
    More actions

    Same issue here, still present in 2.28.0.

    image

    My setup:

    • Fedora 44, kernel 7.2.15-200.fc44.x86_64
    • tuned / tuned-ppd 2.28.0-1.fc44
    • Intel Core i7-13700H, intel_pstate, on AC
    • Profile: power-saver (TuneD powersave), so no_turbo=1
    • PerformanceDegraded = high-operating-temperature while the CPU package is at 41 °C
    • Seen in the Hyprland caelestia shell power menu, which reads the PPD D-Bus API
  2. yechs
    added a commit that references this issue on Nov 26, 2026

    ppd: suppress thermal warning in power-saver mode

    This issue will close once commit 15a74cf is merged into the 'master' branch.
    15a74cf
  3. yechs commented on Nov 26, 2026

    @yechs
    yechs
    on Nov 26, 2026
    More actions

    I also experienced the same issue.

    My setup:

    • Fedora 45, kernel 7.3.4-300.fc45.x86_64
    • tuned/tuned-ppd v2.28.0-1.fc45
    • CPU: Intel Core Ultra X9 388H with intel_pstate
    • can replicate on both AC and battery
    • default config (PPD power-save profile maps to tuned powersave profile, with no_turbo=1)

    Observes the wrong high-operating-temperature information despite normal CPU temperature.


    TL;DR: I opened #907 as a minimal workaround as proposed by @creativefilmspy-maker , but I think this issue warrants more discussions and potentially a larger-scale fix, depending on what the maintainers see fit.

    Background

    So I looked into the history of the no_turbo configuration, which can be summarized below:

    • September 2020: The original heuristic was introduced in power-profiles-daemon in 95a67713, specifically with thermald in mind:

      thermald can disable turbo altogether if needed to avoid reaching too high operating temperatures, so make the p-state driver monitor this, and mark the performance mode as inhibited if "no_turbo" is set.

      However, the heuristic is itself problematic, because turbo can be disabled for many reasons beyond thermald disabling them for high operating temperature.

    • December 2023: The initial implementation of tuned-ppd (d4b72b2, PPD-to-TuneD API translation daemon #579) inherits this heuristic, mapping no_turbo=1 to high-operating-temperature.

    • June 2024: 068928e introduces boost=0 in the powersave profile following the introduction of per-policy boost control for AMD P-state in Linux 6.11.

    • August 2025: d33fc79 (fix: add no_turbo option in profiles where boost is used #797) extends the boost option to Intel P-state by translating boost=0 into no_turbo=1 for intel. As a result, TuneD itself starts intentionally setting the attribute that tuned-ppd later interprets as an indication of high operating temperature.

    Short-term workaround

    #907 suppresses the thermal degradation report when the active PPD profile is power-saver.

    As discussed there, this is only a simple workaround for the default configuration and we may also need to consider for custom TuneD profiles.

    But even if isolate all no_turbo set by tuned, I'd argue that we still cannot attribute the remaining no_turbo to high operating temperatures (could also be BIOS/firmware settings, custom user settings, etc.)

    Longer-term solutions

    I think there are two possible long-term solution directions:

    1. We say something neutral/factual like "CPU Turbo disabled".
      This allows us to keep the code largely as-is. And instead of attributing a (wrong) high-operating-temperature, we say something like cpu-turbo-disabled. But that will require downstream desktop clients to implement this new message type.

    2. Use a more reliable mechanism for detecting high-operating-temperature.
      Instead of the unreliable no_turbo, we can potentially directly get information from thermald (e.g. through its DBus API), or Intel's thermal throttling interfaces, or even from sensors themselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.