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
feita há 5 meses157 visualizações
2 Respostas
0
Resposta aceita

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
ESPECIALISTA
respondido há 5 meses
profile picture
ESPECIALISTA
avaliado há 5 meses
0

Thanks a lot, I was missing the baseline concept.

Daylan
respondido há 5 meses
  • Your most welcome Daylan.

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas