VM is very slow on Azure

StivoBerlin 37 Reputation points
2022-12-20T19:55:05.223+00:00

I have created a virtual machine for a customer to test a Software.
The machine was : Standard B2ms (2 vcpus, 8 GiB memory), additional premium SSD for data and Windows Server.
The cost of the machine is around 80$ a month.
Max 2 users are logged in on this VMs.

We tested the same software on another equivalent machine (other provider) and everything is at least 5 to 10 times faster.

Are VMs that slow on Azure ?
Does anyone has experienced so bad performance on Azure ?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,044 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Andreas Baumgarten 123.7K Reputation points MVP Volunteer Moderator
    2022-12-20T20:42:38.023+00:00

    Hi @Anonymous ,

    in addition to @Ali AlEnezi :

    You have chosen a B2ms which is a B-series burstable VM SKU. Please take a look here to get the details of this type of VM: https://learn.microsoft.com/en-us/azure/virtual-machines/sizes-b-series-burstable

    In short:

    B-series VMs are ideal for workloads that do not need the full performance of the CPU continuously, like web servers, proof of concepts, small databases and development build environments. These workloads typically have burstable performance requirements.

    Depending on your requirements there are maybe some options of different VM SKU types that fits your needs better. A good overview with descriptions you can find here: https://learn.microsoft.com/en-us/azure/virtual-machines/sizes

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    1 person found this answer helpful.

  2. StivoBerlin 37 Reputation points
    2023-01-17T20:57:18.52+00:00

    Thanks for feedback.

    If I understand well, we had to choose a faster = more expensive server.

    We are ready to pay 50% more to host things on Azure, but not 300% more.

    1 person found this answer helpful.
    0 comments No comments

  3. Ali AlEnezi 1,081 Reputation points
    2022-12-20T19:59:06.157+00:00

    Hello @Anonymous ,

    There can be a variety of factors that can impact the performance of a virtual machine (VM) in Azure. Some common causes of slow performance on Azure VMs include:

    1. Insufficient CPU, memory, or storage resources: If the VM does not have enough resources to meet the demands of the workload, it can lead to slow performance.
    2. Network latency or bandwidth constraints: If the VM is communicating with other resources over the network and there are latency or bandwidth constraints, it can impact the performance of the VM.
    3. Disk I/O or storage contention: If the VM is reading and writing data to a disk or storage account that is experiencing high levels of contention, it can lead to slow performance.
    4. Resource contention with other VMs: If the VM is sharing resources with other VMs on the same physical host, it can lead to slow performance if there is resource contention.
    5. Incorrect VM size: If the VM size is not correctly matched to the workload, it can lead to slow performance.

    To troubleshoot slow performance on an Azure VM, you can try the following steps:

    1. Monitor the resource utilization of the VM using tools like Azure Monitor or Azure Advisor. This can help you identify any resource constraints that may be impacting performance.
    2. Test the network connectivity and bandwidth between the VM and other resources it is communicating with.
    3. Monitor the disk I/O and storage performance of the VM.
    4. Check the VM size and consider scaling up or down as needed to better match the workload.
    5. Check for resource contention with other VMs on the same physical host.

    Good luck!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.