How to resolve 20% flatline CPU utilization on Azure Win Server VM

GNB 20 Reputation points
2023-03-17T14:24:15.95+00:00

We have a Win Server 2019 VM on Azure under the B2s general purpose subscription.

Problem: the CPU flatlines at 20% utilization, slowing down server performance to a relative crawl.

It seems as if there is a CPU quota of 20% being enforced. Perhaps a discretionary customer-specified quota was set during the initial provisioning of this VM. How might we resolve this problem?

Additional info:

A B2s subscription (2 vCPUs) is spec'd to have 40% baseline CPU performance. If we had exhausted our credits, we would have expected CPU utilization to flatline at 40%, instead of the 20% that we see.

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

Accepted answer
  1. TP 125.9K Reputation points Volunteer Moderator
    2023-03-17T14:57:21+00:00

    Hi,

    From your description it sounds like the CPU credits are exhausted so the VM is returning to baseline performance for B2s. You may need to switch to larger B series instance or switch to a non-burstable VM instance type. Please see article below for details on burstable VM instances:

    https://learn.microsoft.com/en-us/azure/virtual-machines/sizes-b-series-burstable

    In the portal you can look at the VM -- Overview -- Monitoring -- see all metrics, and then add credits remaining and credits consumed.

    If the above was helpful please click Accept Answer.

    Thanks.

    -TP

    1 person found this answer helpful.

3 additional answers

Sort by: Most helpful
  1. vipullag-MSFT 26,492 Reputation points Moderator
    2023-03-29T10:16:11.2133333+00:00

    Hello GNB

    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    I crossed checked with internal team on this.

    For all B series sizes, the spec is ~20% of a given core. For the case of B2s, 40%/2 cores = 20% of a single core at baseline.

    Currently, Microsoft just announced a new version of B series VMs (Bv2) – you can try the private preview if interested.

    Hope that clarifies.

    1 person found this answer helpful.

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. GNB 20 Reputation points
    2023-03-31T17:16:39.46+00:00
    ..........
    
    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.