KVM Virtualization Roadmap and Technology Update Karen Noel Bhavna Sarathy Senior Eng Manager Senior Product Manager Red Hat, Inc. Red Hat, Inc. June 13, 2013 Why we believe KVM is the best virtualization platform Performance Lower Cost Cross Platform KVM holds the Top 6/11 customers report up to Support and certification for virtual machine consolidation 70% savings by using leading x86_64 operating systems scores on SPECvirt (1) KVM (2) including RHEL and Microsoft Windows (4) Security Cloud & Virtualization Management Certification (3) EAL4+ Red Hat Open Stack for Cloud plus SE Linux enabling Virtualization and Red Hat Mandatory Access Control Enterprise Virtualization for data- between virtual machines center Virtualization (1) Source: SpecVirt_sc2010 results: http://www.spec.org/virt_sc2010/results/specvirt_sc2010_perf.html (2) Source: Case study on Canary Islands Government migration from VMware to RHEV: http://www.redhat.com/resourcelibrary/case-studies/canary-islands-government-migrates-telecommunications-platform-from- vmware-to-red-hat (3) Source: http://www.redhat.com/solutions/industry/government/certifications.html (4) Source: http://www.redhat.com/resourcelibrary/articles/enterprise-linux-virtualization-support KVM hypervisor in multiple Red Hat products KVM is the foundation Virtualization technology in multiple Red Hat products Red Hat Enterprise Virtualization – Hypervisor Derived from Red Hat Enterprise Linux SMALL FORM FACTOR, SCALABLE, ● RHEV Hypervisor HIGH PERFORMANCE ● Prebuilt binary (ISO) with 300+ packages derived from RHEL ● Inherits performance, scalability, security and supportability of Red Hat Enterprise Linux ● Shares RHEL & KVM software and hardware ecosystem KVM Architecture: Integrated Virtualization KVM I/O Architecture Emulated Devices Virtio Devices Device Assignment ● Native drivers ● Paravirtualized ● Native drivers ● Compatibility over ● Performance over ● Compatibility and performance compatibility Performance VirtualVirtual Machine Machine VirtualVirtual Machine Machine VirtualVirtual Machine Machine tx rx tx rx tx rx QEMU QEMUQEMU QEMUQEMU QEMU Tap Kernel KernelKernel KernelKernel Kernel Bridge Bridge Tap vhost Physical NIC Let's have a look at RHEL6 virtio-scsi virtio-scsi Virtio-blk Guest Agents Higher & Passthru Data-Plane RHEL & Win scaling Live Live Storage Para-virt Virtual PMU Snapshots Migration End-of-int Merge/Delete USB 2.0 & USB Virtual CPU New CPU Live Re-direct In-Plug Models Migration Largest x86 Largest x86 Hyper-V Windows 8 Guest Guest Relaxed Windows 2012 (vCPU) (vMemory) Timing Guests These were all introduced in RHEL 6.3 and RHEL6.4 alone Virtualization with KVM Performance SPECvirt_sc2010: RHEL 6 KVM Posts Industry Leading Results > 1 SPECvirt Tile/core > 1 SPECvirt Tile/core RHEL (KVM) key enablers: SR-IOV Huge Pages NUMA Node Binding http://www.spec.org/virt_sc2010/results/ 11 Best SPECvirt_sc2010 Scores by CPU Cores (As of May 30, 2013) 8-socket 64/80 10,000 8,956 9,000 8,000 4-socket 40 7,000 e r o c 6,000 5,467 s 0 5,000 4,682 1 0 2-socket 16 2-socket 20 3,824 2 4,000 c s 2-socket 12 3,000 2,742 _ 2,442 t 2,144 r i 1,878 v 2,000 1,570 1,221 1,367 C E 1,000 P S 0 VMware RHEL 6 VMware RHEV 3.1 VMware RHEL 6 VMware VMware RHEL 6 RHEL 6 RHEL 6 ESX 4.1 HP (KVM) IBM ESXi 5.0 HP DL380p ESXi 4.1 HP (KVM) IBM ESXi 4.1 HP ESXi 4.1 (KVM) HP (KVM) IBM (KVM) HP DL380 G7 HS22V (12 HP DL385 gen8 (16 BL620c G7 HX5 w/ DL380 G7 IBM x3850 DL580 G7 x3850 X5 DL980 G7 (12 Cores, Cores, 84 G7 (16 Cores,150 (20 Cores, MAX5 (20 (12 Cores, X5 (40 (40 Cores, (64 (80 Cores, 78 VMs) VMs) Cores, 102 VMs) 120 VMs) Cores, 132 168 Vms) Cores, 234 288 VMs) Cores,336 552 VMs) VMs) VMs) VMs) VMs) System Comparison based on best performing Red Hat and VMware solutions by cpu core count published at www.spec.org as of May 17, 2013. SPEC® and the benchmark name SPECvir_sct® are registered trademarks of the Standard Performance Evaluation Corporation. For more information about SPECvirt_sc2010, see www.spec.org/virt_sc2010/. Best SPECvirt_sc2010 Results by Number of Sockets (As of May 30, 2013) 10,000 8,956 @ 552 VMs 9,000 22% 8,000 Better e r 7,000 o c 30% S 6,000 Better 0 4,682 @ 1 VMware 0 288 VMs 2 5,000 3,824 @ c RHEL (KVM) s 234 VMs _ or RHEV t 4,000 r i v 2,442 @ C 3,000 E 1,878 @ 150 VMs P 120 VMs S 2,000 1,000 0 2-Sockets 4-Sockets 8-Sockets Comparison based on best performing Red Hat and VMware solutions by cpu socket count published at www.spec.org as of May 30, 2013. SPEC® and the benchmark name SPECvirt_sc® are registered trademarks of the Standard Performance Evaluation Corporation. For more information about SPECvirt_sc2010, see www.spec.org/virt_sc2010/. SPECvirt_sc2013 Tile Performance Evaluation Corporation. For more information about SPECvirt_sc2013, see Performanceabout SPECvirt_sc2013, more information www.spec.org/virt_sc2013/. Corporation.Evaluation For Comparison based best on Red performing and Hat VMwarecpu by solutions socket count publishedat www.spec.org and asSPEC® the2013. of May 22, benchmark name are SPECvirt_sc® registered trademarksof the Standard SPECvirt_sc2013 Scores 1000 800 900 400 500 600 100 200 300 700 0 472.3 @ 27 VMs SPECvirt_sc2013 Scores by Number of Sockets 2-Socket (Asof May 30, 2013) 4-Socket 908.1 @ 53 VMs RHEL6(KVM) Vmware Virtualization – Performance Leadership Virtual Disk I/O performance (RHEL 6.4) 1,577,684 IOPS! Single Virtual Machine - IOPS Direct Random I/O at 4KB Block Size Host Server = Intel [email protected], 40 Cores, 256GB 1800000 1600000 1400000 ) 1200000 S P O I ( 1000000 d n o c e 800000 S r e P s 600000 O I 400000 200000 0 Microsoft Hyper-V PCI pass-through (8 devs) vSphere 5.1 virtio-blk data-plane (tp) http://www.redhat.com/resourcelibrary/reference-architectures/leadership-io-performance-with-red-hat-enterprise-linux-kvm-hypervisor-on-ibm-x3850-x5 Virtualization – Performance ● Only virtualized TPC-C result (RHEL 6.4 with KVM) ● Virtualized was approx. 88% of bare-metal ● Great $/tpmC: $0.51 ● Feb 2013: 1,320,082 tpmC, 0.51 $/tpmC, RHEL6.4 w/KVM, DB2 ESE 9.7 ● Apr. 2012: 1,503,544 tpmC, 0.53 $/tpmC, RHEL 6.2, DB2 ESE 9.7 See the details for these results at: http://www.tpc.org/tpcc/results/tpcc_last_ten_results.asp. Results referenced are current as of May 30, 2013. To view all TPC results, visit www.tpc.org http://www.redhat.com/resourcelibrary/reference-architectures/leadership-virtualized-tpc-c-benchmark-using-red-hat-enterprise-linux-kvm Let's look at Scalability Once we accept our limits, we go beyond them. Albert Einstein Single Guest Scalability – Virtual CPUs RHEL6.4 vCPU = 2.5 x * vSphere 5.1 vCPU limits 180 160 160 140 120 s U P 100 C l a 80 vCPU u t r 64 i V 60 40 20 16 0 RHEL5.5 RHEL6.0-6.2 RHEL6.3-6.4 RHEL Releases Single Guest Scalability – Scalability Guest Single http://www.vmware.com/pdf/vsphere5/r51/vsphere-51-configuration-maximums.pdf RHEL6.4 = vMemory x 2 *RHEL6.4 vSphere limits vMemory 5.1 Virtual Memory in Gigabytes 1000 1500 2000 2500 500 0 RHEL6.0-6.1 256 RHEL Releases RHEL RHEL6.2 512 Virtual Memory Virtual RHEL6.3-6.4 2048 vMemory The very important topic of sVIRT Security KVM Security and Isolation - sVirt Attacks on guests are isolated from the host kernel,any associated storage, as well as other virtual machines Web VM 2 VM 3 VM 1 Linux Kernel Image Image Image ImageN 1 2 3 RHEL 6.5: Cryptography ● Para-Virtual Random Number Generator (RNG) ● Provide true randomness in the guest for cryptographic purposes ● RHEL host or RHEV Hypervisor feeds entropy to the virtual machines ● Helps alleviate entropy starvation in guests Certification status http://www.redhat.com/solutions/industry/government/certifications.html Mission Critical Mission Critical Systems / Software Mission critical refers to any factor of a system (software, hardware) whose failure will result in the failure of business operations KVM is hardened to run mission critical workloads Integrated Hardware Security Virtualization Abstraction EAL4+ Certification (1) KVM leverages KVM has the highest single plus SE Linux enabling RHEL kernel, trusted for guest scalability (vCPU = Mandatory Access Control mission critical workloads 160, vMemory = 2TB) between virtual machines Server Consolidation Resource KVM runs heavy IO workloads Management such as large databases and Cgroups helps manage holds the Top 6/11 virtual resources in virtual machine consolidation scores environments too on SPECvirt (2) (1) Source: http://www.redhat.com/solutions/industry/government/certifications.html (2) Source: SpecVirt_sc2010 results: http://www.spec.org/virt_sc2010/results/specvirt_sc2010_perf.html What else? RHEL 6.4 Features RHEL6.4: virtio-scsi New storage architecture for KVM! ● virtio-scsi device = SCSI host bus adapter (HBA) ● Allows arbitrary number of devices per guest ● Virtual hard drives and CDs ● Pass-through physical SCSI device ● Supports SCSI pass-through and SCSI reservations ● Rich features – depends on the target, not virtio-scsi ● Drop-in physical disk replacement, friendlier for P2V and V2V ● RHEL6.4 guests and Windows guests (excluding XP) RHEL6.4: virtio-blk “data-plane” mode Single guest 1,577,684 IOPS! K V M G u e s t (4kb random I/O) i r q f d i o e v e n t f d QEM U Event L o o p V i r t i o - b l k - d a t a - p l a n e t h r e a d ( s ) L i n u x A I O Host Kernel RHEL6.4: Para-virt End-of-Interrupt (PV-EOI) Improved performance! ● Optimization for interrupt-intensive workloads ● Up to 10% less CPU usage in some scenarios ● Reduces the number of context switches between the VM and the hypervisor.
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages54 Page
-
File Size-