How to monitor PCoIP performance in View 5 with WMI counters
Along with the many other features that are new in VMware View 5, there are now WMI counters to monitor and report on PCoIP performance. In this post I will highlight some of the ones that I think are most valuable. At first I was kind of mixed about how I felt VMware choose to implement these features. But for those of you that have tools that can monitor Windows PC’s via WMI or are used to using Perfmon you will have no learning curve for this.
You can view these counters in Perfmon if you have access to the PC or the end user is familiar enough to help collect the data. Or if you have a tool that is capable of monitoring or collecting this data you will be able to add these to your standard monitoring rules. I plan on setting up some of the common monitoring tools in a lab when there is time and testing how they work with these new counters.
In the image below you can see the 5 new PCoIP sections that are available in Perfmon. Each of these has a number of counters that will help you monitor and trouble shoot PCoIP sessions for your View 5 users.
In the next image I am showing the counters available under the PCoIP network statistics section. This will give you details about network stats within the View session. You can monitor bandwidth, latency and packet loss for example.
On the next image I fired up a session and started to monitor the network settings for my PCoIP session. You can see below that I was looking at my latency and it was all over the board. This is because I was running from my house and the internet there is line of sight and well lets just say it sucks. But it is fairly useful for testing things like this because I get to see how they perform on bad connections.
I have take shows of the remaining counters available for monitoring and shown them below. These counters focus on general PCoIP stats, Audio, Video/Image and USB related statistics for the View session. Over all I’m glad to see these new features added to view. Now I am waiting to see how tool makers adapter their products to take advantage of these new features. I am very eagerly waiting to get a look at vCenter Operations for View coming out in early 2012.
Update December 22, 2011:
I have listed out the different WMI classes and their explanations below. This should help you with understanding what each does.
PCoIP Network Statistics
|RoundTripLatencyms||Round trip latency in milliseconds between the PCoIP server and thePCoIP client.|
|RXBWkbitPersec||Overall bandwidth for incoming PCoIP packets averaged over thesampling period, in seconds|
|RXBWPeakkbitPersec||Peak bandwidth in kilobits per second for incoming PCoIP packets over aone-second sampling period|
|RXPacketLossPercent||Percentage of received packets lost during a sampling period|
|TXBWkbitPersec||Overall bandwidth for outgoing PCoIP packets averaged over thesampling period, in seconds.|
|TXBWActiveLimitkbitPersec||Estimated available network bandwidth in kilobits per second. Thisstatistic is updated once per second|
|TXBWLimitkbitPersec||Transmission bandwidth limit in kilobits per second for outgoing packets.The limit is the minimum of the following values:n GPO bandwidth limit for the PCoIP clientn GPO bandwidth limit for the PCoIP server
n Bandwidth limit for the local network connection
n Negotiated bandwidth limit for the Zero Client firmware based on
|TXPacketLossPercent||Percentage of transmitted packets lost during a sampling period|
General PCoIP Sessions Statistics
|BytesReceived||Total number of bytes of PCoIP data that have been received since thePCoIP session started|
|BytesSent||Total number of bytes of PCoIP data that have been transmitted since thePCoIP session started|
|PacketsReceived||Total number of packets that have been received successfully since thePCoIP session started. Not all packets are the same size|
|PacketsSent||Total number of packets that have been transmitted since the PCoIPsession started. Not all packets are the same size|
|RXPacketsLost||Total number of received packets that have been lost since the PCoIPsession started|
|SessionDurationSeconds||Total number of seconds that the PCoIP Session has been open|
|TXPacketsLost||Total number of transmitted packets that have been lost since the PCoIPsession started.|
PCoIP Audio Statistics
|AudioBytesReceived||Total number of bytes of audio data that have been received since thePCoIP session started.|
|AudioBytesSent||Total number of bytes of audio data that have been sent since the PCoIPsession started.|
|AudioRXBWkbitPersec||Bandwidth for ingoing audio packets averaged over the sampling period,in seconds|
|AudioTXBWLimitkbitPersec||Transmission bandwidth limit in kilobits per second for outgoing audiopackets. The limit is defined by a GPO setting|
|AudioTXBWkbitPersec||Bandwidth for outgoing audio packets averaged over the samplingperiod, in seconds.|
PCoIP Imaging Statistics
|ImagingBytesReceived||Total number of bytes of imaging data that have been received since the PCoIP session started|
|ImagingBytesSent||Total number of bytes of imaging data that have been transmitted since the PCoIP session started.|
|ImagingDecoderCapabilitykbitPersec||Estimated processing capability of the imaging decoder in kilobits per second. This statistic is updated once per second|
|ImagingEncodedFramesPersec||Number of imaging frames that were encoded over a one-second samplingperiod.|
|ImagingActiveMinimumQuality||Lowest encoded quality value on a scale from 0 to 100. This statistic is updated once per second. This counter does not correspond to the GPO setting for minimum quality|
|ImagingRXBWkbitPersec||Bandwidth for incoming imaging packets averaged over the sampling period, in seconds.|
|ImagingTXBWkbitPersec||Bandwidth for outgoing imaging packets averaged over the sampling period, in seconds.|
PCoIP USB Statistics
|USBBytesReceived||Total number of bytes of USB data that have been received since the PCoIP session started.|
|USBBytesSent||Total number of bytes of USB data that have been transmitted since the PCoIP session started.
|USBRXBWkbitPersec||Bandwidth for incoming USB packets averaged over the sampling period, in seconds
|USBTXBWkbitPersec||Bandwidth for outgoing USB packets averaged over the sampling period, in seconds.
About Brian Suhr
Brian is a VCDX5-DCV and a Sr. Tech Marketing Engineer at Nutanix and owner of this website. He is active in the VMware community and helps lead the Chicago VMUG group. Specializing in VDI and Cloud project designs. Awarded VMware vExpert status 6 years for 2016 - 2011. VCP3, VCP5, VCP5-Iaas, VCP-Cloud, VCAP-DTD, VCAP5-DCD, VCAP5-DCA, VCA-DT, VCP5-DT, Cisco UCS Design