Thursday, January 28, 2010



Using Windows' Performance Monitor (perfmon)
Detecting Cache and Memory Misses
Detecting Processor Bottlenecks

Using Windows' Performance Monitor (perfmon)

TechNet - TechNet Library - TechNet Archive - WindowsNT Workstation - Resource Kit

Chapter 9 - The Art of Performance Monitoring
Chapter 10 - About Performance Monitor
Chapter 11 - Performance Monitoring Tools
Chapter 12 - Detecting Memory Bottlenecks
Chapter 13 - Detecting Processor Bottlenecks
Chapter 14 - Detecting Disk Bottlenecks
Chapter 15 - Detecting Cache Bottlenecks
Chapter 16 - Monitoring Multiple Processor Computers

Detecting Cache and Memory Misses
To analyse cache miss, the following performance counters may help:
- Cache : Data Map Hits :
Percentage of Data Maps in the Cache that could be resolved without having to retrieve a page from
the disk, i.e. the page was already in physical memory.
- Cache : Fast Read Resource Misses /second :
Frequency of Cache misses necessitated by the lack of available resources to satisfy the request.
- Memory : Pages /second :
Number of pages read from the disk or written to the disk to resolve memory references to pages that
were not in memory at the time of the reference. This is the sum of Pages Input/sec and Pages
Output/sec. This counter includes paging traffic on behalf of the system Cache to access file data for
applications. This value also includes the pages to/from non-cached mapped memory files. This is the
primary counter to observe if you are concerned
- Memory : Cache Faults :
Occur whenever the Cache manager does not find a file's page in the immediate Cache and must ask
the memory manager to locate the page elsewhere in memory or on the disk so that it can be loaded
into the immediate Cache.

Detecting Processor Bottlenecks
The symptoms of a processor bottleneck aren't difficult to recognize:
- Processor: %Processor Time often exceeds 90%.
- System: Processor Queue Length is often greater than 2.
- On multiprocessor systems, System: % Total Processor Time often exceeds 50%.

No comments: