Manually Adjust CPU Priority on Windows Vista

Written by:  • Edited by: Lamar Stonecypher
Updated Feb 19, 2009
• Related Guides: Task Manager | Windows Task Manager | Windows Vista

This Windows tutorial will show you how to adjust the settings of a program or process so that it will temporarily run with a higher or a lower CPU priority.

Tip # 4: Adjust the CPU Priority of a Program or Process

Using Vista’s Task Manager, you can set the priority for a particular process higher or lower to increase or decrease its access to CPU resources. This enables you to indicate to Vista which particular process or program should run with a higher or lower CPU priority as needed.

For example: If you locate a program that is draining memory, you can re-set the program’s priority to low, so as to free up some resources. While this will slow down the program’s responsiveness, it will enable you to continue to use it while minimizing its use of CPU and/or RAM resources.

On the other hand, if you are using the memory-draining program, you can assign it higher priority so as to speed it up temporarily and help it finish the task faster.

How to Adjust the CPU Priority of a Program or Process

  1. Open the Task Manager: right-click on your taskbar and then click on Task Manager.
  2. Click on the Processes tab.
  3. Click on the “Show processes from all users” button at the bottom of the dialog box.
  4. Enter a password or provide confirmation if prompted by the UAC.
  5. Right click on the process whose CPU priority setting you would like to adjust.
  6. Select Set Priority from the drop-down menu.
  7. Click on the desired priority level that you want to have for the process. The options available are: Real time, High, Above Normal, Normal, Below Normal or Low, where Realtime adjusts to the highest priority, while Low will adjust it to the lowest priority.
  8. Click on the Change Priority button in the confirmation window that pops up.
  9. Exit the Windows Task Manager. The process will now run with the CPU priority that you have set.
    Task Manager - priority
    click to enlarge

Task Manager - priority 2
click to enlarge

NOTE

  • Vista will maintain the adjusted CPU priority you choose only for as long as the particular process is open. If you close the process or its associated program, log off your account, or shut down your PC, then it will automatically default the CPU priority back to normal.
  • You cannot adjust the CPU priority level for a process that is associated with a service, or with some programs that may run their own services such as an anti-virus or anti-spyware programs. You also cannot adjust the priority for a system processes such as the svchost.exe process.
  • To find out which service a process is associated with, right click on the process and then click on Go to Services(s). This will switch you to the Services tab where the service will be highlighted

Comments

Showing all 2 comments
 
dude Nov 6, 2010 8:03 PM
LARRY IS WRONG
I've set the priority on many applications to help with scheduling, especially something that controls hardware. If you set something to "Realtime" you are asking for problems or a very long wait though. What you are doing is setting the priority of the application in the system scheduler. Apps are scheduled in times slices, if you give it a higher priority the application WILL get more time slices relative to other processes to do it's job. Thus upping performance and reducing latency. Larry is completely wrong about never raising priority of an application, very correct in you don't wan't to set something to real time though. Also maximizing windows and leaving them up will help somewhat with the scheduling and getting more time slices. Larry shouldn't talk about thinks that he doesn't know about.
Larry Miller Jun 15, 2009 11:24 AM
RE: Manually Adjust CPU Priority on Windows Vista
WARNING
This article contains some incorect information.
The ability to set process priority was provided to solve specific problems, not to improve performance. With rare exceptions, raising a process's priority wil NOT improve it''s performance. Windows uses priority to chose which process will run at a specific time, not to determine sharing of CPU time. This is a complex issue and not easily understood.

Setting CPU priority does not directly influence memory use.

Setting prority to High or Realtime can have serious consequences. Some critical system threads run at a lower priority and can be starved of CPU time, causing system instabilty or a lockup.

Larry Miller
Micrsoft MCSA
 
blog comments powered by Disqus
Email to a friend