Cpupower-gui in openSUSE Tumbleweed?

@panorain maybe check the BIOS, is there an updated BIOS available?

Bios is the latest version available for M57p (I had updated it some time ago). I recently rechecked if another Bios update was available, it looks like Lenovo wants to obselete this fairly old machine because user guide and so on are no longer available on Lenovo website. I was able to get the Hardware repair manual .pdf . I just executedturbostatsee below:

Thinkcentre-M57p:/home/paul # turbostat
turbostat version 2023.11.07 - Len Brown <lenb@kernel.org>
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.7.1-1-default root=/dev/mapper/system-root resume=/dev/system/swap nosimplefb=1 plymouth.enable=0 mitigations=auto
CPUID(0): GenuineIntel 0xd CPUID levels
CPUID(1): family:model:stepping 0x6:17:a (6:23:10) microcode 0xa0b
CPUID(0x80000000): max_extended_levels: 0x80000008
CPUID(1): SSE3 MONITOR - EIST TM2 TSC MSR ACPI-TM HT TM
CPUID(6): APERF, No-TURBO, DTS, No-PTM, No-HWP, No-HWPnotify, No-HWPwindow, No-HWPepp, No-HWPpkg, No-EPB
cpu0: MSR_IA32_MISC_ENABLE: 0x4366952489 (TCC EIST MWAIT PREFETCH No-TURBO)
CPUID(7): No-SGX No-Hybrid
cpu0: cpufreq driver: acpi-cpufreq
cpu0: cpufreq governor: schedutil
/dev/cpu_dma_latency: 16000 usec (constrained)
current_driver: intel_idle
current_governor: menu
current_governor_ro: menu
cpu0: POLL: CPUIDLE CORE POLL IDLE
cpu0: C1ACPI: ACPI FFH MWAIT 0x0
cpu0: Guessing tjMax 100 C, Please use -T to specify
Core    CPU     Avg_MHz Busy%   Bzy_MHz TSC_MHz IPC     IRQ     POLL    C1ACPI  POLL%   C1ACPI% CoreTmp
-       -       124     5.92    2086    2660    0.62    20284   6       29501   0.00    94.19   51
0       0       127     6.19    2052    2660    0.58    7712    3       8709    0.00    93.93   51
1       1       136     6.58    2064    2660    0.60    7990    3       8791    0.01    93.54   45
2       2       122     5.69    2145    2660    0.61    2728    0       6385    0.00    94.39   49
3       3       109     5.22    2088    2660    0.70    1854    0       5616    0.00    94.85   46
Core    CPU     Avg_MHz Busy%   Bzy_MHz TSC_MHz IPC     IRQ     POLL    C1ACPI  POLL%   C1ACPI% CoreTmp
-       -       133     6.27    2119    2660    0.59    20443   33      30117   0.03    93.83   51
0       0       143     6.76    2109    2660    0.54    9077    16      9663    0.06    93.38   51
1       1       142     6.76    2102    2660    0.58    6607    16      8239    0.05    93.36   45
2       2       126     5.88    2135    2660    0.56    2623    0       6366    0.00    94.20   48
3       3       121     5.67    2134    2660    0.67    2136    1       5849    0.00    94.40   46
Core    CPU     Avg_MHz Busy%   Bzy_MHz TSC_MHz IPC     IRQ     POLL    C1ACPI  POLL%   C1ACPI% CoreTmp

It showing 4 cpu's.

Thinkcentre-M57p:/home/paul # zypper search -i | grep 'cpu'
i  | cpupower                                   | Tools to determine and set CPU Power related Settings                              | package
i  | cpupower-bash-completion                   | Bash completion for cpupower                                                       | package
i+ | cpupower-gui                               | Cpupower-gui is a graphical program to adjust the frequency limits of the cpu      | package
i  | libcpupower1                               | Processor power related C-library                                                  | package
paul-Thinkcentre-M57p:/home/paul #

I donā€™t know what this sound is now, itā€™s like a grinding noise but that sound happens when mouse cursor is moving. I could never figure it out even before and now that the machine has ssd for a hdd it should not make a sound like this. Is it capacitors or something maybe?

Hey, cpupower-gui now showing all 4 cpuā€™s!. This is very good news I think.

Thinkcentre-M57p:~> inxi -Fxz
System:
  Kernel: 6.7.1-1-default arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    Desktop: KDE Plasma v: 5.27.10 Distro: openSUSE Tumbleweed 20240123
Machine:
  Type: Desktop System: LENOVO product: 9088A83 v: ThinkCentre M57p
    serial: <superuser required>
  Mobo: LENOVO model: LENOVO serial: <superuser required> BIOS: LENOVO
    v: 2RKT64BUS date: 01/08/2014
CPU:
  Info: quad core model: Intel Core2 Quad Q8400 bits: 64 type: MCP
    arch: Penryn rev: A cache: L1: 256 KiB L2: 4 MiB
  Speed (MHz): avg: 2657 high: 2660 min/max: 2000/2667 cores: 1: 2660
    2: 2660 3: 2657 4: 2653 bogomips: 21290
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx

If I maximize cpu (MHZ) to 2667 and disregard the minimum of 2000 will this use more power or cause the cpu to fail sooner?

Do you have a preferred Power Settings ā†’ Governor Policy of the three options shown. Schedutil, Performance or Ondemand?

-Thanks

Hi, in Bios Set Max Ext CPUID = 3 disabled is correct in order for cpupower-gui to show the 4 cpuā€™s on this particular machine.

@panorain So it was a BIOS settingā€¦

1 Like

Yes, I thank you for helping with this today. I was also able to comment on the OBS multimedia:proaudio cpupower-gui comment section about this Bios setting adjustment on the machine here.

My question is why when I search OBS I see other cpupower-gui options, are not maintained or something as often it appears?

I have selected cpupower-gui performance for the Governor option.

@panorain others are either linked or home user repositoriesā€¦ I maintain JDSP4Linux in that repo :wink:

1 Like

I see that now, this is all very new to me. :cold_face:

I notice that cpupower-gui ā€˜performanceā€™ settings do not persist after powercycling. Are you aware of a good way to get persistence with ā€œperformanceā€ settings in openSUSE Tumbleweed? I am not certain if I need to create a or modify a certain file to do this and if so which file.

Hi, passing: cpupower frequency-info

analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 10.0 us
  hardware limits: 2.00 GHz - 2.67 GHz
  available frequency steps:  2.67 GHz, 2.00 GHz
  available cpufreq governors: ondemand performance schedutil
  current policy: frequency should be within 2.00 GHz and 2.67 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 2.62 GHz (asserted by call to kernel)
  boost state support:
    Supported: no
    Active: no

cpupower idle-info

CPUidle driver: acpi_idle
CPUidle governor: menu
analyzing CPU 2:

Number of idle states: 2
Available idle states: POLL C1
POLL:
Flags/Description: CPUIDLE CORE POLL IDLE
Latency: 0
Usage: 431
Duration: 64414
C1:
Flags/Description: ACPI HLT
Latency: 0
Usage: 8752343
Duration: 6361851991

So I should have asked how to set the kernel to performance frequency using cpupower I think.
Thanks