AdnanHodzic / AdnanHodzic/auto-cpufreq

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

Đang mở
#898 9 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
7.8k
Fork
357
Merge trung bình
3 ngày 8 giờ
Pull request đã merge (30 ngày)
14

Mô tả

### 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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
linux, python, ubuntu
Lĩnh vực
cli, operating-systems
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
32/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.