No CPU Boosting Thinkpad T14s

Hello,

I reinstalled my operating system on my ThinkPad T14s (Gen 1, AMD) and set everything up for my workflow. I use TLP (in combination with tlpui for the setup and I also installed the acpi_call package) for the battery charging thresholds to save the battery of the laptop because I use it a lot plugged in and there is no easy way to remove and reinstall the battery in a fast way. I disabled (I think) the power management service because I still want my CPU to boost and such. I noticed that my CPU does not seem to be able to boost. It doesn’t seem to go above +/- 2.5 GHz, but in my previous install it could go well above 4 GHz on full load, so something seems off to me.

Here is my TLP output (using tlp-stat -b):

--- TLP 1.5.0 --------------------------------------------

+++ Battery Care
Plugin: thinkpad
Supported features: charge thresholds, recalibration
Driver usage:
* natacpi (thinkpad_acpi) = active (charge thresholds)
* tpacpi-bat (acpi_call)  = active (recalibration)
Parameter value ranges:
* START_CHARGE_THRESH_BAT0/1:  0(off)..96(default)..99
* STOP_CHARGE_THRESH_BAT0/1:   1..100(default)

+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/class/power_supply/BAT0/manufacturer                   = SMP
/sys/class/power_supply/BAT0/model_name                     = 5B10W139
/sys/class/power_supply/BAT0/cycle_count                    =     49
/sys/class/power_supply/BAT0/energy_full_design             =  57020 [mWh]
/sys/class/power_supply/BAT0/energy_full                    =  54680 [mWh]
/sys/class/power_supply/BAT0/energy_now                     =  52210 [mWh]
/sys/class/power_supply/BAT0/power_now                      =      0 [mW]
/sys/class/power_supply/BAT0/status                         = Not charging

/sys/class/power_supply/BAT0/charge_control_start_threshold =     75 [%]
/sys/class/power_supply/BAT0/charge_control_end_threshold   =     80 [%]
tpacpi-bat.BAT0.forceDischarge                              =      0

Charge                                                      =   95.5 [%]
Capacity                                                    =   95.9 [%]

Here is my system information:

System:
  Kernel: 5.16.14-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.16-x86_64
    root=UUID=68bb5f33-f9c3-4ee3-bf6f-8d78d4de8019 rw quiet splash apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: GNOME v: 41.4 tk: GTK v: 3.24.33 wm: gnome-shell dm: GDM v: 41.3
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 20UHCTO1WW v: ThinkPad T14s Gen 1
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 20UHCTO1WW v: SDK0R32862 WIN
    serial: <superuser required> UEFI: LENOVO v: R1CET68W(1.37 )
    date: 12/28/2021
Battery:
  ID-1: BAT0 charge: 52.2 Wh (95.4%) condition: 54.7/57.0 Wh (95.9%)
    volts: 12.8 min: 11.5 model: SMP 5B10W139 type: Li-poly serial: <filter>
    status: not charging cycles: 49
Memory:
  RAM: total: 30.65 GiB used: 4.21 GiB (13.7%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 7 PRO 4750U with Radeon Graphics bits: 64
    type: MT MCP arch: Zen 2 family: 0x17 (23) model-id: 0x60 (96) stepping: 1
    microcode: 0x8600106
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB L3: 8 MiB
    desc: 2x4 MiB
  Speed (MHz): avg: 1558 high: 2026 min/max: 1400/1700 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1456 2: 1752
    3: 1397 4: 1798 5: 1396 6: 1610 7: 1409 8: 1397 9: 2026 10: 1702 11: 1666
    12: 1397 13: 1397 14: 1397 15: 1732 16: 1400 bogomips: 54318
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid
    f16c flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibrs ibs
    irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor movbe
    msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae
    pat pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb
    pfthreshold pge pni popcnt pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a
    rdtscp rep_good sep sha_ni skinit smap smca smep ssbd sse sse2 sse4_1
    sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce topoext tsc
    tsc_scale umip v_spec_ctrl v_vmsave_vmload vgif vmcb_clean vme vmmcall
    wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: conditional, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Renoir vendor: Lenovo driver: amdgpu v: kernel pcie: gen: 4
    speed: 16 GT/s lanes: 16 ports: active: DP-2,HDMI-A-1,eDP-1 empty: DP-1
    bus-ID: 06:00.0 chip-ID: 1002:1636 class-ID: 0300
  Device-2: Chicony Integrated Camera type: USB driver: uvcvideo
    bus-ID: 2-2:2 chip-ID: 04f2:b6cb class-ID: fe01 serial: <filter>
  Device-3: Jieli USB PHY 2.0 type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 4-2.2:4 chip-ID: 1224:2a25 class-ID: 0102
  Display: x11 server: X.org v: 1.21.1.3 with: Xwayland v: 22.1.0
    compositor: gnome-shell driver: X: loaded: amdgpu
    unloaded: modesetting,radeon alternate: fbdev,vesa gpu: amdgpu
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 5760x1080 s-size: <missing: xdpyinfo>
  Monitor-1: DP-2 mapped: DisplayPort-1 pos: right model: Philips PHL 240V5
    serial: <filter> built: 2018 res: 1920x1080 hz: 60 dpi: 93 gamma: 1.2
    size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  Monitor-2: HDMI-A-1 mapped: HDMI-A-0 pos: primary,center
    model: LG (GoldStar) IPS FULLHD built: 2014 res: 1920x1080 hz: 60 dpi: 102
    gamma: 1.2 size: 480x270mm (18.9x10.63") diag: 551mm (21.7") ratio: 16:9
    modes: max: 1920x1080 min: 720x400
  Monitor-3: eDP-1 mapped: eDP pos: primary,left
    model: ChiMei InnoLux 0x14f2 built: 2018 res: 1920x1080 hz: 60 dpi: 158
    gamma: 1.2 size: 309x173mm (12.17x6.81") diag: 354mm (13.9") ratio: 16:9
    modes: max: 1920x1080 min: 640x480
  OpenGL: renderer: AMD RENOIR (DRM 3.44.0 5.16.14-1-MANJARO LLVM 13.0.1)
    v: 4.6 Mesa 21.3.7 direct render: Yes
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 06:00.1 chip-ID: 1002:1637 class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo
    driver: snd_rn_pci_acp3x v: kernel alternate: snd_pci_acp3x,snd_pci_acp5x
    pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 06:00.5 chip-ID: 1022:15e2
    class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 06:00.6
    chip-ID: 1022:15e3 class-ID: 0403
  Device-4: Jieli USB PHY 2.0 type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 4-2.2:4 chip-ID: 1224:2a25 class-ID: 0102
  Device-5: Focusrite-Novation Scarlett Solo (3rd Gen.) type: USB
    driver: snd-usb-audio bus-ID: 4-2.3:6 chip-ID: 1235:8211 class-ID: 0102
    serial: <filter>
  Sound Server-1: ALSA v: k5.16.14-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    port: 3400 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp2s0f0 state: down mac: <filter>
  Device-2: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter
    vendor: Lenovo driver: rtw89_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 2000 bus-ID: 03:00.0 chip-ID: 10ec:8852 class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Device-3: Sitecom Europe B.V. AX88179 Gigabit Ethernet [Sitecom] type: USB
    driver: ax88179_178a bus-ID: 7-2:2 chip-ID: 0df6:0072 class-ID: ff00
    serial: <filter>
  IF: enp6s0f4u2 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  IF-ID-1: br-636811fdb54a state: down mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  IF-ID-2: docker0 state: down mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  WAN IP: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
    bus-ID: 6-4:3 chip-ID: 0bda:4852 class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 3 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 476.94 GiB used: 33.9 GiB (7.1%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Lenovo
    model: UMIS RPIRJ512VME2OWD size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 1.9Q1908 temp: 39.9 C scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 360.44 GiB size: 353.72 GiB (98.13%)
    used: 33.87 GiB (9.6%) fs: ext4 dev: /dev/nvme0n1p4 maj-min: 259:4
    label: N/A uuid: 68bb5f33-f9c3-4ee3-bf6f-8d78d4de8019
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
    used: 29.3 MiB (11.4%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
    label: SYSTEM uuid: 3AB6-9A89
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-2: /dev/nvme0n1p3 maj-min: 259:3 size: 116.23 GiB fs: ntfs
    label: Windows uuid: 009CBC309CBC21D8
USB:
  Hub-1: 1-0:1 info: Full speed or root hub ports: 1 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 2-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 2-2:2 info: Chicony Integrated Camera type: Video
    driver: uvcvideo interfaces: 5 rev: 2.0 speed: 480 Mb/s power: 500mA
    chip-ID: 04f2:b6cb class-ID: fe01 serial: <filter>
  Hub-3: 3-0:1 info: Super-speed hub ports: 2 rev: 3.0 speed: 5 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-4: 4-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-5: 4-2:2 info: Genesys Logic Hub ports: 4 rev: 2.1 speed: 480 Mb/s
    power: 100mA chip-ID: 05e3:0610 class-ID: 0900
  Hub-6: 4-2.1:3 info: Apple Hub in Aluminum Keyboard ports: 3 rev: 2.0
    speed: 480 Mb/s power: 300mA chip-ID: 05ac:1006 class-ID: 0900
  Device-1: 4-2.1.2:5 info: Apple Aluminum Keyboard (ISO) type: Keyboard,HID
    driver: apple,usbhid interfaces: 2 rev: 2.0 speed: 1.5 Mb/s power: 20mA
    chip-ID: 05ac:0221 class-ID: 0300
  Device-2: 4-2.2:4 info: Jieli USB PHY 2.0 type: Video,Audio
    driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s
    power: 500mA chip-ID: 1224:2a25 class-ID: 0102
  Device-3: 4-2.3:6 info: Focusrite-Novation Scarlett Solo (3rd Gen.)
    type: Audio driver: snd-usb-audio interfaces: 4 rev: 2.0 speed: 480 Mb/s
    power: 500mA chip-ID: 1235:8211 class-ID: 0102 serial: <filter>
  Device-4: 4-2.4:7 info: Logitech G203 LIGHTSYNC Gaming Mouse
    type: Mouse,HID driver: hid-generic,usbhid interfaces: 2 rev: 2.0
    speed: 12 Mb/s power: 300mA chip-ID: 046d:c092 class-ID: 0300
    serial: <filter>
  Hub-7: 5-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-8: 5-2:2 info: Genesys Logic Hub ports: 4 rev: 3.2 speed: 5 Gb/s
    chip-ID: 05e3:0626 class-ID: 0900
  Hub-9: 6-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 6-3:2 info: Synaptics Prometheus MIS Touch Fingerprint Reader
    type: <vendor specific> driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s
    power: 100mA chip-ID: 06cb:00bd class-ID: ff00 serial: <filter>
  Device-2: 6-4:3 info: Realtek Bluetooth Radio type: Bluetooth
    driver: btusb interfaces: 2 rev: 1.0 speed: 12 Mb/s power: 500mA
    chip-ID: 0bda:4852 class-ID: e001 serial: <filter>
  Hub-10: 7-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Device-1: 7-2:2
    info: Sitecom Europe B.V. AX88179 Gigabit Ethernet [Sitecom] type: Network
    driver: ax88179_178a interfaces: 1 rev: 3.0 speed: 5 Gb/s power: 496mA
    chip-ID: 0df6:0072 class-ID: ff00 serial: <filter>
Sensors:
  System Temperatures: cpu: 59.0 C mobo: N/A gpu: amdgpu temp: 50.0 C
  Fan Speeds (RPM): fan-1: 0
Info:
  Processes: 382 Uptime: 33m wakeups: 1 Init: systemd v: 250 tool: systemctl
  Compilers: gcc: 11.2.0 clang: 13.0.1 Packages: 1218 pacman: 1212 lib: 320
  flatpak: 0 snap: 6 Shell: Zsh v: 5.8.1 running-in: gnome-terminal
  inxi: 3.3.15

Am i missing something?

Thanks in advance!

well boost is enabled:

But maybe the governor must be changed:

Try maybe ondemand.

sudo cpupower frequency-set -g ondemand

:notebook: That is temporary. https://www.kernel.org/doc/Documentation/cpu-freq/governors.txt

I tried this, it seems to initialise at around 2.8 GHz which is more than it was, but then it immediately stabilises around 2.5/2.6 GHz again (I test with stress and a program in my workload that I knew that got above 4 GHz sometimes)

There is a default power limitation of 15W. Could as well be that you run into the temp limit. You will never get to the 4Ghz max when you stress all available cores.

Try with just one core and you should hit 4Ghz for some time.

Indeed, one seems to be hang around 4 GHz now, it seems weird that it reaches the temp limit so fast. The fans doesn’t even turn on when I do it with multiple cores (for like 2 minutes)

But it reaches the power limit…
For a short period it allows 20W and then after like 30 seconds it’s dropping down to 15W.

That’s why you see a short burst to 2.8 ghz and then a drop to like 2.5.

If you are brave enough, there are ways to raise these limits btw :wink:

Ah I see you have the same laptop :slight_smile: , did you change the power limit on yours? How is the experience?

I run mine with 25W/19W max instead of 15W.
For a couple of minutes during high load you have more performance but then it start’s dropping due to temp throttling.

Most of the time I also use the “power-saving” mode in combination with the above TDP increase (even though I’m mostly on AC). In that mode, clock speeds do not ramp up that quickly when the CPU is busy. That’s pretty good for tasks that do not require much CPU power because it won’t go full 4 GHz for every little thing.

The responsiveness is a bit worse, but at least the FAN does not ramp up for each website load (I’m exaggerating a bit here :wink: ).

1 Like

That’s what you get I guess for buying such a thin laptop with a heavy CPU :sweat_smile:, thanks for your time and handy information!

1 Like

Yeah. That’s true.
It’s still amazing how much performance you can get out of those 8 cores even with a limit of 15W.
World’s vs my previous Intel 4 core…

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.