Performance & Scalability Testing in Virtual Environment Hemant Gaidhani, Senior Technical Marketing Manager, VMware

Similar documents
W H I T E P A P E R. What s New in VMware vsphere 4: Performance Enhancements

VMware Performance Overview

What s New in VMware vsphere 4.1 Performance. VMware vsphere 4.1

VMWARE TUNING BEST PRACTICES FOR SANS, SERVER, AND NETWORKS

NAS for Server Virtualization Dennis Chapman Senior Technical Director NetApp

How it can help your organisation

Chapter 5 C. Virtual machines

Server Virtualization Approaches

Adobe Acrobat Connect Pro 7.5 and VMware ESX Server

VMware Overview VMware Infrastructure 3: Install and Configure Rev C Copyright 2007 VMware, Inc. All rights reserved.

Architecture and Performance Implications

Preparing Virtual Machines for Cisco APIC-EM

Preparing Virtual Machines for Cisco APIC-EM

CS370 Operating Systems

TN1070: Verint Master Server Under

davidklee.net gplus.to/kleegeek linked.com/a/davidaklee

PRESENTATION TITLE GOES HERE

Managing Performance Variance of Applications Using Storage I/O Control

VMware vsphere with ESX 4.1 and vcenter 4.1

W H I T E P A P E R. Comparison of Storage Protocol Performance in VMware vsphere 4

Nested Virtualization and Server Consolidation

Measuring VMware Environments

IOmark- VM. HP HP ConvergedSystem 242- HC StoreVirtual Test Report: VM- HC b Test Report Date: 27, April

PERFORMANCE CHARACTERIZATION OF MICROSOFT SQL SERVER USING VMWARE CLOUD ON AWS PERFORMANCE STUDY JULY 2018

VMware vsphere with ESX 4 and vcenter

Question No: 2 What three shares are available when configuring a Resource Pool? (Choose three.)

Using MySQL in a Virtualized Environment. Scott Seighman Systems Engineer Sun Microsystems

Comparison of Storage Protocol Performance ESX Server 3.5

TIPS TO. ELIMINATE LATENCY in your virtualized environment

PAC094 Performance Tips for New Features in Workstation 5. Anne Holler Irfan Ahmad Aravind Pavuluri

W H I T E P A P E R. Virtual Machine Monitor Execution Modes in VMware vsphere 4.0

WHITE PAPER. Optimizing Virtual Platform Disk Performance

Virtualization and the Metrics of Performance & Capacity Management

Configuration Maximums VMware vsphere 5.0

Microsoft SQL Server in a VMware Environment on Dell PowerEdge R810 Servers and Dell EqualLogic Storage

IOmark-VM. VMware VSAN Intel Servers + VMware VSAN Storage SW Test Report: VM-HC a Test Report Date: 16, August

The Hardware Realities of Virtualization

A Kaminario Reference Architecture: Reference Architecture for Running SQL Server on ESXi

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

Taking a trip down vsphere memory lane

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

VCP410 VMware vsphere Cue Cards

Pivot3 Acuity with Microsoft SQL Server Reference Architecture

VMware vsphere 6.5 Boot Camp

Virtualization with VMware ESX and VirtualCenter SMB to Enterprise

VMware vsphere Administration Training. Course Content

By the end of the class, attendees will have learned the skills, and best practices of virtualization. Attendees

VMware vcenter Server Performance and Best Practices

VMWARE VSPHERE 4 ADVANCED TROUBLESHOOTING ERIC SLOOF - NTPRO.NL

COMPUTER ARCHITECTURE. Virtualization and Memory Hierarchy

Configuration Maximums VMware Infrastructure 3: ESX Server 3.5 Update 2, ESX Server 3i version 3.5 Update 2, VirtualCenter 2.

Virtual Machines. Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University

Consulting Solutions WHITE PAPER Citrix XenDesktop XenApp 6.x Planning Guide: Virtualization Best Practices

IOmark- VM. IBM IBM FlashSystem V9000 Test Report: VM a Test Report Date: 5, December

EMC Business Continuity for Microsoft Applications

What s New in VMware vsphere 5.1 Platform

VMware vsphere: Taking Virtualization to the Next Level

Dell PowerEdge R910 SQL OLTP Virtualization Study Measuring Performance and Power Improvements of New Intel Xeon E7 Processors and Low-Voltage Memory

Virtual SQL Servers. Actual Performance. 2016

VMware Exam VCP-511 VMware Certified Professional on vsphere 5 Version: 11.3 [ Total Questions: 288 ]

IOmark-VM. Datrium DVX Test Report: VM-HC b Test Report Date: 27, October

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

Overview. Prerequisites. VMware vsphere 6.5 Optimize, Upgrade, Troubleshoot

vsphere Resource Management Update 1 11 JAN 2019 VMware vsphere 6.7 VMware ESXi 6.7 vcenter Server 6.7

vsphere Resource Management

OPS-9: Fun With Virtualization. John Harlow. John Harlow. About John Harlow

Virtual Leverage: Server Consolidation in Open Source Environments. Margaret Lewis Commercial Software Strategist AMD

High-Performance, High-Density VDI with Pivot3 Acuity and VMware Horizon 7. Reference Architecture

Introduction to Virtualization. From NDG In partnership with VMware IT Academy

Exam4Tests. Latest exam questions & answers help you to pass IT exam test easily

Vmware VCP410. VMware Certified Professional on vsphere 4. Download Full Version :

Vmware VCP-310. VMware Certified Professional on VI3.

Stellar performance for a virtualized world

PERFORMANCE STUDY OCTOBER 2017 ORACLE MONSTER VIRTUAL MACHINE PERFORMANCE. VMware vsphere 6.5

Quantifying Load Imbalance on Virtualized Enterprise Servers

Virtualization, Xen and Denali

Virtualized SAP Performance with VMware vsphere 4 W H I T E P A P E R

vsphere Monitoring and Performance

Maximizing VMware ESX Performance Through Defragmentation of Guest Systems

vsphere Resource Management Update 2 VMware vsphere 5.5 VMware ESXi 5.5 vcenter Server 5.5

Module 1: Virtualization. Types of Interfaces

CHAPTER 16 - VIRTUAL MACHINES

Virtualization and memory hierarchy

vsphere 4 The Best Platform for Business-Critical Applications Gaetan Castelein Sr Product Marketing Manager VMware, Inc.

Improving Blade Economics with Virtualization

Infor LN Deployment in a Virtualized Environment

The vsphere 6.0 Advantages Over Hyper- V

Virtualization. Michael Tsai 2018/4/16

Xen Summit Spring 2007

VMware vsphere. Using vsphere VMware Inc. All rights reserved

Reference Architecture for Dell VIS Self-Service Creator and VMware vsphere 4

Performance of vsphere 6.7 Scheduling Options

What s New in VMware vsphere Flash Read Cache TECHNICAL MARKETING DOCUMENTATION

CLOUD COMPUTING IT0530. G.JEYA BHARATHI Asst.Prof.(O.G) Department of IT SRM University

Managing Multi-Hypervisor Environments with vcenter Server

PAC485 Managing Datacenter Resources Using the VirtualCenter Distributed Resource Scheduler

Virtualizing Oracle on VMware

VMWare Horizon View 6 VDI Scalability Testing on Cisco 240c M4 HyperFlex Cluster System

Virtualization Overview

vsphere Installation and Setup Update 2 Modified on 10 JULY 2018 VMware vsphere 6.5 VMware ESXi 6.5 vcenter Server 6.5

Transcription:

Performance & Scalability Testing in Virtual Environment Hemant Gaidhani, Senior Technical Marketing Manager, VMware 2010 VMware Inc. All rights reserved

About the Speaker Hemant Gaidhani Senior Technical Marketing Manager, VMware Capacity Management, Mastermind Author, Virtualizing Microsoft Tier-1 Apps with VMware vsphere 4

Performance & Scalability in Virtual Environment Understanding Virtualization Performance Performance Benchmarking in Virtual Environment Performance Monitoring in Virtual Environment Virtual better than Physical?

Real Life Examples Physical to Virtual Comparison Physical machine: 2 socket, dual core server 2 GB RAM Virtual machine: (default settings) 1 virtual CPU 256 MB RAM Comparing different virtualization products VMware Server Hosted architecture VMware ESX Server Bare-metal architecture (hypervisor)

Real Life Examples (Continued) Server Consolidation or VDI benchmarks Multiple under-utilized physical machines migrated to virtual machines Over-commitment of resources as server utilization goes up CPU Memory In over-committed environments, virtual machines can start to starve each other performance at the cost of another virtual machine

Performance in Virtualized Environment Two dimensions Vertical performance monitor efficiency (VMM) - Single VM performance - monitor overhead Horizontal performance scheduling (VMKernel) - Multi VM performance - Scheduling overhead - often overlooked VCPU VCPU VCPU VCPU Hypervisor Hypervisor PCPU PCPU

Horizontal Performance Some examples Ready time VMs don t get to run all the time even if they want to Migration/Switching overhead VMs will have to be context switched out for performing critical tasks or for scheduling another VM CPU cache contention Multiple VMs share the same physical CPU NUMA effects VM could be temporarily migrated to remote Node VCPU Memory Node 0 CPU Node 0 VCPU Hypervisor PCPU Memory Node 1 CPU Node 1 VCPU

SQL Server Scale-Out Overcommittment Fairness Percentage of Aggregate throughtput for Each VM 100.0 87.5 75.0 62.5 50.0 37.5 25.0 12.5 0.0 VM8 VM7 VM6 VM5 VM4 VM3 VM2 VM1 Throughput distribution for 8 X 2-vCPU VMs " Fair distribution of resources to all eight VMs

Third Dimension Distributed Resource Scheduling (DRS) Reduces the impact of horizontal performance issues However aggressive migration impacts performance VM VM VM VM VM VM Hypervisor Host vmotion Virtual Infrastructure Hypervisor Host

vsphere Scaling Trends ESX 2 ESX 3 ESX 3.5 ESX 4 30% - 60% 20% - 30% <10% - 20% <2% - 10% Overhead 1 vcpu 2 vcpu 4 vcpu 8 vcpu % of Applications < 4 GB 380 Mb/s < 10,000 16 GB 800 Mb/s 20,000 64 GB 9 Gb/s 100,000 255 GB 30 Gb/s > 350,000 Application Performance Requirements

Virtualization Architectures Hosted architecture VMware Server/ Workstation/ Fusion Bare-metal architecture (hypervisor) VMware ESX Server VMware vsphere Hypervisor free version

VMware ESX Architecture Guest Guest TCP/IP File System CPU is controlled by scheduler and virtualized by monitor Monitor Monitor (BT, HW, PV) Monitor supports: BT (Binary Translation) HW (Hardware assist) PV (Paravirtualization) Virtual NIC Virtual SCSI VMkernel Scheduler Memory Allocator Virtual Switch NIC Drivers File System I/O Drivers Memory is allocated by the VMkernel and virtualized by the monitor Physical Hardware Network and I/O devices are emulated and proxied though native device drivers

HW Assist CPU Architecture Intel Intel VT-x Available since: 2006 AMD AMD-V Available since: 2006 Prior to these hardware technologies binary translation was used. First implementations of hardware assist were slower than binary translation in software.

Hardware Assist (HWmmu) Memory Architectures Intel Extended Page Tables (EPT) Available since: 2009 Supported in ESX4.0 + Nehalem or better AMD Rapid Virtualization Indexing (RVI) Available since: 2008 Supported in ESX3.5 + Shanghai or better Prior to these hardware technologies shadow paging (or SWmmu) was used.

vsphere Unlocks Processing Cores for Applications VMware ESX Scaling: Keeping up with core counts Virtualization provides a means to exploit the hardware s increasing parallelism Most applications don t scale beyond 4/8 way

Agenda Understanding Virtualization Performance Performance Benchmarking in Virtual Environment Performance Monitoring in Virtual Environment Virtual Better than Physical?

Performance Benchmarking in Virtual Environment The standard performance benchmarking guidelines still hold true Out-of-the-box performance optimization for vsphere No tuning required Virtualization overhead depends upon the workload Virtualization does not create new resources enables more efficient utilization of existing resources Cannot break the laws of physics

Virtual Environment Implications Guest OS metrics Performance metrics in the guest could be skewed when the rate of progress of time is skewed Guest OS resource availability can give incorrect picture Resource availability Resources are shared, hypervisors control the allocation Virtual machines may not get all the hardware resources Performance Profiling Hardware performance counters are not virtualized Applications cannot use hardware performance counters for performance profiling in the guest Virtualization moves performance measurement and management to the hypervisor layer

Benchmarking Options Benchmarking Methodology Fair and consistent Avoid Apples to Oranges comparison Careful selection of benchmarks Several public and custom benchmarks available Best benchmark is the one that simulates your workload Some benchmarks may provide inconsistent, unpredictable results in virtual environments Typical physical benchmarks are single workload benchmark Does not directly apply to virtual environment Consider VMmark: A Scalable Benchmark for Virtualized Systems

Focus on Storage Storage Virtualization Concepts Storage array consists of physical disks that are presented as logical disks (storage array volumes or LUNs) to the ESX Server. " Storage array LUNs formatted as VMFS volumes. " Virtual disks presented to the guest OS; can be partitioned and used in guest file systems. D:\SQLdata

Server Consolidation: Storage Planning Physical setup: each instance provided 5-spindle LUN SQL Win2k3 SQL Win2k3 SQL Win2k3 ESX Server vsphere ESX Server 5 Disks 5 Disks 5 Disks VMDK VMDK VMDK Virtual architecture: Each VM provided its own VMDK But now do they map to disks?

Sequential Workloads Generate Random Access As observed in VMFS scalability tests

Creating Virtual Machines Two options P2V Create a fresh VM - Recommended Select correct guest OS when creating virtual machine Install latest version of VMware tools Disable unused devices Serial and parallel ports USB devices Floppy drive, CD-ROM/ DVD-ROM

Configuration Guidelines Smaller VMs recommended SMP VMs have co-scheduling overheads Avoid over-commitment Linear scalability until CPU or memory are over-committed Do NOT disable vsphere optimization features Several optimizations for CPU, memory, Storage and Networking to improve performance in shared environment Leverage para-virtualized drivers Storage (pv-scsi), Network (vmxnet3)

Run-time Guidelines Idle Virtual Machines Turn off virtual machines that are not required Do consume resources Benchmark Clients Can use virtual machines Pay attention to time keeping issue if VMs are used Measuring end user response time Will include network latency Remote performance monitoring

Virtualizing Application Stack Multi-tier applications Obviously NOT virtualizing to run single VM per server So how do you mix-n-match Overheads multiply Orchestra analogy Performance benchmarking Virtualize one at a time Virtualize all at once and then optimize

Mix-n-Match Application Stack Components Understand the load profile of the different components in the application stack Place the VMs accordingly Do not combine all CPU or I/O or memory intensive VMs on the same server Horizontal scalability or scaling out Do not place similar multiple VMs on the same ESX server Similar load profile can result in bottlenecks Lead to single point of failure in application stack Do not have to virtualize all components

VMmark Benchmark Consider VMmark: A Scalable Benchmark for Virtualized Systems Provides meaningful measurement of virtualization performance. Generates an easily understandable and precise metric that scales with underlying system capacity. Used to effectively compare the suitability and performance of different hardware platforms for virtual environments. Employs realistic, diverse workloads running on multiple operating systems VMware worked with SPEC to establish industry-wide credibility and standardization

VMmark: Mixed Workloads Mail Files Web OLTP Database Java Order Entry 6 VMs One Tile ESX

Benchmark Topology Client 0 Files Mail Mail Client 1 Files Mail Web Web OLTP Database Java Order Entry Files OLTP Database Java Order Entry Client 2 Web OLTP Database Java Order Entry ESX 18 VMs Three Tiles

Agenda Understanding Virtualization Performance Performance Benchmarking in Virtual Environment Performance Monitoring in Virtual Environment Virtual Better than Physical?

Troubleshooting Tools vcenter (high level) Historical performance data (*check statistics levels) Consolidated metrics for all hosts / datastores in environment vscsistats (storage guts) Detailed virtual SCSI device latency metrics Seek distance, IO size, Latency Displays Histograms esxtop / resxtop (tactical) Single ESX/ESXi Host Detailed performance data in real time

Performance Monitoring Guidelines

Agenda Understanding Virtualization Performance Performance Benchmarking in Virtual Environment Performance Monitoring in Virtual Environment Virtual Better than Physical?

Virtual better than Physical? Workaround application stack scalability limits Components of application stack do not scale in physical environment Virtualize and achieve higher scalability Higher ROI despite virtualization overheads Examples Citrix Presentation Server 32-bit 32-bit operating system limitations prohibit scaling Java Virtual Machines Heap size limits on 32-bit Windows operating system

Multi-VM Approach to Scalability: Building Blocks Some applications have limited SMP scalability Web Server, Mail Server, Java Virtual Machines Virtualization onto the ESX platform enables horizontal scaling Concurrently run several operating environments Advanced Resource Management features allow efficient sharing of compute, network and storage resources Let s look at examples : Exchange, Apache & Citrix XenApp

Virtualization-aware Architecture: Building Blocks Many applications lack scalability beyond certain CPUs Apache web server, WebSphere, Exchange Configure vcpus to application scalability limits For additional capacity instantiate more of such VMs SPECweb2005 aggregate metric SPECweb2005 Native and Virtual Scaling 5000 4500 4000 3500 3000 2500 2000 1500 1000 500 0 1 2 3 4 5 6 Number of Virtual Machines or CPUs Virtual Native

Citrix XenApp\ Microsoft Terminal Services Physical XenApp Deployment Virtualized XenApp Deployment XenApp XenApp XenApp XenApp XenApp Windows OS Windows OS Windows OS Windows OS Windows OS VMware vsphere

Example Migration Scenario 4_4_0_0 with DRS Balanced Cluster

DRS Scalability Transactions Per Minute (Higher the better) Already balanced So, fewer gains Transactions per minute - DRS vs. No DRS No DRS DRS Higher gains (> 40%) with more imbalance Transaction per minute 140000 130000 120000 110000 100000 90000 80000 70000 60000 50000 40000 2_2_2_2 3_2_2_1 3_3_1_1 3_3_2_0 4_2_1_1 4_2_2_0 4_3_1_0 4_4_0_0 5_3_0_0 Run Scenario

DRS Scalability Application Response Time (Lower the better) 70.00 Transaction Response Time - DRS vs. No DRS No DRS DRS Transaction Response time (ms) 60.00 50.00 40.00 30.00 20.00 10.00 0.00 2_2_2_2 3_2_2_1 3_3_1_1 3_3_2_0 4_2_1_1 4_2_2_0 4_3_1_0 4_4_0_0 5_3_0_0 Run Scenario

Q & A 44 Confidential