Skip to content

Instantly share code, notes, and snippets.

@linrunner
Created December 18, 2022 11:51
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save linrunner/28cafe1fa3bfacc44630d7b5600c0306 to your computer and use it in GitHub Desktop.
tlp-stat -p with amd_pstate
==================
amd_pstate=passive
+++ System Info
System = LENOVO ThinkPad P14s Gen 2a 21A0007PGE
BIOS = R1MET51W (1.21 )
EC Firmware = 1.21
OS Release = Arch Linux
Kernel = 6.0.12-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 08 Dec 2022 11:03:38 +0000 x86_64
/proc/cmdline = BOOT_IMAGE=/vmlinuz-linux root=UUID=83c1e7b3-749f-4003-b11d-93878f835d3b rw rootflags=subvol=@ cryptdevice=UUID=3458aa3e-b269-45db-b4e6-f49d38878bb4:juli_crypt:allow-discards loglevel=3 quiet amd_pstate=passive btusb.enable_autosuspend=0
Init system = systemd
Boot mode = UEFI
Suspend mode = [s2idle]
+++ Processor
CPU model = AMD Ryzen 7 PRO 5850U with Radeon Graphics
/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver = amd-pstate
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = schedutil
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq = 400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 4507000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/amd_pstate_highest_perf = 166 [%]
/sys/devices/system/cpu/cpu0/cpufreq/amd_pstate_max_freq = 4507000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/amd_pstate_lowest_nonlinear_freq = 1112000 [kHz]
/sys/devices/system/cpu/cpu1..cpu15: omitted for clarity, use -v to show all
/sys/devices/system/cpu/cpufreq/boost = 1
/sys/module/workqueue/parameters/power_efficient = Y
/proc/sys/kernel/nmi_watchdog = 0
=================
amd_pstate=active
+++ System Info
System = LENOVO ThinkPad P14s Gen 2a 21A0007PGE
BIOS = R1MET51W (1.21 )
EC Firmware = 1.21
OS Release = Arch Linux
Kernel = 6.1.0-tpc-61 #61 SMP PREEMPT_DYNAMIC Sat, 17 Dec 2022 16:18:50 +0000 x86_64
/proc/cmdline = BOOT_IMAGE=/vmlinuz-linux-tpc root=UUID=83c1e7b3-749f-4003-b11d-93878f835d3b rw rootflags=subvol=@ cryptdevice=UUID=3458aa3e-b269-45db-b4e6-f49d38878bb4:juli_crypt:allow-discards loglevel=3 quiet amd_pstate=active btusb.enable_autosuspend=0
Init system = systemd
Boot mode = UEFI
Suspend mode = [s2idle]
+++ TLP Status
State = enabled
RDW state = enabled
Last run = 12:23:23, 30 sec(s) ago
Mode = AC
Power source = AC
+++ Processor
CPU model = AMD Ryzen 7 PRO 5850U with Radeon Graphics
/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver = amd_pstate_epp
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq = 400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 4507000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/amd_pstate_highest_perf = 166 [%]
/sys/devices/system/cpu/cpu0/cpufreq/amd_pstate_max_freq = 4507000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/amd_pstate_lowest_nonlinear_freq = 1112000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference = balance_performance [EPP]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu1..cpu15: omitted for clarity, use -v to show all
/sys/devices/system/cpu/amd-pstate/status = active
/sys/devices/system/cpu/amd-pstate/cppc_dynamic_boost = 1
/sys/module/workqueue/parameters/power_efficient = Y
/proc/sys/kernel/nmi_watchdog = 0
Note: Kernel 6.1 with https://lore.kernel.org/lkml/20221208111852.386731-1-perry.yuan@amd.com/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment