You are not logged in.

#1 2024-02-03 12:28:21

corestud
Member
Registered: 2024-02-03
Posts: 1

CPU frequency is reduced after resuming from suspend

My computer (Lenovo G510) lowers the CPU (Core i5-4210M) clock every time it wakes up from sleep

After the full power-on maximum frequncy limit is set correctly as equal to the hardware limit.

$ cpupower frequency-info
analyzing CPU 0:
  driver: intel_cpufreq
  CPUs which run at the same hardware frequency: 2
  CPUs which need to have their frequency coordinated by software: 2
  maximum transition latency: 20.0 us
  hardware limits: 800 MHz - 3.20 GHz
  available cpufreq governors: conservative ondemand userspace powersave performance schedutil
  current policy: frequency should be within 800 MHz and 3.20 GHz.
                  The governor "schedutil" may decide which speed to use
                  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 2.25 GHz (asserted by call to kernel)
  boost state support:
    Supported: yes
    Active: yes

After the first wake- up from sleep max frequency limit reduced to 1.92 GHz

$ cpupower frequency-info
analyzing CPU 0:
  driver: intel_cpufreq
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 20.0 us
  hardware limits: 800 MHz - 3.20 GHz
  available cpufreq governors: conservative ondemand userspace powersave performance schedutil
  current policy: frequency should be within 800 MHz and 1.92 GHz.
                  The governor "schedutil" may decide which speed to use
                  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 1.90 GHz (asserted by call to kernel)
  boost state support:
    Supported: yes
    Active: yes

After the 2nd wake-up limit is reduced again to 1.2 GHz

$ cpupower frequency-info
analyzing CPU 3:
  driver: intel_cpufreq
  CPUs which run at the same hardware frequency: 3
  CPUs which need to have their frequency coordinated by software: 3
  maximum transition latency: 20.0 us
  hardware limits: 800 MHz - 3.20 GHz
  available cpufreq governors: conservative ondemand userspace powersave performance schedutil
  current policy: frequency should be within 800 MHz and 1.28 GHz.
                  The governor "schedutil" may decide which speed to use
                  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 798 MHz (asserted by call to kernel)
  boost state support:
    Supported: yes
    Active: yes

Manual setting maximum frequency limit via

sudo cpupower set-frequency -d 3200000

or

echo 3200000 | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_max_freq

does not cause any changes.

Offline

#2 2024-08-15 01:58:03

alexxzero
Member
Registered: 2024-08-15
Posts: 1

Re: CPU frequency is reduced after resuming from suspend

I am experiencing the same issue on two of my laptops: an HP G10 Elitebook (i7-1355U) and an HP G9 Probook (i7-1255U). After suspending, the CPU clock speed is stuck at 0.4GHz for all cores. Rebooting does not resolve the issue; only hibernation or a complete power off/on cycle restores normal functionality (it seems a cold start is necessary, while a warm start does not help). Additionally, `cpupower set-frequency` fails to change the CPU frequency when it is stuck at a low clock speed, although it works as expected when the CPU is in normal mode.

Offline

#3 2024-08-21 07:55:00

liuyi
Member
Registered: 2024-08-21
Posts: 3

Re: CPU frequency is reduced after resuming from suspend

My laptop also encounters such an issue. My CPU is AMD Ryzen 7 8845HS. Restarting resolves the issue for me.

Offline

Board footer

Powered by FluxBB