<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="task" id="process-priority-change" xml:lang="zh_CN">
  <info>
    <revision version="0.1" date="2014-01-26" status="review"/>
    <link type="guide" xref="index#processes-tasks" group="processes-tasks"/>
    <link type="seealso" xref="cpu-check"/>
    <link type="seealso" xref="process-identify-hog"/>
    <link type="seealso" xref="process-priority-what"/>
    
    <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>
    
    <credit type="author copyright">
      <name>Phil Bull</name>
      <email>philbull@gmail.com</email>
      <years>2014</years>
    </credit>

    <desc>决定一个进程是否应该获得更大或更小的处理器时间。</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>改变进程的优先级</title>

  <p>您可以告诉计算机某些进程应该比其他进程具有更高的优先级，因此应该获得更大份额的可用计算时间。这可以使它们运行得更快，但仅限于某些情况。如果您认为某个进程占用了过多的处理能力，您也可以将其设置为较 <em>低</em> 的优先级。</p>
  
  <steps>
    <item><p>转到 <gui>进程</gui> 选项卡并点击您想要具有不同优先级的进程。</p></item>
    <item><p>右键单击该进程，然后使用 <gui>改变优先级</gui> 菜单为该进程分配更高或更低的优先级。</p></item>
  </steps>
  
  <p>通常很少需要手动改变进程的优先级。计算机通常会很好地管理它们。(管理进程优先级的系统被称为 <link xref="process-priority-what">nice</link>）。</p>
  

  <section id="faster">
    <title>更高的优先级是否会使进程运行得更快？</title>
    
    <p>计算机在所有正在运行的进程之间共享其处理时间。这通常是智能共享的，因此做更多工作的程序会自动获得更大的资源份额。大多数时候，进程会根据需要获得尽可能多的处理时间，因此已经尽可能快地运行。改变他们的优先级不会有什么不同。</p>
    
    <p>但是，如果您的计算机同时运行多个计算密集型程序，则其处理时间可能会“超额使用”（即，<link xref="process-identify-hog">处理器满负荷</link> 运转）。您可能会注意到其他程序的运行速度比平时慢，因为没有足够的处理时间在所有程序之间共享。</p>
    
    <p>在这种情况下，更改进程的优先级可能会有所帮助。您可以降低其中一个计算密集型进程的优先级，以便为其他程序腾出更多处理时间。或者，您可以增加对您来说更重要并且希望运行得更快的进程的优先级。</p>
    
  </section>

</page>
