We help IT Professionals succeed at work.
Private
Troubleshooting Question

How to diagnose reason why virtual server is so slow when accessing over RDP?!

44 Views
Last Modified: 2020-11-12
hi guys,

We have a virtual machine sitting in a Vsan environment with 24GB of ram, with 4 virtual processors using an intel Xeon E5-2670 v3 2.3ghz. The current memory is at around 56% utilization and CPU goes between 4%-30% with some processes running. The OS is Windows 2012 R2.

Nobody is even using this server right now and when I log onto it by RDP via VPN it has a lot of occasions where the latency is ridiculous. It isn't my internet or our infrastructure bandwidth by what it seems, as other servers on the same VSAN are absolutely fine when we log on. Every I.T person working remotely who tried, told me they see the same issue. Right now if I click on file explorer, the instruction takes forever. But then, 5mins later if I do the same thing, the thing opens up fine. I just got kicked out of the RDP session and it retried and let me back in and did this 2-3 times over a few mins. 

These things are difficult to diagnose but I don't want to reboot (I'm told this was done 3-4 days ago, possibly due to this happening previously). So my question is this: how would you diagnose using tools like Performance monitor or resource monitor (or any other tools)? What would you look for?  And in doing so, what would you look for when looking and how would you determine if that's the thing causing the possible issue?

Can I look for something on network throttling on the Vmware side perhaps? Any help would be great. (I will also be trying to connect a monitor to Vsan hosts to see the same latency exists when directly on the server).

Any help would be greatly appreciated. Attached are some snapshots that may/may not help.
Performance of Network monitor.jpgPerformance resource monitor.jpgPerformance tab server.jpg
Thanks
Yashy

Comment
Watch Question

CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
A VM depends on the available resources on the host and the configuration.
Latency could be attributed to the VPN throughput which could vary bed on who else is using VPN at the same time.

Consider accessing as a test off hours and see whether you see similar latency.
Another option is to prior to establishing the RDP session, trim down the amount of data by adjusting, lowering the color bit from 32 to 16i if you can, set the rate to a lower amount

What are you doing within the RDP session? I.e. Are you running reports pulling data from a db residing on the same host as an example that would likely have a higher prioritization of resource allocation.
kevinhsiehNetwork Engineer
CERTIFIED EXPERT

Commented:
I would look to see that VMware tools are installed and that you are using the correct SCSI controller and virtual NIC. Drop vCPU down to 2 and see if that helps things. Look at CPU wait time.
Andrew Hancock (VMware vExpert PRO / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017

Commented:
check this VM is not running on a snapshot

Author

Commented:
Arnold - this server is literally a server which serves our finance department and runs their software on it. In terms of latency, it definitely isn't VPN as we've had multiple guys from different places access it. The latency is happening throughout the night even when nobody is accessing it. However, what is interesting is this: staff are using VPN to connect to our network, and then use a remote desktop link that acts as a broker and the applications from our server are published on there. Whenever I have issues clicking around on the server (we're talking about things like selecting file explorer taking over 20-30 seconds to respond), they are also complaining that the 'system is slow' (i.e. it's taking a long time for the information to feed through to their client machines).

Kevinhsieh - is CPU Wait time something that will need to be calculated or something which I can immediately work out in Vmware?

Andrew Hancock (VMware vExpert PRO / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017

Commented:
Is the server being backed up at night ?

As a test if you RDP to another WIndows VM on the same platform, do you expereince the same issue ?

Author

Commented:
Andrew - can I view that in snapshot manager? Also, would running Veeam to create backups create issues?
             - Yes the server is being backed up, but that starts later at around 9pm. We encountered slow speeds before the Veeam backups kick in at this time. The RDP slow speeds don't happen with any other server that is on the same Esxi host. We even moved this server to a standalone host. We've just checked also and CPU wait times are very low at the moment, albeit the performance currently is okay. 
VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
CERTIFIED EXPERT
Distinguished Expert 2019
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION

Author

Commented:
Guys, it looks like it's been the backups. They were hammering the network as the Veeam backups have not had any rate limits set. We've changed that and allocate a much smaller amount of bandwidth and it's made a difference.  

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions