The Scalable & CapableCloud OS
Didier Van Hoye
Microsoft MVP in Hyper-V
MEET Member
DELL TechCenter Rockstar
Didier Van HoyeTechnical Architect – FGIA
@workinghardinithttp://workinghardinit.wordpress.com
Windows Server 2012 R2 Hyper-V
Performance Scalability Excellent data protection High to continuous availability Great Economics Leverage existing investment Solutions for any size, needs &
challenges
Hyper-V Storage
– Improvements in the storage stack– Storage QoS–VHDX –ODX/UNMAP
IO SCALING LIMITATIONS WITH W2K8R2
vCPU 0
1 channel per vSCSI Controller for all attached devices
256 Queue Depth per vSCSI controller shared for all attached devices
Storage IO on vCPU 0 ONLY
Hyper-V Host
Parent PartitionVirtual Storage Stack
VHD VHD
Virtual Machine
vSCSI
IO SCALANBILITY WITH W2K12R2
http://workinghardinit.wordpress.com/2012/11/02/hyper-v-guest-storage-performance-above-beyond-1-million-iops/
vSCSI
vCPU 0 vCPU 1 vCPU 2 vCPU 63
...
Storage IO spread across all vCPUs
1 channel / 16 vCPUs per device per vSCSI controller
è 4 with 64 vCPUs
256 Queue Depth per device per vSCSI controller
VHDX VHDX
Virtual Machine
Hyper-V Host
Parent PartitionVirtual Storage Stack
Storage QoS
http://workinghardinit.wordpress.com/2014/01/07/storage-quality-of-service-qos-in-windows-server-2012-r2/http://workinghardinit.wordpress.com/2014/01/13/how-to-monitor-storage-qos-minimum-iops-and-identify-the-virtual-hardidsk-in-windows-server-2012-r2-hyper-v /http://workinghardinit.wordpress.com/2014/01/16/where-does-storage-qos-live-in-windows-server-2012-r2-hyper-v /
VHDX
Up To 64 TB
Larger Virtual Disks
Disk Sector Alignment
Large Sector Support
Enhanced Performance
Larger Block Sizes
Internal Log
Enhanced Resiliency
Embed Custom
Metadata
User Defined Metadata
512e RWM
512e Disk
Large Sector Support – 512e Disks
HardwareRMW
LegacyVHD
Unaligned F(Off)+512b
VHD
Aligned F(Off)+4 KB
No Auto Align For Existing VHDs
HardwareRMW
Windows Server 2012 • New VHDs 4K Aligned - Padding Better Performance, Reduced
Need For RMW
4K Aligned
Sub-Optimal Performance For Existing VHDs ~30%• 512b structures - Sector Bitmap,
Header, Footer, Parent Locators Extra Hardware Read-Modify-Write
Large Sector Support – Native 4K Disks
VHDVHD
X
512 4K
SoftwareRMW
512
4K4K 4K
Native 4K Disk
VHDX
• Support For Native 4K Disks Software Read-Modify- Write
• 512b Logical Sector Virtual Disk Performance Penalty For RMW
• 4K Logical Sector VHDX No Performance Penalty
http://support.microsoft.com/kb/2515143 http://technet.microsoft.com/en-us/library/hh831459
Increased Storage Efficiency – Unmap• Unmap
– Storage Informed Of Unused Space
• Efficiencies At Virtual Layer• Allows Reuse Of Unused Blocks
• Efficiencies At Physical Layer– VMs Unmap Passed To Hardware
• Supported On– VHDX & PassThru Disks– vSCSI, vIDE or Virtual Fibre
Channel / iSCSI
VHD Stack
VHDX
External Storage Array
Offloaded Data Transfer (ODX)
Intelligent SAN
Virtual Disk Virtual Disk
Offload Read Token Token Offload Write
Token
Actual Data Transfer
High To Continuous Availability
• Online Virtual Disk Merge• Storage Live Migration• Shared Nothing Live Migration• Online Set Parent• Online resize of VHDX
Storage Demos
Hyper-V Networking
– Live Migration• Compression• SMB Multichannel & SMB Direct
–DVMQ– vRSS
Tips for optimal live migrations
1. Set optimal performance option2. Bigger Pipes3. Use jumbo frames4. Optimize power settings5. Tweak # of simultaneous live
migrations
Live Migration Performance Options
• TCP/IP (what we had)• Compression• SMB– SMB MultiChannel– SMB Direct
• iWarp• RoCE• Infiniband
No VMQ (W2K8)All the interrupts of incoming network traffic to a VM has to be handled by core 0.
Static VMQ (W2K8R2)Sorting, filtering is done by NIC & each VM get a core to handle the interrupts
Dynamic VMQ (W2K12/R2)Sorting, filtering is done by NIC & the VM(s) gets one or multiple core dynamically assigned to handle the interrupts
Dynamic VMQ & vRSS (W2K12R2)Sorting, filtering is done by NIC & the VM(s) gets one or multiple core dynamically assigned to handle the interrupts
Network Demos
You can have your cookie & eat it to!
Didier Van HoyeTechnical Architect – FGIAMicrosoft MVP, MEET Member, DELL TechCenter Rockstar http://workinghardinit.wordpress.com @workinghardinit
And take home the Lumia 1320
Present your feedback form when you exit the last session & go for the drink
Give Me Feedback
Follow TechNet Belgium@technetbelux
Subscribe to the TechNet newsletteraka.ms/benews
Be the first to know
Belgiums’ biggest IT PRO Conference