~noskcaj/ubuntu/vivid/gnome-system-monitor/titlebars

« back to all changes in this revision

Viewing changes to help/C/process-priority-change.page

  • Committer: Package Import Robot
  • Author(s): Andreas Henriksson
  • Date: 2014-03-24 22:33:35 UTC
  • mfrom: (1.5.1) (11.1.8 experimental)
  • Revision ID: package-import@ubuntu.com-20140324223335-unko6n59tzft92jw
Tags: 3.12.0-1
* New upstream release.
* Drop debian/patches/01-fix_ftbfs_hurd.patch, merged upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<page xmlns="http://projectmallard.org/1.0/"
 
2
      type="topic" style="task"
 
3
      id="process-priority-change">
 
4
  <info>
 
5
    <revision version="0.1" date="2014-01-26" status="review"/>
 
6
    <link type="guide" xref="index" group="processes-tasks" />
 
7
    <link type="seealso" xref="cpu-check" />
 
8
    <link type="seealso" xref="process-identify-hog" />
 
9
    <link type="seealso" xref="process-priority-what" />
 
10
    
 
11
    <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
 
12
    
 
13
    <credit type="author copyright">
 
14
      <name>Phil Bull</name>
 
15
      <email>philbull@gmail.com</email>
 
16
      <years>2014</years>
 
17
    </credit>
 
18
 
 
19
    <desc>Decide whether a process should get a bigger or smaller share of the processor's time.</desc>
 
20
  </info>
 
21
 
 
22
  <title>Change the priority of a process</title>
 
23
 
 
24
  <p>You can tell the computer that certain processes should have a higher priority than others, and so should be given a bigger share of the available computing time. This can make them run faster, but only in certain cases. You can also give a process a <em>lower</em> priority if you think it is taking up too much processing power.</p>
 
25
  
 
26
  <steps>
 
27
    <item><p>Go to the <gui>Processes</gui> tab and click on the process you want to have a different priority.</p></item>
 
28
    <item><p>Right-click the process, and use the <gui>Change Priority</gui> menu to assign the process a higher or lower priority.</p></item>
 
29
  </steps>
 
30
  
 
31
  <p>There is typically little need to change process priorities manually. The computer will usually do a good job of managing them itself. (The system for managing the priority of processes is called <link xref="process-priority-what">nice</link>.)</p>
 
32
  
 
33
 
 
34
  <section id="faster">
 
35
    <title>Does higher priority make a process run faster?</title>
 
36
    
 
37
    <p>The computer shares its processing time between all of the running processes. This is normally shared intelligently, so programs that are doing more work automatically get a bigger share of the resources. Most of the time, processes will get as much processing time as they need, and so will already be running as fast as possible. Changing their priority won't make a difference.</p>
 
38
    
 
39
    <p>If your computer is running several computationally-intensive programs at once, however, its processing time may be "over-subscribed" (that is, the <link xref="process-identify-hog">processor's full capacity</link> will be in use). You may notice that other programs run slower than usual because there is not enough processing time to share between all of them.</p>
 
40
    
 
41
    <p>In this case, changing the priority of processes can be helpful. You could lower the priority of one of the computationally-intensive processes to free up more processing time for other programs. Alternatively, you could increase the priority of a process that is more important to you, and that you want to run faster.</p>
 
42
    
 
43
  </section>
 
44
 
 
45
</page>