How burstable CPU performance works in T series EC2 instances
Burstable CPU performance refers to the ability of certain Amazon EC2 instance types, such as the T-series instances, to provide a baseline level of CPU performance with the ability to temporarily burst above that baseline when needed.
Here's how burstable CPU performance works:
Baseline Performance: Burstable instances are designed to provide a consistent baseline level of CPU performance, which is suitable for many general-purpose workloads that don't require sustained high CPU usage.
CPU Credits: Burstable instances earn "CPU credits" over time when they are idle or underutilized. These CPU credits can be used to burst above the baseline CPU performance when the workload requires it.
Bursting: When the instance's CPU utilization exceeds the baseline, it can use the accumulated CPU credits to burst above the baseline for a limited period. The amount of time the instance can burst depends on the number of CPU credits it has earned.
Unlimited Mode: Some burstable instance types, such as T3 Unlimited, can sustain high CPU performance for as long as required, but this may incur additional charges based on the actual CPU usage.
CPU Credit Accrual: Burstable instances accrue CPU credits at a fixed rate, which depends on the instance size. For example, a t2.micro instance accrues 6 CPU credits per hour, while a t2.medium instance accrues 24 CPU credits per hour.
CPU Credit Consumption: When the instance's CPU utilization is above the baseline, it consumes CPU credits at the same rate as the CPU utilization. For example, if the instance is running at 50% CPU utilization, it will consume CPU credits at 50% of the maximum rate.
Monitoring: You can monitor the instance's CPU utilization, CPU credit balance, and CPU credit usage to understand how your workload is utilizing the available CPU performance.
Comments
Post a Comment