From 168d48a5c93215aab4b5bb23768061e66bd17f02 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 6 Aug 2013 18:32:31 +0200 Subject: [PATCH] nix-daemon: Run under the default nice level Running at a low priority is generally bad since it runs the risk of priority inversions, etc. It's really the builders that should run under a different priority (e.g. in their own cgroup). --- modules/services/misc/nix-daemon.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/services/misc/nix-daemon.nix b/modules/services/misc/nix-daemon.nix index 3296eff041b..7a7462ecb39 100644 --- a/modules/services/misc/nix-daemon.nix +++ b/modules/services/misc/nix-daemon.nix @@ -127,7 +127,7 @@ in }; daemonNiceLevel = mkOption { - default = 10; + default = 0; description = " Nix daemon process priority. This priority propagates to build processes. 0 is the default Unix process priority, 20 is the lowest. @@ -135,7 +135,7 @@ in }; daemonIONiceLevel = mkOption { - default = 7; + default = 0; description = " Nix daemon process I/O priority. This priority propagates to build processes. 0 is the default Unix process I/O priority, 7 is the lowest.