This is a post made to the SBS2K Yahoo List.
***
VMQ on Broadcom Gigabit NICs needs to be disabled at the NIC Port driver level. Not in the OS. Broadcom has not respected the spec for Gigabit NICs at all. I’m not so sure they have started to do so yet either. :S
In the BIOS:
- ALL C-States: DISABLED
- Power Profile: MAX
- Intel Virtualization Features: ENABLED
- Intel Virtualization for I/O: ENABLED
For the RAID setup we’d max out the available drive bays on the server. Go smaller volume and more spindles to achieve the required volume. This gains us more IOPS which are critical in smaller virtualization settings.
Go GHz over Cores. In our experience we are running mostly 2vCPU and 3vCPU VMs so ramming through the CPU pipeline quicker gets things done faster than having more threads in parallel at slower speeds.
Single RAM sticks per channel preferred with all being identical. Cost of 32GB DIMMs has come down. Check them out for your application. Intel’s CPUs are set up in three tiers. Purchase the RAM speed that matches the CPU tier. Don’t purchase faster RAM as that’s more expensive and thus money wasted.
Be aware of NUMA boundaries for the VMs. That means that each CPU may have one or more memory controller each. Each controller manages a chunk of RAM attached to that CPU. When a VM is set up with more vRAM than what is available on one memory controller that memory gets split up. That costs in performance.
Bottlenecks not necessarily in order:
- Disk subsystem is vastly underperforming (in-guest latency and in-guest/host Disk Queue Length are key measures)
- Latency: Triple digits = BAD
- Disk Queue Length: > # Disks / 2 in RAID 6 = BAD (8 disks in RAID 6 then DQL of 4-5 is okay)
- vCPUs assigned is greater than the number of physical cores – 1 on one CPU (CPU pipeline has to juggle those vCPU threads in parallel)
- vRAM assigned spans NUMA nodes or takes up too much volume on one NUMA node
- Broadcom Gigabit VMQ at the port level
The key in all of this though and it’s absolutely CRITICAL is this: Know your workloads!
All of the hardware and software performance knowledge in the world won’t help if we don’t know what our workloads are going to be doing.
An unhappy situation is spec’ing out a six to seven figure hyper-converged solution and having the client come back and say, “Take it away I’m fed up with the poor performance”. In this case the vendor over-promised and under-delivered.
Some further reading:
- Cluster: Asymmetric or iSCSI SAN Storage Configuration and Performance Considerations
- 2012 Hyper-V VM Performance: vCPUs, Threads, and Cores
- Storage Configuration: Know Your Workloads for IOPS or Throughput
- Hyper-V Virtualization 101: Some Basics Around Hyper-V Setups
- Hyper-V Virtualization 101: Hardware Considerations
Philip Elder
Microsoft High Availability MVP
MPECS Inc.
Co-Author: SBS 2008 Blueprint Book
Our Cloud Service