Scott Lowe provides an overview of disk-related metrics in the Windows Resource Monitor. Find out you can use the tool to troubleshoot CPU performance issues.
In part one of my four-part series on the Windows Resource Monitor tool, I explained how you can use Resource Monitor to glean intelligence about the operating condition of mission-critical Windows servers. In this column, I discuss the various disk-related metrics that you can view with Resource Monitor, explain the graphs you see, and provide some context around each metric.
For the purposes of this post, we’ll use the screenshot below in Figure A. The figure shows a Resource Monitor view from a production server running Windows Server 2008 R2 and Exchange Server 2010 with all Exchange roles installed. Like all of our other servers, this server is running as a virtual machine under VMware vSphere 4.1. The virtual machine has four vCPUs assigned to it. This screenshot was taken during a particularly light period of usage.
Figure A
Let’s start with an overall look at the console. The statistics area occupies most of the window. In the sections below, I provide details for each metric. I won’t repeat metrics; if one type of metric appears in multiple areas, I list it once.
This section of the window is a list of all of the running processes that are using CPU resources. You are shown the name of the executable and a number of performance statistics.
The Processes section is pretty useful for troubleshooting because you can get a quick overview of the current system status. You can also use this section to troubleshoot issues when you have a process that appears to be stuck by right-clicking any process and choosing the Analyze Wait Chain option (Figure B). Once the analysis is complete, you will get a results page (Figure C).
Figure B
Figure C
The Services section is a list of each service that is running. In Figure A, you’ll notice that only the services related to the two selected processes are listed. This is by design and provides you with a way to see how processes and services are interrelated; this also eases troubleshooting. You can right-click any listed service to manage that service, too.
Figure D
Have you ever needed to determine which process was holding a file open? With the Resource Monitor’s Associated Handles section, you can do just that. Handles are pointers that reference files, registry keys, directories, and other things.
In the Search Handles field, type the name of the file or the path you want to find. A list of processes is returned. This is particularly useful when you look at services that have a ton of different file associated with them such as svchost. In Figure E, you can see how this can help you narrow down the svchost morass. In fact, from this table, you can right-click one of the svchost’s files and end that specific process.
Figure E
Modules are helper files or programs, such as DLL files, used by processes to perform their tasks. You can use this section to further drill down when you’re looking into potential performance issues.
The right side of the window has a number of graphs, each depicting CPU-related performance metrics.
On this graph, you will see two metrics depicted by blue lines and a green area graph. The blue line shows the total processing power (CPU frequency) available to the system, and the green area shows the current utilization of those available resources. Resource Monitor runs on many different versions of Windows, and many computers these days have processors that can step down their clock speed as a way to conserve power or lower temperature. When this happens, the blue line changes to reflect the change in CPU frequency, and the green area adjusts to meet this new reality.
This graph indicates how much CPU horsepower is dedicated to background resources and processes.
For each CPU core, how much of the CPU is in use? Some CPU are marked as being Parked, which means they are shut down temporarily because there is nothing for them to do at present. These screenshots in this article were taken during off hours and when students are not on campus, so the Exchange server is basically twiddling its thumbs for a couple of months.
The Windows Resource Monitor CPU performance tool provides very good at-a-glance information about some important CPU-based performance metrics.
With close to twenty years of experience in Information Technology, Scott has experience across the board in the industry. Recently, Scott left his position as Vice President and CIO for a small private college to launch a consultancy -- The 1610 Group -- aimed at the SMB space and K-12 and higher education.