In my previous blog I asked what CSV sizes were used in Hyper-V R2 environments. One of my Twitter contacts, James Price (@SpinMasterJP) replied he was starting out at 2TB if the array supports Thin Provisioning. James also mentioned having discussed with the Microsoft Cluster Team over 500 VM’s per CSV while seeing good IO and seamless IO scalability leveraging Active/Active IO with MPIO.
How do Cluster Shared Volumes stack up to VMwares NTFS3?
Borrowing from Jason Perlow at http://blogs.zdnet.com/perlow/?p=10743:
“Clustered Shared Volumes, or CSV, provides a shared file system overlay on top of Windows 2008 R2’s NTFS for multiple Hyper-V hosts to centrally store virtual machines. A CSV provides a consistent file namespace, much in the same way VMWare ESX uses VMFS-3 datastores.
However, unlike a VMFS-3 datastore, which is limited to 2TB each, can only hold up to 256 VMs per volume (with a practical limitation of 32 per due to I/O constraints) and must use VMWare’s proprietary multi-path I/O (MPIO). NTFS CSV can be up to 256 terabytes in size, it can use a variety of MPIO solutions including EMC PowerPath, and has no limitation on the number of VMs per volume. CSV’s will also directly integrate with existing Windows-based backup solutions and not require “Proxied” backups, such as with VMWare’s Consolidated Backup for ESX.”
If I calculate right, it would take 1000 VM’s with 250GB VHD’s each to eat up the 256TB disk space. With a limit of 384 VM’s per Hyper-V R2 host, it would take only 4 Hyper-V hosts including a cluster reserve of 1. I guess we will need a storage array with a large number of spindles and multiple IO paths, preferably at the speed of a 4 or 8Gb Fibre Channel SAN.
[Correction Sept 14th 2009: I learnt from Matthijs van Seldam’s blog that only single Hyper-V R2 servers support 384 VM’s, at least when the host has 64 processor cores and enough memory to support them. A clustered Hyper-V server is limited to 64VM’s which means that a 16 node cluster can support 1024 VM’s per cluster. Big clusters like these should have a cluster reserve of 2 which limits a Hyper-V R2 cluster to 14 x 64 = 896 VM’s. Still awesome!
http://blogs.technet.com/matthts/archive/2009/09/08/how-many-vm-s-in-a-hyper-v-server-2008-r2-cluster.aspx]
With VMFS3 you cannot extend a VMFS partition. However you can create another VMFS partition and add it as an extent. This will show as one larger VMFS partition but is not a best practice. With VMware it is advised to create separate VMFS partitions and spread the VM’s over these LUNS to avoid SCSI locks.
With CSV not only the maximum size of a contiguous partition is much larger than VMFS3, it also much easier to dynamically increase or decrease the size the underlying disk and partition which make up the CSV.
For limits of Hyper-V R2 see:
http://localhost:8080/blogs/hans/archive/2009/08/25/requirements-and-limitations-of-hyper-v-r2.aspx
Storage improvements from Windows Server 2008 SP1 Hyper-V to Windows Server 2008 R2 Hyper-V
The following table shows changes in storage. Some of the changes are performance related like hot add of storage. This helps performance by reducing the time it takes to add new storage. The big things to note are increases in IO Sizes passed from VM’s and huge improvements in Dynamic VHDs.
Learning from the other guy
In a Dutch article on disk IO optimization for VMware environments the following best practices are suggested:
- Do not place more than 32 disk intensive VM’s on the same VMFS
- One VMFS can handle 100 non-disk intensive VM’s, although these VM’s should be limited in overutilizing other server resources such as cpu.
http://www.vmug.nl/modules.php?name=Content&pa=showpage&pid=4 (Dutch)
VMFS-3, How Do I Despise Thee
Jason Perlow’s frustration on the closed nature of VMFS3
http://ow.ly/oy3G
Monitoring disk performance of a VM
How to monitor virtual machine disk performance on a Windows Server 2008-based computer that has the Hyper-V role installed:
http://support.microsoft.com/kb/975036
Peformance Tuning Guidelines for Windows Server 2008 R2
http://www.microsoft.com/whdc/system/sysperf/Perf_tun_srv-R2.mspx
I welcome your feedback and experience from the field!
