I tried adding cpufreq.default_governor=performance via yast2 → Bootloader → Kernel-Parameters, but that did not work either.
So what is the current way to change the cpu governor automatically during boot?
Background
I am on a fresh install of Tumbleweed, using an i7-13700K with Hyperthreading disabled in BIOS. I am compiling a lot of Haskell and my ear, my clock and htop confirm that the default boot yields a very limited performance (htop show no more than 3GHz, desipite a load average above 20) .
The following two commands issued as root fixes this successfully, htop showing 5.3GHz for the first eight cores and also largely reduced Haskell compile times:
No, even though I moved the KDE energy profile to “Performance”, the cores are all at 800Mhz while I type this reply (according to htop). However, as soon as I start something that requires CPU power, such as compiling, the speeds go up quickly to the maximum. So it works the way I want it now.
I guess this is due to “intel_pstate” working in non-standard ways.
I am reluctant to disable the intel_pstate, since the CPU has different core types and I fear that another manager might assign the important tasks to the weak cores.
Also, I now see speeds of 5.4 GHz reported, which is above the 5.3 GHz reported by /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq. According to the CPU’s docs, this speed is only available for short bursts.
Interestingly enough, despite getting much more power in practice, I still see