Managed disk bursting
Applies to: ✔️ Linux VMs ✔️ Windows VMs ✔️ Flexible scale sets ✔️ Uniform scale sets
Azure offers the ability to boost disk storage IOPS and MB/s performance, this is referred to as bursting for both virtual machines (VM) and disks. You can effectively use VM and disk bursting to achieve better bursting performance on both your VMs and disk.
Bursting for Azure VMs and disk resources aren't dependent on each other. You don't need to have a burst-capable VM for an attached burst-capable disk to burst. Similarly, you don't need to have a burst-capable disk attached to your burst-capable VM for the VM to burst.
Common scenarios
The following scenarios can benefit greatly from bursting:
- Improve startup times - With bursting, your instance will start up at a faster rate. For example, the default OS disk for premium enabled VMs is the P4 disk, which is a provisioned performance of up to 120 IOPS and 25 MB/s. With bursting, the P4 can go up to 3500 IOPS and 170 MB/s allowing for startup to accelerate by up to 6X.
- Handle batch jobs - Some application workloads are cyclical in nature. They require a baseline performance most of the time, and higher performance for short periods of time. An example of this is an accounting program that processes daily transactions that require a small amount of disk traffic. At the end of the month this program would complete reconciling reports that need a much higher amount of disk traffic.
- Traffic spikes - Web servers and their applications can experience traffic surges at any time. If your web server is backed by VMs or disks that use bursting, the servers would be better equipped to handle traffic spikes.
Disk-level bursting
Currently, there are two managed disk types that can burst, Premium SSD managed disks, and standard SSDs. Other disk types cannot currently burst. There are two models of bursting for disks:
- An on-demand bursting model, where the disk bursts whenever its needs exceed its current capacity. This model incurs additional charges anytime the disk bursts. On-demand bursting is only available for Premium SSDs larger than 512 GiB.
- A credit-based model, where the disk will burst only if it has burst credits accumulated in its credit bucket. This model does not incur additional charges when the disk bursts. Credit-based bursting is only available for Premium SSD managed disks 512 GiB and smaller, and standard SSDs 1024 GiB and smaller.
Azure Premium SSD managed disks can use either bursting model, but standard SSDs currently only offer credit-based bursting.
Additionally, the performance tier of managed disks can be changed, which could be ideal if your workload would otherwise be running in burst.
Credit-based bursting | On-demand bursting | Changing performance tier | |
---|---|---|---|
Scenarios | Ideal for short-term scaling (30 minutes or less). | Ideal for short-term scaling(Not time restricted). | Ideal if your workload would otherwise continually be running in burst. |
Cost | Free | Cost is variable, see the Billing section for details. | The cost of each performance tier is fixed, see Managed Disks pricing for details. |
Availability | Only available for premium SSD managed disks 512 GiB and smaller, and standard SSDs 1024 GiB and smaller. | Only available for premium SSD managed disks larger than 512 GiB. | Available to all premium SSD sizes. |
Enablement | Enabled by default on eligible disks. | Must be enabled by user. | User must manually change their tier. |
On-demand bursting
Premium SSD managed disks using the on-demand bursting model of disk bursting can burst beyond original provisioned targets, as often as needed by their workload, up to the max burst target. For example, on a 1-TiB P30 disk, the provisioned IOPS is 5000 IOPS. When disk bursting is enabled on this disk, your workloads can issue IOs to this disk up to the max burst performance of 30,000 IOPS and 1,000 MBps. For the max burst targets on each supported disk, see Scalability and performance targets for VM disks.
If you expect your workloads to frequently run beyond the provisioned perf target, disk bursting won't be cost-effective. In this case, we recommend that you change your disk's performance tier to a higher tier instead, for better baseline performance. Review your billing details and assess that against the traffic pattern of your workloads.
Before you enable on-demand bursting, understand the following:
- On-demand bursting cannot be enabled on a premium SSD that has less than or equal to 512 GiB. Premium SSDs less than or equal to 512 GiB will always use credit-based bursting.
- On-demand bursting is only supported on premium SSDs. If a premium SSD with on-demand bursting enabled is switched to another disk type, then disk bursting is disabled.
- On-demand bursting doesn't automatically disable itself when the performance tier is changed. If you want to change your performance tier but do not want to keep disk bursting, you must disable it.
- On-demand bursting can only be enabled when the disk is detached from a VM or when the VM is stopped. On-demand bursting can be disabled 12 hours after it has been enabled.
Regional availability
Currently, the on-demand model for disk bursting is available in all Azure China regions.
Billing
Premium SSD managed disks using the on-demand bursting model are charged an hourly burst enablement flat fee and transaction costs apply to any burst transactions beyond the provisioned target. Transaction costs are charged using the Standard Pay-in-Advance Offer model, based on uncached disk IOs, including both reads and writes that exceed provisioned targets. The following is an example of disk traffic patterns over a billing hour:
Disk configuration: Premium SSD - 1 TiB (P30), Disk bursting enabled.
- 00:00:00 - 00:10:00 Disk IOPS below provisioned target of 5,000 IOPS
- 00:10:01 - 00:10:10 Application issued a batch job causing the disk IOPS to burst at 6,000 IOPS for 10 seconds
- 00:10:11 - 00:59:00 Disk IOPS below provisioned target of 5,000 IOPS
- 00:59:01 - 01:00:00 Application issued another batch job causing the disk IOPS to burst at 7,000 IOPS for 60 seconds
In this billing hour, the cost of bursting consists of two charges:
The first charge is the burst enablement flat fee of $X (determined by your region). This flat fee is always charged on the disk disregard of the attach status until it's disabled.
Second is the burst transaction cost. Disk bursting occurred in two time slots. From 00:10:01 - 00:10:10, the accumulated burst transaction is (6,000 - 5,000) X 10 = 10,000. From 00:59:01 - 01:00:00, the accumulated burst transaction is (7,000 - 5,000) X 60 = 120,000. The total burst transactions are 10,000 + 120,000 = 130,000. Burst transaction cost is charged at $Y based on 13 units of 10,000 transactions (based on regional pricing).
With that, the total cost on disk bursting of this billing hour equals to $X + $Y. The same calculation would apply for bursting over provisioned target of MBps. We translate the overage of MB to transactions with IO size of 256 KB. If your disk traffic exceed both provisioned IOPS and MBps target, you can refer to the example below to calculate the burst transactions.
Disk configuration: Premium SSD - 1 TB (P30), Disk bursting enabled.
- 00:00:01 - 00:00:05 Application issued a batch job causing the disk IOPS to burst at 10,000 IOPS and 300 MBps for five seconds.
- 00:00:06 - 00:00:10 Application issued a recovery job causing the disk IOPS to burst at 6,000 IOPS and 600 MBps for five seconds.
The burst transaction is accounted as the max number of transactions from either IOPS or MBps bursting. From 00:00:01 - 00:00:05, the accumulated burst transaction is Max((10,000 - 5,000), (300 - 200) * 1024 / 256)) * 5 = 25,000 transactions. From 00:00:06 - 00:00:10, the accumulated burst transaction is Max((6,000 - 5,000), (600 - 200) * 1024 / 256)) * 5 = 8,000 transactions. On top of that, you include the burst enablement flat fee to get the total cost for enabling on-demand based disk bursting.
You can refer to the Managed Disks pricing page for details on pricing and use Azure Pricing Calculator to make the assessment for your workload.
To enable on-demand bursting, see Enable on-demand bursting.
Credit-based bursting
For Premium SSD managed disks, credit-based bursting is available for disk sizes P20 and smaller. For standard SSDs, credit-based bursting is available for disk sizes E30 and smaller. For both standard and Premium SSD managed disks, credit-based bursting is available in all regions in China 21Vianet. By default, disk bursting is enabled on all new and existing deployments of supported disk sizes. VM-level bursting only uses credit-based bursting.
Virtual machine-level bursting
VM-level bursting only uses the credit-based model for bursting, it's enabled by default for most Premium Storage supported VMs.
Bursting flow
The bursting credit system applies in the same manner at both the VM level and disk level. Your resource, either a VM or disk, will start with fully stocked credits in its own burst bucket. These credits allow you to burst for up to 30 minutes at the maximum burst rate. You accumulate credits whenever the resource's IOPS or MB/s are being utilized below the resource's performance target. If your resource has accrued bursting credits and your workload needs the extra performance, your resource can use those credits to go above its performance limits and increase its performance to meet the workload demands.
How you spend your available credits is up to you. You can use your 30 minutes of burst credits consecutively or sporadically throughout the day. When resources are deployed, they come with a full allocation of credits. When those deplete, it takes less than a day to restock. Credits can be spent at your discretion. The burst bucket doesn't need to be full in order for resources to burst. Burst accumulation varies depending on each resource, since it's based on unused IOPS and MB/s below their performance targets. Higher baseline performance resources can accrue their bursting credits faster than lower baseline performing resources. For example, a P1 disk idling accrues 120 IOPS per second, whereas an idling P20 disk would accrue 2,300 IOPS per second.
Bursting states
There are three states your resource can be in with bursting enabled:
- Accruing - The resource's IO traffic is using less than the performance target. Accumulating bursting credits for IOPS and MB/s are done separate from one another. Your resource can be accruing IOPS credits and spending MB/s credits or vice versa.
- Bursting - The resource's traffic is using more than the performance target. The burst traffic will independently consume credits from IOPS or bandwidth.
- Constant - The resource's traffic is exactly at the performance target.
Next steps
- To enable on-demand bursting, see Enable on-demand bursting.
- To learn how to gain insight into your bursting resources, see Disk bursting metrics.
- To see exactly how much each applicable disk size can burst, see Scalability and performance targets for VM disks.