diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-08-06 18:32:31 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-08-07 14:10:49 +0200 |
commit | 168d48a5c93215aab4b5bb23768061e66bd17f02 (patch) | |
tree | 46c0aca6c5a0d08b9ea4c401c96d3b49fa0b38fc /modules/services/misc/nix-daemon.nix | |
parent | 5827261bef9d7ee8c79159c4f65b222238c32df5 (diff) | |
download | nixpkgs-168d48a5c93215aab4b5bb23768061e66bd17f02.tar nixpkgs-168d48a5c93215aab4b5bb23768061e66bd17f02.tar.gz nixpkgs-168d48a5c93215aab4b5bb23768061e66bd17f02.tar.bz2 nixpkgs-168d48a5c93215aab4b5bb23768061e66bd17f02.tar.lz nixpkgs-168d48a5c93215aab4b5bb23768061e66bd17f02.tar.xz nixpkgs-168d48a5c93215aab4b5bb23768061e66bd17f02.tar.zst nixpkgs-168d48a5c93215aab4b5bb23768061e66bd17f02.zip |
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).
Diffstat (limited to 'modules/services/misc/nix-daemon.nix')
-rw-r--r-- | modules/services/misc/nix-daemon.nix | 4 |
1 files 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. |