I used to think that my laptop CPU is, unfortunately, too slow, but today i discovered some interesting detail.
After installing cpupower
and running cpupower frequency-info
, the current frequency displayed was only around 768 MHz!
As soon as i changed the governor by running cpupower frequency-set -g performance
, the frequency immediately increased up to 3.1 GHz.
My laptop fan became quite noisy (lol), but literally all operations became so fast, that i couldn't imagine anything like this :0.
Then, I decided to configure this as a permanent settings, yet cpupower doesn't support configs, so i used TLP for that purpose.
After installing it, i edited some of the lines in the /etc/tlp.conf
config file.
I added the following lines:
CPU_SCALING_GOVERNOR_ON_AC=performance
CPU_SCALING_GOVERNOR_ON_BAT=ondemand
CPU_ENERGY_PERF_POLICY_ON_AC=balance_performance
CPU_ENERGY_PERF_POLICY_ON_BAT=balance_power
CPU_MIN_PERF_ON_AC=0
CPU_MAX_PERF_ON_AC=100
CPU_MIN_PERF_ON_BAT=0
CPU_MAX_PERF_ON_BAT=30
PLATFORM_PROFILE_ON_AC=performance
PLATFORM_PROFILE_ON_BAT=low-power
START_CHARGE_THRESH_BAT0=75
STOP_CHARGE_THRESH_BAT0=80
So, this is my TLP config, just for documentation.
27th november 2022