linrunner / TLP

TLP - Optimize Linux Laptop Battery Life
https://linrunner.de/tlp
GNU General Public License v2.0
2.51k stars 129 forks source link

Support for i7 1365U (thinkpad T14s Gen 4) #709

Closed Tuxino88 closed 9 months ago

Tuxino88 commented 9 months ago

Is your feature request related to a problem? Please describe. This processor has 2 types of cores: 2 Performance-cores core and 8 Efficient-cores (obiviously with different frequency).

it would be possible: 1) set frequencies for P core separately? 2) turn off the P cores?

Schermata del 2023-09-19 09-59-52

linrunner commented 9 months ago

You have already throttled the CPU with all available screws:

In particular you configured for

which means a drastic limitation of the CPU's power consumption and implicitly also limits the operating frequencies (unfortunately the driver does not reflect it in scaling_min/max_freq).

What purpose do you serve by additionally messing with the frequencies?

ps. I absolutely do not understand why so many insist on limiting frequencies although better settings have been available for so long. I am now seriously considering whether to remove the frequency settings for the _intelpstate altogether.

Tuxino88 commented 9 months ago

I don't know how the kernel (intel_pstate) handles P cores, so I wanted to figure out how to limit them when running on battery power. At first glance, looking at the histograms, it seems that they are used indiscriminately like E cores. My doubts are all here.

linrunner commented 9 months ago

I see. If the _intelpstate driver does not do what you expect, then you should address the issue to its developers.