05.03.2013 Views

MCSA/MCSE Self-Paced Training Kit (Exam 70-270): Installing ...

MCSA/MCSE Self-Paced Training Kit (Exam 70-270): Installing ...

MCSA/MCSE Self-Paced Training Kit (Exam 70-270): Installing ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

19-6 Chapter 19 Monitoring and Optimizing System Performance<br />

Caution You should change the priority of processes only when there is a process that<br />

needs priority over (or is less important than) other running processes; even then, you should<br />

try to use only the AboveNormal, Normal, and BelowNormal levels. Setting a process at too<br />

high a base priority (such as RealTime) can consume enough system resources that other<br />

vital processes cannot function properly.<br />

How to Set Processor Affinity<br />

Windows XP Professional can support two processors running on the same computer.<br />

When two processors are installed, Windows XP Professional does a good job of<br />

assigning processes to processors based on need. However, you can assign a particular<br />

process to a specific processor. (This is referred to as assigning processor affinity to<br />

a process; of course, it is available only on computers with two processors or on computers<br />

with a hyperthreaded processor in which multiple processes can run simultaneously<br />

on one processor.)<br />

To assign a process to a processor, use the following steps:<br />

1. In Task Manager, on the Processes tab, right-click a process and then click Set<br />

Affinity.<br />

2. In the Processor Affinity dialog box, select the processors on which the process<br />

should be allowed to run. By default, both processors (CPU 0 and CPU 1) are<br />

selected for a processor.<br />

Caution Controlling processor affinity can improve performance by reducing the number of<br />

processor cache flushes that occur as threads move from one processor to another. This<br />

might be a good option for dedicated file servers. However, be aware that dedicating a program<br />

to a particular processor might not allow other program threads to migrate to the leastbusy<br />

processor.<br />

How to Monitor System Performance<br />

You can use the Performance tab in the Task Manager dialog box (see Figure 19-3) to<br />

see a current overview of system performance that includes information about the CPU<br />

(or CPUs on a computer with two processors), physical memory, and virtual memory.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!