
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to log CPU, Disk, and memory usage with Microsoft Performance Monitor on a windows 2012 Server (PerfMon)
Environment:
- QlikView Server, all versions
- Qlik Sense
Note1: These include the Qlik Sense specific and some other environmental counters, but not all counters that may apply to different troubleshooting scenarios. (e.g. Networking, disk read write frequency and speed, etc.)
Note2:
Attached to this article you can find an XML template including the counters below with additional disk and network counters. The template file can be imported in Performance Monitor under Data Collector Sets > right-click User Defined > New > Data Collector Set > Create from a template.
Note3: Also see the following article witch contains an illustration of the steps below when adding processor time counter for the QVS process. How to set up performance monitoring for QlikView Server Service(QVS) (perfmon)
8c: Expand "Logical Disk" and select "Free Megabytes"
8d: Expand "Physical Disk" and select "% Idle Time", "Avg. Disk sec/Read"
While there are no hard values when it comes to transfer speed for storage or latency, we want to minimize I/O request queues as this leads to high disk latency. So a high Disk Queue Length leads to high Disk sec/Read and Disk sec/Write times, and consequently to a higher Disk sec/Transfer which is the actual measure of disk response time/latency.
So, when it comes to which performance counters to set for storage monitoring you should use:
\\PhysicalDisk\Current Disk Queue Length
\\PhysicalDisk\Avg. Disk Queue Length
\\PhysicalDisk\Avg. Disks Read Queue Length
\\PhysicalDisk\Avg. Disk Write Queue Length
\\PhysicalDisk\Avg. Disk sec/Transfer
\\PhysicalDisk\Avg. Disk sec/Read
\\PhysicalDisk\Avg. Disk sec/Write)
Then pick again the same fields for LogicalDisk.
More information on what may be considered healthy or unhealthy disk response times can be found via links below:
- Measuring Disk Latency with Windows Performance Monitor (Perfmon)
- Windows Performance Monitor Disk Counters Explained