You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/mysql/flexible-server/concepts-service-tiers-storage.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,7 +101,7 @@ To get more details about the compute series available, refer to Azure VM docume
101
101
102
102
103
103
>[!NOTE]
104
-
>For [Burstable (B-series) compute tier](../../virtual-machines/sizes-b-series-burstable.md) if the VM is started/stopped or restarted, the credits may be lost. For more information, see [Burstable (B-Series) FAQ](../../virtual-machines/sizes-b-series-burstable.md#q-why-is-my-remaining-credit-set-to-0-after-a-redeploy-or-a-stopstart).
104
+
>For [Burstable (B-series) compute tier](../../virtual-machines/sizes-b-series-burstable.md) if the VM is started/stopped or restarted, the credits may be lost. For more information, see [Burstable (B-Series) FAQ](../../virtual-machines/sizes-b-series-burstable.md).
@@ -33,117 +33,24 @@ The B-series comes in the following VM sizes:
33
33
<br>
34
34
<br>
35
35
36
-
| Size | vCPU | Memory: GiB | Temp storage (SSD) GiB | Base CPU Perf of VM | Max CPU Perf of VM | Initial Credits | Credits banked/hour | Max Banked Credits | Max data disks | Max uncached disk throughput: IOPS/MBps | Max burst uncached disk throughput: IOPS/MBps<sup>1</sup> |Max NICs |
| Size | vCPU | Memory: GiB | Temp storage (SSD) GiB | Base CPU Performance of VM (%) | Initial Credits | Credits banked/hour | Max Banked Credits | Max data disks | Max uncached disk throughput: IOPS/MBps | Max burst uncached disk throughput: IOPS/MBps1 |Max NICs |
<sup>1</sup> B-series VMs can [burst](./disk-bursting.md) their disk performance and get up to their bursting max for up to 30 minutes at a time.
50
50
51
51
<sup>2</sup> B1ls is supported only on Linux
52
52
53
53
54
-
## Workload example
55
-
56
-
Consider an office check-in/out application. The application needs CPU bursts during business hours, but not a lot of computing power during off hours. In this example, the workload requires a 16vCPU virtual machine with 64GiB of RAM to work efficiently.
57
-
58
-
The table shows the hourly traffic data and the chart is a visual representation of that traffic.
59
-
60
-
B16 characteristics:
61
-
62
-
Max CPU perf: 16vCPU * 100% = 1600%
63
-
64
-
Baseline: 270%
65
-
66
-

67
-
68
-
| Scenario | Time | CPU usage (%) | Credits accumulated<sup>1</sup> | Credits available |
<sup>1</sup> Credits accumulated/credits used in an hour is equivalent to: `((Base CPU perf of VM - CPU Usage) / 100) * 60 minutes`.
97
-
98
-
For a D16s_v3 which has 16 vCPUs and 64 GiB of memory the hourly rate is $0.936 per hour (monthly $673.92) and for B16ms with 16 vCPUs and 64 GiB memory the rate is $0.794 per hour (monthly $547.86). <b> This results in 15% savings!</b>
99
-
100
-
## Q & A
101
-
102
-
### Q: What happens when my credits run out?
103
-
**A**: When the credits are exhausted, the VM returns to the baseline performance.
104
-
105
-
### Q: How do you get 135% baseline performance from a VM?
106
-
107
-
**A**: The 135% is shared amongst the 8 vCPU’s that make up the VM size. For example, if your application uses 4 of the 8 cores working on batch processing and each of those 4 vCPU’s are running at 30% utilization the total amount of VM CPU performance would equal 120%. Meaning that your VM would be building credit time based on the 15% delta from your baseline performance. But it also means that when you have credits available that same VM can use 100% of all 8 vCPU’s giving that VM a Max CPU performance of 800%.
108
-
109
-
### Q: How can I monitor my credit balance and consumption?
110
-
111
-
**A**: The **Credit** metric allows you to view how many credits your VM have been banked and the **ConsumedCredit** metric will show how many CPU credits your VM has consumed from the bank. You will be able to view these metrics from the metrics pane in the portal or programmatically through the Azure Monitor APIs.
112
-
113
-
For more information on how to access the metrics data for Azure, see [Overview of metrics in Microsoft Azure](../azure-monitor/data-platform.md).
114
-
115
-
### Q: How are credits accumulated and consumed?
116
-
117
-
**A**: The VM accumulation and consumption rates are set such that a VM running at exactly its base performance level will have neither a net accumulation or consumption of bursting credits. A VM will have a net increase in credits whenever it is running below its base performance level and will have a net decrease in credits whenever the VM is utilizing the CPU more than its base performance level.
118
-
119
-
**Example**: I deploy a VM using the B1ms size for my small time and attendance database application. This size allows my application to use up to 20% of a vCPU as my baseline, which is 0.2 credits per minute I can use or bank.
120
-
121
-
My application is busy at the beginning and end of my employees work day, between 7:00-9:00 AM and 4:00 - 6:00PM. During the other 20 hours of the day, my application is typically at idle, only using 10% of the vCPU. For the non-peak hours, I earn 0.2 credits per minute but only consume 0.1 credits per minute, so my VM will bank 0.1 x 60 = 6 credits per hour. For the 20 hours that I am off-peak, I will bank 120 credits.
122
-
123
-
During peak hours my application averages 60% vCPU utilization, I still earn 0.2 credits per minute but I consume 0.6 credits per minute, for a net cost of 0.4 credits a minute or 0.4 x 60 = 24 credits per hour. I have 4 hours per day of peak usage, so it costs 4 x 24 = 96 credits for my peak usage.
124
-
125
-
If I take the 120 credits I earned off-peak and subtract the 96 credits I used for my peak times, I bank an additional 24 credits per day that I can use for other bursts of activity.
126
-
127
-
### Q: How can I calculate credits accumulated and used?
128
-
129
-
**A**: You can use the following formula:
130
-
131
-
(Base CPU perf of VM - CPU Usage) / 100 = Credits bank or use per minute
132
-
133
-
e.g in above instance your baseline is 20% and if you use 10% of the CPU you are accumulating (20%-10%)/100 = 0.1 credit per minute.
134
-
135
-
### Q: Does the B-Series support Premium Storage data disks?
136
-
137
-
**A**: Yes, all B-Series sizes support Premium Storage data disks.
138
-
139
-
### Q: Why is my remaining credit set to 0 after a redeploy or a stop/start?
140
-
141
-
**A** : When a VM is redeployed and the VM moves to another node, the accumulated credit is lost. If the VM is stopped/started, but remains on the same node, the VM retains the accumulated credit. Whenever the VM starts fresh on a node, it gets an initial credit, for Standard_B8ms it is 240.
142
-
143
-
### Q: What happens if I deploy an unsupported OS image on B1ls?
144
-
145
-
**A** : B1ls only supports Linux images and if you deploy any another OS image you might not get the best customer experience.
146
-
147
54
## Other sizes and information
148
55
149
56
-[General purpose](sizes-general.md)
@@ -155,7 +62,7 @@ e.g in above instance your baseline is 20% and if you use 10% of the CPU you are
0 commit comments