<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="task" id="process-priority-what" xml:lang="zh_CN">
  <info>
    <revision version="0.1" date="2014-01-26" status="stub"/>
    <link type="guide" xref="" group="processes-info"/>
    <link type="seealso" xref="process-priority-change"/>
    <link type="seealso" xref="cpu-multicore"/>

    <credit type="author copyright">
      <name>Phil Bull</name>
      <email>philbull@gmail.com</email>
      <years>2011, 2014</years>
    </credit>

    <credit type="author copyright">
      <name>Michael Hill</name>
      <email>mdhillca@gmail.com</email>
      <years>2011</years>
    </credit>

    <desc>进程的 <em>nice</em> 值用于调节进程的优先程度。</desc>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Victor_Trista</mal:name>
      <mal:email>ljlzjzm@hotmail.com</mal:email>
      <mal:years>2023</mal:years>
    </mal:credit>
  </info>

  <title>什么是进程的 <em>nice</em> 值？</title>

  <p>进程的优先级决定了进程在系统的一个或多个处理器（CPU 或内核）上分配的时间份额。一个<em>nice</em> 的进程，或者说，一个具有更高 nice 值的进程，会将优先级让给其他进程。调整 nice 值将提高或降低调度优先级。</p>

  <p>nice 值越低，进程的优先级越高。nice 的取值范围为 -20（较高优先级）到 20（较低优先级）。nice 的默认值通常为 0。</p>

</page>
