Measuring Multiprocessor System Activity

Previous Topic Next Topic

Observing Processor Queue Length

The System\Processor Queue Length counter is a rough indicator of the number of threads each processor is servicing. The processor queue length, sometimes called processor queue depth, reported by this counter is an instantaneous value that is representative only of a current snapshot of the processor, so it is necessary to observe this counter over a long period of time. Also, the System\Processor Queue Length counter is reporting a total queue length for all processors, not a length per processor.

The optimal processor queue length can vary based on processor utilization or other factors as follows:

If the processor queue length exceeds the value recommended in the preceding list, it generally indicates that there are more threads than the current processor can service in an optimal way. Reducing the number of threads or providing more CPU power, either by adding processors or upgrading to faster processors, are optional methods of shortening the processor queue.

Figure 10.2 shows a long queue that has developed over time, as processors have been working at capacity.

Figure 10.2    Example of Long Queue at High Processor Usage
Enlarge figure

Figure 10.2 Example of Long Queue at High Processor Usage

When you begin to see longer queues, monitor additional counters for DPC and interrupt activity, as described in the following sections.

© 1985-2000 Microsoft Corporation. All rights reserved.