Even if the CPUCreditBalance of AWS EC2 is 25, will it be delayed?

Asked 2 years ago, Updated 2 years ago, 78 views

  • AWSEC2ts.xlarge

The t2.xlarge instance is running a batch program that takes more than one day.
A few hours after the program started, the progress rate was approximately 2-3 times higher than immediately after the program started.

The CPUCreditBalance chart for low progress rates is as follows:
Enter a description of the image here
It is moving up and down around "25".It is not "0".

The graph range is 3 days, which is shown below.
Enter a description of the image here
The timing of the program being slow and CPUCreditBalance dropping from 1300 to 25 were the same.

Based on the above, we have determined that CPUCreditBalance is the cause of the program's delay.

Why doesn't CPUCreditBalance get "0?
Also, why does CPUCreditBalance slow to "25"?

I was thinking that CPUCreditBalance will slow down when it reaches "0", so I wondered about the above phenomenon.

aws amazon-ec2

2022-09-30 18:50

1 Answers

I'm not sure, so I haven't answered yet...

Why doesn't CPUCreditBalance get "0?
Also, why does CPUCreditBalance slow to "25"?

t2.xlarge is 4 vCPU, so you can consume up to 20 credits in 5 minutes.
Therefore, even if the value of the graph does not go to "0", I think you can see a decrease in speed.
However, the lower limit is more than 24, so I think it would be better if you could move a little more...

This may be an error, but I can't rule out other bottlenecks.


2022-09-30 18:50

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.