Hi,
is it possible to limit the frequency and thereby power consumption of a system based on coreboot and an i7-12600k to, for example, 800MHz? It needs to be on 24/7 and the special os+software running on it does not downclock. The reduced performance is still sufficient for me.
First I limited the number of active cores, which helped. Overall system power consumption is then 65W when up and running.
Then I tried setting
register "cpu_ratio_override" = "8"
in the devicetree.cb file and replaced enable_turbo with disable_turbo
--- a/src/soc/intel/alderlake/cpu.c
+++ b/src/soc/intel/alderlake/cpu.c
@@ -136,7 +136,8 @@ void soc_core_init(struct device *cpu)
if (check_energy_perf_cap())
set_energy_perf_pref(conf->energy_perf_pref_value);
/* Enable Turbo */
- enable_turbo();
+ //enable_turbo();
+ disable_turbo();
but it does not have an effect on the maximum power consumption. It’s still 65W. Though coreboot now only shows the 800 and 801MHz frequency options for the active cores during bootup.
While the following does limit the power consumption, I don’t know how to find a safe/stable value:
register "power_limits_config[ADL_S_642_125W_CORE]" = "{
.tdp_pl1_override = 5,
.tdp_pl2_override = 10,
.tdp_psyspl2 = 10,
}"
5W seems to work. 1W causes problems. Is there another way, for example with mfit or some other tool to create a low-power system out of this, independent of what the OS and any application might or might not do?
Edit by Fernando: Thread moved into the “BIOS Modding Requests” Category and title customized