Burstable Instance
Burstable instance is the only instance type that provides a baseline CPU utilization while allowing burstable CPU utilization beyond the baseline.
The burstable general-purpose instance family provided by KakaoCloud includes the following:
- Applicable Type:
t1i
Concept of burstable instance
Most general-purpose workloads do not require consistently high CPU utilization. It's typical for workloads to have temporary spikes in CPU usage, as shown in the graph below. Such workloads result in wasted CPU cycles, leading to higher costs than what's actually utilized. Burstable instances efficiently address this cost waste.
CPU utilization changes over time for a typical workload
Burstable instances provide a baseline CPU utilization while offering the ability to burst CPU utilization beyond the baseline. With this feature, users can burst CPU utilization momentarily above the baseline using accrued CPU credits, effectively reducing computing costs according to their workload. Burstable instance types operate on a credit-based model for CPU utilization, where credits are earned or consumed based on CPU usage. The amount of these credits varies depending on CPU usage:
- CPU usage below the baseline: Earned credits > Consumed credits
- CPU usage equals the baseline: Earned credits = Consumed credits
- CPU usage exceeds the baseline: Earned credits < Consumed credits
When earned credits exceed consumed credits, credits can be accrued, which can be used later to burst CPU utilization above the baseline. If consumed credits exceed earned credits, CPU utilization gradually decreases to the baseline level, and bursting above the baseline is not possible until sufficient credits are accrued.
Terminology and definitions
CPU utilization
It refers to the percentage of allocated computing units currently in use on the instance. This metric measures the proportion of allocated CPU cycles being utilized on the instance.
CPU credit
It represents a unit of vCPU time. For example, one CPU credit is calculated as follows:
One CPU credit = 10 vCPUs × 10% utilization × 1 minute = 5 vCPUs × 20% utilization × 1 minute = 1 vCPU × 50% utilization × 2 minutes
Baseline utilization
It refers to the CPU utilization level at which the earned credit amount matches the used credit amount, resulting in a credit acquisition rate of 0. It's also known as the Baseline
. Baseline utilization is calculated as follows:
Baseline Utilization (%) = (Earned credits / vCPU count) / 60 minutes
Example
For instance size t1i.large
, with 2 vCPUs and earning 36 credits per hour:
Baseline Utilization (%) = (36 credits / 2) / 60 minutes
Thus, the baseline utilization is 30%.
The following graph illustrates an example where the average CPU utilization is lower than the baseline.
Example of average CPU utilization lower than the baseline
Credit acquisition
Refers to the credits continuously acquired and accrued while the instance is running. Credit acquisition is calculated as follows:
Number of credits acquired per hour = Baseline utilization (%) × Number of vCPUs × 60 minutes