Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The idle frequency show by cpupower and s-tui not same. #197

Open
edisonchan opened this issue Aug 2, 2022 · 2 comments
Open

The idle frequency show by cpupower and s-tui not same. #197

edisonchan opened this issue Aug 2, 2022 · 2 comments

Comments

@edisonchan
Copy link

edisonchan commented Aug 2, 2022

Step 1: Describe your environment

  • System (Intel/AMD/Raspberry Pi etc): Intel 11700K/12900KF, c-state disabled in BIOS, and the cpu ratio was set to 40.0x
  • OS version: Ubuntu 22.04 kernel 5.19
  • s-tui version: latest from git clone (c61db5e)
  • Installation method(pip/PPA/source code): source core

Step 2: Describe the problem:

Observed Results:

cpupower 5.19:
image

s-tui:
image

Step 3: Reproduce the problem:

Steps to reproduce:

  1. set CPU ratio to 40.x, sync All core, disable C-state in BIOS
  2. boot in to ubuntu, and set cpu power mode to performance:
    echo "performance" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
  3. run cpupower:
    watch -n 1 sudo cpupower monitor
  4. run stui:
    s-tui
@ronny-rentner
Copy link

I have a similar issue with s-tui vs i7z showing different frequencies.

@AlexeiScherbakov
Copy link

On Rock PI 4 s-tui display correct frequencies, but on Raspberry PI 4 600 MHz shows as 1500 MHz:

Frequency      [MHz]|                                   Util [%]
 Avg           1500.0|100       Avg     |    Core 0    |    Core 1    |    Core 2    |    Core 3
 Core 0        1500.0|                  |              |              |              |
 Core 1        1500.0|                  |              |              |              |
 Core 2        1500.0|                  |              |              |              |
 Core 3        1500.0|                  |              |              |              |
                     |                  |              |              |              |
 Util             [%]|                  |              |              |              |
 Avg              3.2|                  |              |              |              |
 Core 0           0.0|                  |              |              |              |
pi@pi:/sys/devices/system/cpu $ sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
600000
pi@pi:/sys/devices/system/cpu $ sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq
600000
pi@pi:/sys/devices/system/cpu $ sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
1500000
pi@pi:/sys/devices/system/cpu $

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants