From 0238ad32b904111a609eaeb00ce8f886bde81dcd Mon Sep 17 00:00:00 2001 From: Sijmen Date: Mon, 19 Jun 2023 17:58:42 +0200 Subject: [PATCH] Fix framework performance on AC --- framework/configuration.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/framework/configuration.nix b/framework/configuration.nix index 87b7461..5cef0dd 100644 --- a/framework/configuration.nix +++ b/framework/configuration.nix @@ -22,8 +22,8 @@ in ]; virtualisation = { - #podman.enable = true; - #podman.dockerCompat = true; + podman.enable = true; + podman.dockerCompat = true; # libvirtd.enable = true; # spiceUSBRedirection.enable = true; }; @@ -165,9 +165,10 @@ in PCIE_ASPM_ON_BAT = "powersupersave"; 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_BOOST_ON_BAT = "0"; + CPU_BOOST_ON_AC = "1"; CPU_HWP_DYN_BOOST_ON_BAT = "0"; SCHED_POWERSAVE_ON_BAT = "1"; NMI_WATCHDOG = "0";