Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Extremely slow performance on Azure VM's

Tags:

azure

We have sold our first 2 small Azure real world implementations and have set them all up and are now getting hit with extremely bad feedback from the clients over performance.

One of them is setup as the following:

  Domain Controller – A2   Terminal Server – A3 

The terminal server is on an A3 plan (as it’s only a micro client of 2-4 concurrent users) and is horrendously slow. It takes 10-15 seconds to load websites in Internet Explorer (even during testing today it took 10 seconds to load sites such as Telstra's site or Sydney Morning Heralds site).

It also takes on average 8 seconds to load Microsoft Excel (without even loading a file). This is a vanilla install of Excel 2013 on Server 2012 R2 with the RDS role. We initially advised the client they should be fine on an A2 plan, however after they first complained about speeds, we moved them to A3 which made next to no discernible difference (and task manager is showing the machine not even coming close to using any resources).

Performance testing is showing that the disk subsystems are slower than our desktop SATA machines – which could be related (which a quick Google search of “Azure slow disk io” shows that we aren’t alone here).

Our team here have run up an Amazon instance (with smaller specs than the A3 plan) and it is lightning fast doing the exact same things. We have also benchmarked on another Virtual Machine host that we used to use as we still have clients there from before we decided to start selling Azure and they are also lightning fast doing the same things.

In this particular case, the speeds they are getting are much, much slower than the 5 year old server that was replaced, which doesn’t bode too well for us unfortunately.

Another one of our clients other clients has exactly the same slow performance on their RDS server, especially around browsing the Internet. Speed tests on both show huge amount of speed (i.e. 500Mbit +) but daily usage doesn’t reflect that at all. It honestly feels like the Internet is operating at dial up speeds.

We've purchased a developer support pack and tried to lodge support instances, however it keeps crashing at the end of creating the request saying "Cannot log a support request at this time. Please contact Microsoft via phone and lodge an Azure request". We try calling via phone and they say they can't lodge them and we have to do it online.

We're desperate here for some help. Can anyone point us in the right direction?

Our guys have spent about 20 hours on this issue and everything points back to the Azure VM's just being super slow compared to other cloud providers (Amazon etc).

like image 755
Nigel Moore Avatar asked Feb 09 '15 09:02

Nigel Moore


People also ask

Why is my Azure VM so slow?

If you are using shared storage services such as Azure Files it also means that you need to understand the performance is linked to the size of the share. So, if you have applications or other services that are dependent on a shared folder, and you haven't properly sized the share you will get crappy performance.

Why are VMs laggy?

Memory is a huge factor and often a major cause of a slow virtual machine. VMs are memory hogs; if you don't have enough free, your computer will begin memory swapping. That means it will use space on your hard drive to store things it would normally keep in memory.

How do I increase my Azure VM performance?

Use Premium SSD managed disks – this may be another obvious one but choosing a higher performance disk type will reduce latency and increase throughput which can have a dramatic performance improvement.

Why is my VM so slow Hyper V?

A Hyper-V VM might run more slowly than it should for countless reasons. That said, all of these reasons stem from 3 main causes. These causes are: resource contention, undersized VMs, or a VM configuration that violates best practices.


2 Answers

Azure disks are terribly slow. There is a service option called "Premium storage" which should increase the IOPS drastically. Waiting that, I would create a separate volume on top of storage spaces (using as many disks as the VM size allows) in order to get max iops. (8 disks = 8x500 IOPS). Moving the user profiles to that disk should help.

like image 133
Trondh Avatar answered Sep 28 '22 11:09

Trondh


I have seen both AWS and AZURE and AZURE is dead slow on drive performance while AWS is fairly snappy. In my opinion, Azure is a terribly inferior product to AWS and that is simply the cause of many problems you would not have on AWS.

like image 24
William Egge Avatar answered Sep 28 '22 10:09

William Egge