Debian Codegraph @

help/C/process-priority-what.page

raw
1 <page xmlns="http://projectmallard.org/1.0/"
2 type="topic" style="task"
3 id="process-priority-what">
4 <info>
5 <revision version="0.1" date="2014-01-26" status="stub"/>
6 <link type="guide" xref="" group="processes-info" />
7 <link type="seealso" xref="process-priority-change" />
8 <link type="seealso" xref="cpu-multicore" />
9
10 <credit type="author copyright">
11 <name>Phil Bull</name>
12 <email>[email protected]</email>
13 <years>2011, 2014</years>
14 </credit>
15
16 <credit type="author copyright">
17 <name>Michael Hill</name>
18 <email>[email protected]</email>
19 <years>2011</years>
20 </credit>
21
22 <desc>The <em>nice</em> value of a process is used to adjust its priority.</desc>
23 </info>
24
25 <title>What is the <em>nice</em> value of a process?</title>
26
27 <p>The priority of a process determines the share of time the process is
28 alotted on a system's one or more processors (CPUs or cores). A <em>nice</em>
29 process, or one with a higher nice value, concedes priority to other processes.
30 Adjusting the nice value will increase or decrease the scheduling priority.</p>
31
32 <p>The lower the nice value, the higher the priority of the process. The nice
33 value ranges from -20 (low nice, higher priority) to 20 (lower priority). The
34 default value of nice is usually 0.</p>
35
36 </page>