Use storage space to increase the IOPS of the virtual machine disk
Readers familiar with Windows Azure Virtual machine know that after we have created the Azure VM, we log on through RDP and see that the Azure VM contains 2 disks:
1 c disk is the operating system of the letter, is a persistent disk.
2 d disk is temporary Storage, is a non-persistent disk. d disk can only be used for temporary files, and any files saved in D disk will be deleted after the VM is reset.
Interested readers can test that, in fact, the Azure VM C-Disk ioPS is not very good.
So what can I do to increase the IOPS on my disk?
We know that Azure VMs can add additional persistent disks to store files by mounting disks. For details, please see the following figure:
As shown above, for an azure VM with VM size A7
The total number of disks that can be mounted is 16 blocks. The maximum storage space per disk is 1TB. The total size is 16TB.
The maximum IOPS per disk is 500, and the maximum IOPS that 16 disks can provide is 16x500=8000
Windows Server 2012 provides the storage space feature to make multiple disks into a soft raid (RAID 0,1,5), which increases the IOPS of the disk.
In this chapter I will detail the relevant content, to realize the steps of storage space
1. Ready to create geo-group, storage account, virtual network
2. Create a virtual machine, note that the virtual machine template selects the operating system for Windows Server . In this example, the name of the Azure VM is LEISTORAGESPACE,VM size selection A7
3. After the creation, we mount the disk to the VM, click Attach Empty Diskette. The following figure:
4. In the pop-up page, set the size of the disk. Note You set the file name to a rule for ease of administration, and the size is set to a value between 1-1023. Hostcache set to None