nicety
v0.1.0
nicety is a process priority management daemon for Linux that sets a process's:
based on udev-like rules.
RPM package available from copr.
Install with:
dnf copr enable jcrd/nicety
dnf install nicety
Create rules in the /etc/nicety/rules.d
directory.
Enable the systemd service with:
systemctl enable --now nicety
Rules are JSON files with the extension .rules
.
Example rule /etc/nicety/rules.d/make.rules
:
{ "name": "make", "nice": 19, "io_class": "idle", "sched_policy": "idle" }
Valid keys:
name
: the name of the process command as given in /proc/<PID>/comm
(required)cpu_affinity
: bond a process to a given set of CPUs (man page)nice
: alter the scheduling priority (man page)io_class
: set I/O scheduling class (man page)io_priority
: set I/O scheduling priority (man page)sched_policy
: set realtime scheduling policy (man page)sched_priority
: set realtime scheduling priority (man page)delay
: delay after which the above attributes are applied if the process
is still runningThis project is licensed under the MIT License (see LICENSE).