Citrix Blogs

Accessing ICA RTT Metrics for Citrix HDX and XenDesktop and XenApp

One of the useful metrics available for ICA is a latency measurement known as the Round Trip Time (RTT).  This is basically the time interval measured at the client between the first step (user action) and the last step (graphical response displayed). This metric can be thought of as a measurement of the screen lag that a user experiences while interacting with an application hosted in a session on a XenApp or XenDesktop Server.

ICA RTT is different from Network RTT (Roundtrip Time), which is the detected network latency between the ICA client device and the XenApp Server, while the ICA RTT includes an element of user interaction.

ICA RTT is available via Director, HDX Insights, EdgeSight but is also available via a WMI provider for third parties who wish to incorporate it into their own products or scripts. The RTT data is available on the VDA through EUEM WMI Providers. On RDS (XenApp) you will need to know the session ID you want to retrieve info for.

If Running the WMIC Command Line Tool You Will Need To Supply The Following Information

wmic:root\cli>/namespace:\\root\citrix\euem
wmic:root\cli>path citrix_euem_RoundTrip get /value

And The Response Will Be

FirstDrawRoundtripDuration=0                <<<<<<<<<<<<<<<<<<<<<<<<<<<<Extra info around ICA RT that was only in Legacy Thinwire
FrameCutRoundtripDuration=0                <<<<<<<<<<<<<<<<<<<<<<<<<<<<Extra info around ICA RT that was only in Legacy Thinwire
FrameSendRoundtripDuration=0             <<<<<<<<<<<<<<<<<<<<<<<<<<<<Extra info around ICA RT that was only in Legacy Thinwire
InputBandwidthAvailable=39704816     <<<<<<<<<<<<<<<<<<<<<<<<<<<< WD Bandwidth estimate, Client->Server direction
InputBandwidthUsed=608
InstanceId=3925
NetworkLatency=11                                     <<<<<<<<<<<<<<<<<<<<<<<<<<<< WD to WD (passive) network latency last recorded (shows you how accurate the passive latency check is).
OutputBandwidthAvailable=77469208               <<<<<<<<<<<<<<<<<<<<<<<<WD Bandwidth estimate, Server-> Client direction
OutputBandwidthUsed=5096                            <<<<<<<<<<<<<<<<<<<<<<<<<<Average Bytes/Second actually sent Server->Client
ProcessId=22ac8a68-5169-43e1-8dd2-ddf19dc07480
RoundtripTime=9                                <<<<<<<<<<<<<<<<<<<<<<<<<<<< ICA RTT result!
SessionID=4
Timestamp=20150310182613.140000+000
TriggerRoundtripDuration=0           <<<<<<<<<<<<<<<<<<<<<<<<<<<<Extra info around ICA RT that was only in Legacy Thinwire
WDTriggerRoundtripDuration=0    <<<<<<<<<<<<<<<<<<<<<<<<<<<<Extra info around ICA RT that was only in Legacy Thinwire

Other Queries Can Be Made Against The EUEM WMI Provider

Individual Metric Categories Can Be Queried Via Subclasses

Other Useful Links on HDX Metrics:

 

More Information

The following command line tools which are shipped with Windows are particularly useful for exploring WMI:

There are a number of external WMI explorers available.

Exit mobile version