1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-11 15:15:36 +00:00
nixpkgs/nixos/modules
Mikael Voss ee8e993fd4 modules/nix-daemon: Replace daemon(IO)NiceLevel options
The nix.daemonNiceLevel options allows for setting the nice level of the
Nix daemon process. On a modern Linux kernel with group scheduling the
nice level only affects threads relative to other threads in the same
task group (see sched(7)). Therefore this option has not the effect one
might expect.

The options daemonCPUSchedPolicy and daemonIOSchedClass are introduced
and the daemonIONiceLevel option renamed to daemonIOSchedPrority for
consistency. These options allow for more effective control over CPU
and I/O scheduling.

Instead of setting daemonNiceLevel to a high value to increase the
responsiveness of an interactive system during builds -- which would not
have the desired effect, as described above -- one could set both
daemonCPUSchedPolicy and daemonIOSchedClass to idle.
2021-11-15 18:34:17 +01:00
..
config nixos/swap: add randomEncryption.allowDiscards option 2021-11-08 18:17:00 +03:00
hardware Merge pull request #139354 from colemickens/nvidia 2021-11-04 23:09:38 -07:00
i18n/input-method nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
installer nix-fallback-paths.nix: Update to 2.4 2021-11-09 10:47:10 -08:00
misc kippo: cleanup the corresponding broken module. 2021-10-08 14:10:49 +08:00
profiles NixOS AWS AMI: enable the serial console on ttyS0 2021-08-20 12:42:02 -04:00
programs Merge pull request #135026 from ckiee/cnping 2021-11-15 11:35:59 +01:00
security Merge master into staging-next 2021-11-09 00:01:30 +00:00
services modules/nix-daemon: Replace daemon(IO)NiceLevel options 2021-11-15 18:34:17 +01:00
system lib.modules: add mkDerivedConfig 2021-11-15 07:03:41 -05:00
tasks nixos/zfs: replace parentheses with braces 2021-11-03 04:59:46 -04:00
testing nixos/lib/qemu-flags: rename to qemu-common 2021-09-18 16:58:16 +02:00
virtualisation nixos/qemu-guest-agent: use qemu_kvm 2021-11-14 20:28:06 +00:00
module-list.nix Merge pull request #135026 from ckiee/cnping 2021-11-15 11:35:59 +01:00
rename.nix Merge pull request #140820 from VergeDX/kippo-remove 2021-10-11 17:19:11 +08:00