What Is a Nice Value?
A nice value is a number that influences a process scheduling priority, where a more positive value makes the process nicer by claiming less CPU when there is contention. The scheduler uses it to weight how often each runnable process is chosen. Lowering niceness, which usually needs privilege, makes a process more aggressive.
Why it matters
Running a heavy background task at higher niceness keeps it from starving the foreground build on a shared runner. It is a simple lever for balancing competing workloads on one machine.
Related guides
What Is Cgroup Resource Control?Cgroup resource control uses Linux control groups to limit and account for the CPU, memory, and IO that a gro…
What Is a Ulimit Soft Limit?A ulimit soft limit is the currently enforced ceiling on a process resource, such as open files, that a proce…
What Is Job Control?Job control is the shell feature that lets you start, suspend, resume, and move commands between the foregrou…