From 3b3be7a74b8bd46711f04b88bbfab37ed325332d Mon Sep 17 00:00:00 2001 From: aaron levin Date: Wed, 16 Dec 2015 23:26:07 +0100 Subject: link_power_policy_management default to max_performance The kernel default for `link_power_management_policy` is `"max_performance"`. This commit: https://github.com/NixOS/nixpkgs/commit/f169f60575bec7c61626af180cae364d321b4bec set the NixOS default to `"min_performance"`. This issue (https://github.com/NixOS/nixpkgs/issues/11276) details my long journey to discover this after several file system failures incorrectly attributed to `TRIM` and `NCQ` settings. I think we should use the kernel default of `"max_performance"` to assure the best experience for new users with SSDs and to conform to the defaults of the kernel and other distros. --- nixos/modules/config/power-management.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos') diff --git a/nixos/modules/config/power-management.nix b/nixos/modules/config/power-management.nix index dedc8a3f6793..6086f06ca3d8 100644 --- a/nixos/modules/config/power-management.nix +++ b/nixos/modules/config/power-management.nix @@ -71,7 +71,7 @@ in # FIXME: Implement powersave governor for sandy bridge or later Intel CPUs powerManagement.cpuFreqGovernor = mkDefault "ondemand"; - powerManagement.scsiLinkPolicy = mkDefault "min_power"; + powerManagement.scsiLinkPolicy = mkDefault "max_performance"; systemd.targets.post-resume = { description = "Post-Resume Actions"; -- cgit 1.4.1