You are not logged in.

#1 2022-02-10 13:06:01

mraf61-i6556
Member
Registered: 2022-01-14
Posts: 16
Website

HP Laptop 14-fq0041nr CPU speed drop down to 400MHZ

this laptop 14-fq0041nr  ,  CPU [AMD 3020e] frequency went down occasionally to 0.4GHz which makes the laptop almost unusable , I'm using the latest BIOS F.53 for this module,

There is no heat throttle , and I didn't boost the CPU much, so what's wrong with this laptop ?

After search on this issue, looks likely it's related to BIOS/firmware tells the CPU the laptop now is in Sleep mode ( power state C1 )  which gets the CPU to lower it frequency to 0.4GHz
I used HP PC Hardware Diagnostics UEFI utility and didn't detect the issue,

It's very clear to this CPU somehow trigger the power save mode and down clock it frequency to 400MHz which from what I read its Sleep Mode Frequency.

I'm not CPU/BIOS expert but, I have some knowledge on how OS works (specially Linux) , from my knowledge even if there is BIOS firmware issue,
once the OS take the Boot process should take full control of the CPU/the system, but I don't understand why this CPU take thing (on it own) and change the power mode?

$ cat /sys/power/state
freeze mem disk
$ cat  /sys/power/mem_sleep
s2idle [deep]
$ systemctl status sleep.target
○ sleep.target - Sleep
     Loaded: loaded (/usr/lib/systemd/system/sleep.target; static)
     Active: inactive (dead)
       Docs: man:systemd.special(7)
$ grep . /sys/devices/system/cpu/cpu0/cpuidle/state*/name
/sys/devices/system/cpu/cpu0/cpuidle/state0/name:POLL
/sys/devices/system/cpu/cpu0/cpuidle/state1/name:C1
/sys/devices/system/cpu/cpu0/cpuidle/state2/name:C2

$ cat /sys/module/intel_idle/parameters/max_cstate
  9 

$ sudo dmesg | grep _idle
[    0.017890] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370452778343963 ns
[    0.082781] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 133484873504 ns
[    0.099482] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x1143d6bb096, max_idle_ns: 440795260738 ns
[    0.219999] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    1.010266] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    2.029590] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x1143cd45281, max_idle_ns: 440795252456 ns


$ sudo turbostat -S --debug sleep 10
turbostat version 21.05.04 - Len Brown <lenb@kernel.org>
cpu 0 pkg 0 die 0 node 0 lnode 0 core 0 thread 0
cpu 1 pkg 0 die 0 node 0 lnode 0 core 1 thread 0
CPUID(0): AuthenticAMD 0xd CPUID levels
CPUID(1): family:model:stepping 0x17:20:1 (23:32:1) microcode 0x0
CPUID(0x80000000): max_extended_levels: 0x8000001f
CPUID(1): SSE3 MONITOR - - - TSC MSR - HT -
CPUID(6): APERF, No-TURBO, No-DTS, No-PTM, No-HWP, No-HWPnotify, No-HWPwindow, No-HWPepp, No-HWPpkg, No-EPB
CPUID(7): No-SGX
RAPL: 234 sec. Joule Counter Range, at 280 Watts
/dev/cpu_dma_latency: 2000000000 usec (default)
current_driver: acpi_idle
current_governor: menu
current_governor_ro: menu
cpu1: POLL: CPUIDLE CORE POLL IDLE
cpu1: C1: ACPI FFH MWAIT 0x0
cpu1: C2: ACPI IOPORT 0x414
cpu1: cpufreq driver: acpi-cpufreq
cpu1: cpufreq governor: userspace
cpufreq boost: 1
cpu0: MSR_RAPL_PWR_UNIT: 0x000a1003 (0.125000 Watts, 0.000015 Joules, 0.000977 sec.)
10.006507 sec
usec	Time_Of_Day_Seconds	APIC	X2APIC	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz	IPC	IRQ	POLL	C1	C2	POLL%	C1%	C2%	CorWatt	PkgWatt
  225	1644501794.030954	-	-	60	3.71	1622	1198	0.28	7067	24	2234	4843	0.01	2.65	93.86	0.07	3.87

Last edited by mraf61-i6556 (2022-02-10 14:05:21)

Offline

Board footer

Powered by FluxBB