Virtualization and Performance NSRC



Similar documents
RPM Brotherhood: KVM VIRTUALIZATION TECHNOLOGY

OPEN SOURCE VIRTUALIZATION TRENDS. SYAMSUL ANUAR ABD NASIR Warix Technologies / Fedora Community Malaysia

2972 Linux Options and Best Practices for Scaleup Virtualization

Virtualization: Know your options on Ubuntu. Nick Barcet. Ubuntu Server Product Manager

Performance tuning Xen

Cloud^H^H^H^H^H Virtualization Technology. Andrew Jones May 2011

Comparing Free Virtualization Products

Tracing Kernel Virtual Machines (KVM) and Linux Containers (LXC)

Enterprise-Class Virtualization with Open Source Technologies

Virtualization for Cloud Computing

Enabling Technologies for Distributed Computing

MODULE 3 VIRTUALIZED DATA CENTER COMPUTE

Full and Para Virtualization

VMware Server 2.0 Essentials. Virtualization Deployment and Management

Practical Applications of Virtualization. Mike Phillips IAP 2008 SIPB IAP Series

IOS110. Virtualization 5/27/2014 1

Servervirualisierung mit Citrix XenServer

Introduction to Virtualization & KVM

Preparation Guide. How to prepare your environment for an OnApp Cloud v3.0 (beta) deployment.

CSE 501 Monday, September 09, 2013 Kevin Cleary

Enabling Technologies for Distributed and Cloud Computing

Using SmartOS as a Hypervisor

BHyVe. BSD Hypervisor. Neel Natu Peter Grehan

SUSE Linux Enterprise 10 SP2: Virtualization Technology Support

Hyper-V vs ESX at the datacenter

Options in Open Source Virtualization and Cloud Computing. Andrew Hadinyoto Republic Polytechnic

Hypervisors. Introduction. Introduction. Introduction. Introduction. Introduction. Credits:

Basics of Virtualisation

Cisco Prime Home 5.0 Minimum System Requirements (Standalone and High Availability)

Hypervisor Software and Virtual Machines. Professor Howard Burpee SMCC Computer Technology Dept.

Citrix XenServer Product Frequently Asked Questions

Comparing Virtualization Technologies

KVM KERNEL BASED VIRTUAL MACHINE

Chapter 14 Virtual Machines

Virtualization Technologies and Blackboard: The Future of Blackboard Software on Multi-Core Technologies

Red Hat enterprise virtualization 3.0 feature comparison

Virtualization. Pradipta De

Virtualization. Michael Tsai 2015/06/08

Chapter 16: Virtual Machines. Operating System Concepts 9 th Edition

A quantitative comparison between xen and kvm

RED HAT ENTERPRISE VIRTUALIZATION

Virtualization. Dr. Yingwu Zhu

The XenServer Product Family:

Container-based operating system virtualization: a scalable, high-performance alternative to hypervisors

9/26/2011. What is Virtualization? What are the different types of virtualization.

VMware and CPU Virtualization Technology. Jack Lo Sr. Director, R&D

Developing a dynamic, real-time IT infrastructure with Red Hat integrated virtualization

The Art of Virtualization with Free Software

Balancing CPU, Storage

StACC: St Andrews Cloud Computing Co laboratory. A Performance Comparison of Clouds. Amazon EC2 and Ubuntu Enterprise Cloud

Data Centers and Cloud Computing

PROCESSOR VIRTUALIZATION ON EMBEDDED LINUX SYSTEMS

Virtualization analysis

VON/K: A Fast Virtual Overlay Network Embedded in KVM Hypervisor for High Performance Computing

Computer Virtualization in Practice

Uses for Virtual Machines. Virtual Machines. There are several uses for virtual machines:

Database Virtualization

Introduction to KVM. By Sheng-wei Lee #

Hardware Based Virtualization Technologies. Elsie Wahlig Platform Software Architect

Best Practices for Monitoring Databases on VMware. Dean Richards Senior DBA, Confio Software

Virtualization Technology

Virtualization Technologies

KVM Virtualization in RHEL 7 Made Easy

Virtualization benefits Introduction to XenSource How Xen is changing virtualization The Xen hypervisor architecture Xen paravirtualization

RUNNING vtvax FOR WINDOWS

Operating Systems Virtualization mechanisms

Virtualization possibilities in MikroTik RouterOS

A Comparison of VMware and {Virtual Server}

RED HAT ENTERPRISE VIRTUALIZATION FOR SERVERS: COMPETITIVE FEATURES

Table of Contents. Server Virtualization Peer Review cameron : modified, cameron

Virtualization Performance on SGI UV 2000 using Red Hat Enterprise Linux 6.3 KVM

Panoramica su Cloud Computing targata Red Hat AIPSI Meeting 2010

Intro to Virtualization

TimeIPS Server. IPS256T Virtual Machine. Installation Guide

Virtualization. Jukka K. Nurminen

Module I-7410 Advanced Linux FS-11 Part1: Virtualization with KVM

What is the difference between XenServer and the open-source Xen Project Hypervisor?

Cloud Computing CS

<Insert Picture Here> Introducing Oracle VM: Oracle s Virtualization Product Strategy

The QEMU/KVM Hypervisor

Professional Xen Visualization

FOR SERVERS 2.2: FEATURE matrix

RED HAT ENTERPRISE VIRTUALIZATION 3.0

Basics in Energy Information (& Communication) Systems Virtualization / Virtual Machines

my forecasted needs. The constraint of asymmetrical processing was offset two ways. The first was by configuring the SAN and all hosts to utilize

Maximizing SQL Server Virtualization Performance

Virtualised MikroTik

Virtualization and Other Tricks.

I/O Virtualization Using Mellanox InfiniBand And Channel I/O Virtualization (CIOV) Technology

Firebird and RAID. Choosing the right RAID configuration for Firebird. Paul Reeves IBPhoenix. mail:

Virtualization. Types of Interfaces

Virtualization Overview

White Paper. Recording Server Virtualization

SecureSwitch: BIOS-Assisted Isolation and Switch between Trusted and Untrusted Commodity OSes!

Transcription:

Virtualization and Performance NSRC

Overhead of full emulation Software takes many steps to do what the hardware would do in one step So pure emulation (e.g. QEMU) is slow although much clever optimization is done One obvious choice: if the CPU of the guest is the same type as the CPU of the host, we would prefer the CPU to run the code directly But we must also intercept those points where hardware is accessed

Hardware support CPU vendors have added support to make virtualization more efficient Intel call it "VT-x", AMD call it "AMD-V" Needs support from both the CPU and motherboard you may need to enable it in the BIOS settings Most hypervisors work better when this is available Some hypervisors won't work without it (KVM)

Paravirtualization Guest OS is modified to be aware of the hypervisor and communicate with it Especially reduces the overhead of virtual disk and virtual network access can also add features like "balloon memory" Examples: Xen virtio (add-on for disk and network PV) You are limited to guests OSes with PV support

virtio is easy to set up Simply configure your hypervisor to use virtio NICs and/or virtio disk interfaces for the guest(s) you wish to speed up If the guest supports it, it will boot just fine A free ISO of signed Windows drivers is available from Red Hat includes disk, network and balloon memory drivers Some things may appear differently e.g. in Linux you may see /dev/vda instead of /dev/sda

Containers (OS level virtualization) Forget hardware emulation completely Single OS, single running kernel Kernel modified to provide separate filesystems, network stacks, PIDs etc Examples: Linux: LXC, OpenVZ, Vserver, Docker FreeBSD: Jails Solaris: Zones Very efficient, but less isolation

Comparison CPU emulation Faster Full virtualization with VT-x Paravirtualization Containers Wider choice of operating system

Limitations of the host hardware Virtualization doesn't magically make your hardware work faster! You will be increasing the load on your hardware by running multiple VMs Often the major bottleneck is disk I/O

Disk limitations A hard drive is "spinning rust" By far the slowest part of the computer Time to seek head typ. 3-8ms 7200rpm drive = 120 revs per second = 8.3ms/rev Typical 100MB/s transfer rate = 10ms per megabyte Data transfer will require seeking the head, then (average) half a revolution, then the transfer Expect only 100-200 operations per second! Many small transfers much worse than few large transfers

Increasing disk performance Buy faster hard drives (e.g. 15K RPM) Install multiple hard drives They can be independently seeking to different data Allows more concurrent accesses Use SSD (expensive, limited life?)

Beware parity RAID A single write on RAID5/6 requires multiple reads, parity calculation and multiple writes Don't use RAID5/6 if you care about write performance! Use RAID10 instead Striping with mirroring - no parity accesses But requires more disks (2 x required storage) ZFS an option to consider

Network bandwidth Some people put their data on remote storage Remote filesystem: e.g. NFS Remote block device: e.g. iscsi, nbd The network can then become a bottleneck 1Gbps network = only 100MB/s max Use a separate storage NIC Tune MTU=9000 ("jumbo frames") on the storage LAN if your NICs/switches support it Consider 10G networking

RAM Each guest expects to have a certain amount of RAM to itself, so make sure you have enough RAM in total Host swapping to disk is a no-no Some clever tweaks possible e.g. Linux ksmd: kernel shared memory daemon Far better not to overcommit your RAM in the first place RAM is (relatively) cheap, but do use ECC/parity memory for reliability

Other recommended features Multiple NICs are useful e.g. separate management network,disk transfer network, and service network can also bond for redundancy/load sharing Integrated LOM allows you to control the host server remotely (e.g. power on/off) Many manufacturers charge a lot for full remote VGA console access (IP KVM) But many offer a cheaper option with IPMI which allows remote serial port access via ipmitool/ipmiutil Consider dual power supplies

Summary - choosing hardware Choose servers with VT-x or AMD-V support and 64-bit processor Buy enough RAM for all your VMs combined and spare DIMM slots for expansion Install multiple hard drives but don't use RAID5 or RAID6 for VM images Install multiple NICs or expansion slots to add them later