Discussion Locked

Windows 2000 Task Manager Process Pri

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

In Task Manger, Process Tab, you can right click on a process and set the priority level of the process.

Exactly, what does the priority level do?

If each process runs in its own memory space, what difference does it make to set a priority on each process?

Thanks

5 replies

by amagoon

While processes may not share the same memory space, they do in fact share the same CPU. If you watch the Task Manager's Processes view, you can actively watch the percentage of CPU time that each process is using.

Certain tasks require higher availability to the processor. For example, the NetLogon service runs at High priority so that it can be accurate and respond to network logon requests faster.

You'll also notice that the taskmgr.exe itself runs at High Priority. This allows it to take precedence over other processes to make your life easier when trying to kill a runaway app using End Process, for example.

Before Windows NT, we had no control over individual priorities -- Windows 3.11 and earlier would only let you set Foreground Priority and Background Priority. And even this didn't work very well.

Now that we're using an OS with preemptive multitasking capabilities, we're finally able to control exactly how much of the CPU time a process is allowed to have.

Beware of setting any process to Realtime -- you're effectively giving it free reign over your entire CPU -- including giving it more priority than your Task Manager, with its "End Process" button.

by michael m.

The priority determines the order in which the processor is assigned tasks. For all that we think the processor 'multi tasks' in fact it can only do one thing at a time. An OS process called the 'scheduler' keeps track of all the running threads (think applications), and assigns each, in order, a chunk (quantum) of processor time.

If you have 3 processes A B C running, all doing the same thing at medium priority, and you change the Priority of B to "high" then B will take ALL the time slices until it's finished, then A and C will begin to share the CPU again, and will finish at the same time.

This discussion is closed to new replies.