Previous | Table of Contents | Next |
Doesnt Figure 6.8 look quite similar to the display shown in Figure 6.7? Notice the same basic peaks for Memory Page Faults/sec. and Process Page Faults/sec. Although, if you directly overlay the Memory Page Faults/sec. with the Process Page Faults/sec., you will notice that the Memory counter is a bit higher than the Process counter. This is because the Memory counter is a system-wide counter and includes other paging activity from other processes. The corresponding system-to-process counters are displayed in Table 6.3 to aid you in your analysis.
Object | Counter | Process Counter | |
---|---|---|---|
Memory | Page Faults/Sec. | Page Faults/Sec. | |
Memory | Available Bytes | Virtual Bytes | |
Memory | Committed Bytes | Private Bytes | |
Paging File | Usage | Page File Bytes | |
Paging File | Usage Peak | Page File Bytes Pea | |
Of course. I knew which process was the problem, so my chart only includes the MemHog application. In order to find a real-world application problem, you should select all the Process instances except for the system processes, unless you are looking for a system-process memory leak. A couple of other Process object counters that you might find useful in your diagnosis of a memory-intensive application are:
TIP: Both the Pool Non-paged Bytes and Pool Paged Bytes counters are very useful in tracking down a process that is incorrectly making system calls and using all of the available pool bytes.
TIP: By monitoring the working set for a particular process and comparing that to the working set peak, you can determine if adding additional memory will increase the performance of the process. The idea here is to add memory until the working set and working set peak values are equal. This will provide the maximum benefit to the process. You should consider that this may prove to be an unrealistic goal if your budget is limited.
Finding disk bottlenecks is easier than finding processor or memory bottlenecks because the performance degradation is readily apparent. There are really only four performance counters to monitor for bottlenecks. These are:
When I perform disk diagnostics, I break my Performance Monitor charts into two different settings. I use the first three counters mentioned in the previous list plus the Memory Pages/sec. from the LogicalDisk object to determine the performance on a drive-letter basis. Then, I use the same counters from the PhysicalDisk object to determine my hardware disk performance. These counters are used in the LogicalDisk.PMW and PhysicalDisk.PMW Performance Monitor workspace files. These files include basic chart, alert, and report examples for you to use as a starting point.
Previous | Table of Contents | Next |