question

DonnieGoodson-9317 avatar image
0 Votes"
DonnieGoodson-9317 asked kobulloc-MSFT edited

DTL VM becomes laggy / slower in afternoon and evening

I'm connecting to a DTL VM, recently more than usual, and I'm experiencing a change in performance as the day progresses.
I'm temporarily working from the Eastern Time zone, so today around 4:30pm ET (1:30pm PT) my VM suddenly became slow to respond to mouse-clicks, etc.
Last night (~10pm ET, 7pm PT), my machine was basically unusable it was so slow.
This morning, the machine was fine, as if it were my local client.

My question is, is there a known explanation, and how can I diagnose the problem when it occurs?
Some thoughts:

  1. Given this lab is on West US 2, and I'm on the US East Coast right now, maybe during heavy usage times the physical distance causes problems only for me.

  2. Perhaps the shared server/pool where my VM resides gets busier later in the day, and that manifests as lag/slowness on my VM.

  3. Local networks are usually busier in the evenings, so maybe the bottleneck is on my side.

azure-dtl-virtual-machines
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

kobulloc-MSFT avatar image
0 Votes"
kobulloc-MSFT answered kobulloc-MSFT edited

Is there a known explanation?
On average, network speed between Azure regions is pretty fast (roughly 65ms for US West2 and the East US, for example). When making a local connection using Remote Desktop, however, you'll typically encounter increased latency due to load during peak hours depending on your service provider and location. It sounds like the evening are peak hours for your area with heavy traffic.


How can I diagnose the problem?
A quick resource for checking latency is http://azurespeedtest.azurewebsites.net/, which measures speed from your browser to blob storage services in different data centers (remember that this includes local network latency).

If you suspect that some of the latency is due to heavy Azure datacenter traffic, there are tools you can use to test your VM's network latency:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-test-latency


What can I do to improve latency in Labs while using Remote Desktop?
I would create a lab in a local region as long as there aren't hardware limitations. Shared image galleries make it easier to globally replicate images in different regions:

https://docs.microsoft.com/en-us/azure/devtest-labs/configure-shared-image-gallery



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.