Why have my cpu credits suddenly disappeared?

Albert Liu 0 Reputation points
2025-02-25T22:20:13.3566667+00:00

I have several AVD VMs running on Standard B4MS CPUs. Not had any performance problems for months until this week, The VM metrics show that until this week, CPU credits were constantly at 1200. Then, over the course of a day the credits went down to zero. The CPU credit usage graph normally averages less than 1. Where have all my credits gone? Is the system broken?

User's image

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

Accepted answer
  1. TP 105.1K Reputation points
    2025-02-25T23:29:32.9666667+00:00

    Hi Albert,

    When a VM is Deallocated or Redeployed the credits reset. Since you redeployed the VM as a troubleshooting step this is the likely cause of the drop you are seeing.

    B Series CPU Credit Model

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

    We should continue troubleshooting the cause of slowness over in your other question.

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.