EC2 Burstable high CPUCreditUsage despite CPU under low load

0

Hello, I'm currently having a high CPUCreditUsage on a t3a.micro instance (right below 1) even if the CPU load, monitored from inside the system is very low.

Here's a screenshot of the metrics: CPUCreditUsage

During that period the CPU load, monitored with htop was no bigger than 0.2

htop

Am I missing something about the way CPUCredits are measured? Other instances under similar load measure CPUCreditUsage which reflect the inner CPU load.

Note: some days ago a process was actually using high CPU resources, so all the instance credits were used, the CPUCreditBalance ended up in zero, and the CPU was throttled. But that issue was fixed, now the actual CPU usage is low (as reported above), and the CPUCreditBalance raised with a low slope during these days up to 50 points (As said, the current CPUCreditUsage is close to, but lower than one, so the Credit balance is raising, just not as fast as I would expect)

Thanks in advance

Daylan
已提问 5 个月前157 查看次数
2 回答
0
已接受的回答

Your running a t3a.micro, therefore the baseline of that instance type is 10% per vCPU. If your over this baseline then you will start to spend the accrued credits. If your constantly over this then you will not accure credits. You will only start to earn credits if your below the baseline.

If a burstable performance instance needs to burst above the baseline utilization level, it spends the accrued credits. The more credits that a burstable performance instance has accrued, the more time it can burst beyond its baseline when more CPU utilization is needed.

Each instance size has a different baseline.

Details can be found here. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-credits-baseline-concepts.html

profile picture
专家
已回答 5 个月前
profile picture
专家
已审核 5 个月前
0

Thanks a lot, I was missing the baseline concept.

Daylan
已回答 5 个月前
  • Your most welcome Daylan.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则