Fix framework performance on AC

This commit is contained in:
Sijmen 2023-06-19 17:58:42 +02:00
parent 77e09e2191
commit 0238ad32b9
Signed by: vijfhoek
GPG key ID: DAF7821E067D9C48

View file

@ -22,8 +22,8 @@ in
]; ];
virtualisation = { virtualisation = {
#podman.enable = true; podman.enable = true;
#podman.dockerCompat = true; podman.dockerCompat = true;
# libvirtd.enable = true; # libvirtd.enable = true;
# spiceUSBRedirection.enable = true; # spiceUSBRedirection.enable = true;
}; };
@ -165,9 +165,10 @@ in
PCIE_ASPM_ON_BAT = "powersupersave"; PCIE_ASPM_ON_BAT = "powersupersave";
RUNTIME_PM_ON_BAT = "1"; RUNTIME_PM_ON_BAT = "1";
CPU_ENERGY_PERF_POLICY_ON_AC = "64"; CPU_ENERGY_PERF_POLICY_ON_AC = "balance_performance";
CPU_ENERGY_PERF_POLICY_ON_BAT = "balance_power"; CPU_ENERGY_PERF_POLICY_ON_BAT = "balance_power";
CPU_BOOST_ON_BAT = "0"; CPU_BOOST_ON_BAT = "0";
CPU_BOOST_ON_AC = "1";
CPU_HWP_DYN_BOOST_ON_BAT = "0"; CPU_HWP_DYN_BOOST_ON_BAT = "0";
SCHED_POWERSAVE_ON_BAT = "1"; SCHED_POWERSAVE_ON_BAT = "1";
NMI_WATCHDOG = "0"; NMI_WATCHDOG = "0";