question

BenitoCamela-1930 avatar image
0 Votes"
BenitoCamela-1930 asked AmitaMenon-3691 edited

RemoteFX: RTT performance counters

Hi,

I'm accessing a Windows Virtual Desktop machine with both classic RDP client and also the WVD client app.

I'm also tracking with perfmon the "Remote FX Network" counters which includes both "TCP RTT" and "UDP RTT".

When connecting through the WVD client, looks like only TCP is used, and I see that the counters related to UDP are zero (makes sense).

However, when connecting with the classic RDP client, despite both UDP and TCP protocols are used, "UDP RTT" is always zero (which is impossible) and "TCP RTT" is flat with a value of 400ms (which is also wrong: it is too high because the UX is great and RTT ping avg. is 28 ms). The "TCP RTT" is never updated again.

See the screenshots:

28674-image.png

28588-image.png

  1. How often are these counters updated?

  2. Why these counters seem so wrong when using the classic RDP client? Please note I'm using the latest version of the client on a Windows 10, so RDP 8 is supported.

Thanks in advance




azure-virtual-desktop
image.png (15.2 KiB)
image.png (75.6 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

prmanhas-MSFT avatar image
0 Votes"
prmanhas-MSFT answered BenitoCamela-1930 commented

@BenitoCamela-1930 connecting with the classic rdp client to wvd is not supported.

WVD client doesn't support UDP however this will be available soon as part of RDP Short path Private which is undergoing private preview.

Can you confirm that the session you're monitoring is in fact Rdp-tcp 3 still? What does happen is that session ID values can increase each login. If the counter for session 3 isn't changing and if perfmon isn't paused then it will show the last counter value it had until the session ID is reset (by REBOOT which starts the counter at 0 again).
If you verify your current session by either checking task manager or in cmd by running "qwinsta" that will confirm the session is correct.
You can RDP direct to a host as you are doing but obviously it isn't going via the gateway but it seems you're just testing the counters between the clients.

Hope it helps!!!

Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics


· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for your answer @prmanhas-MSFT, I appreciate it a lot.

I confirm that the session I'm monitoring is mine and its in active state:

28796-image.png

For WVD sessions I guess that the zero RTT for UDP is expected as you mentioned that UDP is is not supported yet by the client.

For WVD sessions, when UDP support is ready, are these counters going to be updated?

And for RDP session, how can I get these counters working?

I'm interested in retrieving the RTT per session from inside the WVD machine.

Thanks again.


0 Votes 0 ·
image.png (103.5 KiB)

@BenitoCamela-1930 I have reached out to our internal team on the issue and once I have an update will keep you posted on same.

Thank you for your patience over the matter.

Thanks.

1 Vote 1 ·

@BenitoCamela-1930 Apologies for all the delay in response!!! Below is the response I got from our Product Group Team:

I did some testing. It seems the remotefx counters are not accurately capturing the RTT for UDP traffic when doing a direct RDP session as you've seen.

I know that we are getting correct counters using the native client and the dashboard for azure monitor I created for TCP sessions. I've not tested whether we get info when using the RDP short path private UDP session yet though.

It may be something we can't confirm for UDP until the feature goes GA anyway as it could always change.

Hope it helps!!!

Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics

1 Vote 1 ·
Show more comments