summary refs log tree commit diff
path: root/nixos/doc/manual/from_md/release-notes/rl-2111.section.xml
diff options
context:
space:
mode:
authorMikael Voss <mvs@nyantec.com>2021-09-20 20:38:35 +0200
committerYuka <yuka@yuka.dev>2021-11-15 18:34:17 +0100
commitee8e993fd430ed80b1ea58b1b9b396270ade09a1 (patch)
tree230d9524a11066dfb0f4a586bdd22f62dfae37e2 /nixos/doc/manual/from_md/release-notes/rl-2111.section.xml
parentd635496f3a3fe33e290bed733a6579aadf611d00 (diff)
downloadnixpkgs-ee8e993fd430ed80b1ea58b1b9b396270ade09a1.tar
nixpkgs-ee8e993fd430ed80b1ea58b1b9b396270ade09a1.tar.gz
nixpkgs-ee8e993fd430ed80b1ea58b1b9b396270ade09a1.tar.bz2
nixpkgs-ee8e993fd430ed80b1ea58b1b9b396270ade09a1.tar.lz
nixpkgs-ee8e993fd430ed80b1ea58b1b9b396270ade09a1.tar.xz
nixpkgs-ee8e993fd430ed80b1ea58b1b9b396270ade09a1.tar.zst
nixpkgs-ee8e993fd430ed80b1ea58b1b9b396270ade09a1.zip
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.
Diffstat (limited to 'nixos/doc/manual/from_md/release-notes/rl-2111.section.xml')
0 files changed, 0 insertions, 0 deletions