Fine-tune your virtualization performance management skills
A comprehensive collection of articles, videos and more, hand-picked by our editors
How do the RAID level and number of disks in a RAID group affect storage performance for a virtual machine?
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
Both disk latency and RAID level can impact VM performance when accessing storage.
Disk latency should be the first and most important consideration. A single disk has only one spinning platter, so there is rotational latency as the platter rotates sectors underneath the read/write heads. Seek latency occurs when the read/write heads move between concentric tracks across the platter. And beyond mechanical disk latencies, the interface (such as serial-attached SCSI) is much faster than the disk's internal read/write speed, so the cache usually is filled during writing and emptied during reading -- the mechanical systems simply cannot readily keep up with the interface and host server.
The best way to help storage architects overcome disk latency is to group disks together into storage sets such as JBODs (just a bunch of disks) or RAID groups. By using a group of disks configured for RAID 0 (or involving RAID 0), file data is striped across the group. So, rather than waiting for a single disk to read or write an entire file, the file is broken up across multiple disks; each is responsible for a smaller piece of the file, which results in faster apparent storage performance.
Disk groups also support the establishment of disk redundancy and error correction and recovery. However, advanced RAID levels with parity (such as RAID 5) can introduce new latencies because the parity data must be calculated and stored along with the data. Double parity (RAID 6 or a variant) can experience even more latency due to multiple parity calculations.
It's impossible to quantify the exact effect of disk latency on VM performance. It really depends on the VM's use of storage and on the size and configuration of the RAID group. For example, a VM that receives only light user traffic and occasional snapshots might not be noticeably affected by disk latencies, while VMs that generate heavy user data, depend on active swap files and receive frequent snapshots will be more noticeably affected.
Related Q&A from Stephen J. Bigelow
VMware vSphere 6.5 takes an extra security step, building on UEFI secure boot with added cryptographic validation to all ESXi components.continue reading
Virtualization offers many advantages by abstracting workloads from hardware, but you may still need to find the VM host computer. You can do so ...continue reading
Live migration of VMs isn't a new technology, but vMotion encryption adds a unique layer of security because the user isn't encrypting the network.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.