AdnanHodzic / AdnanHodzic/auto-cpufreq

"balance_power" in energy_performance_preference file when powersave governor set (verified in terminal)

Open
#898 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.8k
Forks
357
Avg merge
3d 8h
Merged PRs (30d)
14

Description

### Fill out information requested in this template, without doing so issue will be ignored & closed!

#### Before submitting an issue, it is strongly recommended to use the **[auto-cpufreq-genAI-chatbot](https://foolcontrol.org/?p=4903)** to get an immediate answer to your question.

### Have you tried? Yes

- [Searching through existing/closed issues](https://github.com/AdnanHodzic/auto-cpufreq/issues) to see if your bug has already been already submitted? Yes
- If installation failed with [auto-cpufreq-installer](https://github.com/AdnanHodzic/auto-cpufreq/#auto-cpufreq-installer),have you tried installing auto-cpufreq using [Snap package](https://github.com/AdnanHodzic/auto-cpufreq/#snap-store)?
N/A
- Have you tried [configuring auto-cpufreq](https://github.com/AdnanHodzic/auto-cpufreq/#configuring-auto-cpufreq)?
Yes
- Have you tried suggestions in [troubleshooting section](https://github.com/AdnanHodzic/auto-cpufreq#troubleshooting)?
Yes

### Error output:
```
cat /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference
balance_power
balance_power
balance_power
balance_power
balance_power
balance_power
balance_power
balance_power
balance_power
balance_power
balance_power
balance_power
```
---

### System information:

Add/paste output of:

```
conservation mode is on

-------------------------------------------------------------------------------

Linux distro: Ubuntu 24.04 Noble Numbat
Linux kernel: 6.14.0-35-generic
Processor: AMD Ryzen 5 7535HS with Radeon Graphics
Cores: 12
Architecture: x86_64
Driver: amd-pstate-epp

------------------------------ Current CPU stats ------------------------------

CPU max frequency: 3301 MHz
CPU min frequency: 400 MHz

Core Usage Temperature Frequency
CPU0 2.1% 45 °C 2390 MHz
CPU1 2.0% 45 °C 2393 MHz
CPU2 4.0% 45 °C 2394 MHz
CPU3 1.0% 45 °C 1516 MHz
CPU4 7.1% 45 °C 2391 MHz
CPU5 6.1% 45 °C 2394 MHz
CPU6 4.0% 45 °C 2392 MHz
CPU7 1.0% 45 °C 2393 MHz
CPU8 5.2% 45 °C 2394 MHz
CPU9 0.0% 45 °C 2395 MHz
CPU10 3.1% 45 °C 2387 MHz
CPU11 2.0% 45 °C 2393 MHz

CPU fan speed: 0 RPM
auto-cpufreq version: 2.6.0

Python: 3.12.3
psutil package: 6.0.0
platform package: 1.0.8
click package: 8.1.7
distro package: 1.9.0

Computer type: Notebook
Battery is: charging

auto-cpufreq system resource consumption:
cpu usage: 0.0 %
memory use: 0.29 %

Total CPU usage: 3.5 %
Total system load: 1.22
Average temp. of all cores: 32.00 °C

Currently using: powersave governor
Currently turbo boost is: off
```

I think `/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference` should not contain `balance_power` when `powersave` governor is used.
Let me know if I'm wrong.
Have "Extreme performance" setting in BIOS, not sure if its relevant.
Kernel 6.14.

```
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
amd-pstate-epp
```

Thank you.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported state on a Linux system using the amd-pstate-epp scaling driver and checking /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference against the auto-cpufreq output showing the powersave governor. Read the existing CPU governor/EPP handling paths in the project before changing anything. Done means the project either correctly sets the expected EPP value or documents why balance_power is valid here.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, python, ubuntu
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.