How to interpret ACI's CPU usage?

George 20 Reputation points
2024-05-09T21:53:55.23+00:00

I created an Azure Container Instance(ACi) that has 4 cores and 8GB RAM.

While running an app in ACI, I can see that CPU usage (CPU usage on all cores in milicores) is between 170 - 210.

How can I interpret it? Do these values mean all 4 cores are used? or?

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
711 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,014 questions
0 comments No comments
{count} votes

Accepted answer
  1. Anveshreddy Nimmala 3,545 Reputation points Microsoft Vendor
    2024-05-10T03:30:13.29+00:00

    Hello

    Welcome to microsoft Q&A, thankyou for posting your query here.

    In Azure Container Instance , the CPU resources are specified in terms of virtual cores.

    One millicore equals one-thousandth (1/1000) of a CPU core.

    Based on that

    170 millicores = 0.17 cores used.

    210 millicores = 0.21 cores used.

    If the app is using between 170 and 210 millicores, this means it is using only a small portion of the available CPU capacity i.e., about 4.25% to 5.25% of the total capacity across all four cores.

    So your application isn't fully utilizing the available CPU resources. It's normal behavior, depending on the workload.

    Hope this helps you.

    If an answer has been helpful, please consider accepting the answer to help increase visibility of this question for other members of the Microsoft Q&A community. If not, please let us know what is still needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!

    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.