Performance analysis comparison Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010.

Slides:



Advertisements
Similar presentations
Virtual Machine Technology Dr. Gregor von Laszewski Dr. Lizhe Wang.
Advertisements

© 2010 VMware Inc. All rights reserved Confidential Performance Tuning for Windows Guest OS IT Pro Camp Presented by: Matthew Mitchell.
VSphere vs. Hyper-V Metron Performance Showdown. Objectives Architecture Available metrics Challenges in virtual environments Test environment and methods.
Virtual Machines What Why How Powerpoint?. What is a Virtual Machine? A Piece of software that emulates hardware.  Might emulate the I/O devices  Might.
Network Implementation for Xen and KVM Class project for E : Network System Design and Implantation 12 Apr 2010 Kangkook Jee (kj2181)
Virtual Machines Measure Up John Staton Karsten Steinhaeuser University of Notre Dame December 15, 2005 Graduate Operating Systems, Fall 2005 Final Project.
1 Disco: Running Commodity Operating Systems on Scalable Multiprocessors Edouard Bugnion, Scott Devine, and Mendel Rosenblum, Stanford University, 1997.
A comparison between xen and kvm Andrea Chierici Riccardo Veraldi INFN-CNAF.
Virtual Machines. Virtualization Virtualization deals with “extending or replacing an existing interface so as to mimic the behavior of another system”
Virtualization for Cloud Computing
Container-based OS Virtualization A Scalable, High-performance Alternative to Hypervisors Stephen Soltesz, Herbert Pötzl, Marc Fiuczynski, Andy Bavier.
Virtual Network Servers. What is a Server? 1. A software application that provides a specific one or more services to other computers  Example: Apache.
Tier-1 experience with provisioning virtualised worker nodes on demand Andrew Lahiff, Ian Collier STFC Rutherford Appleton Laboratory, Harwell Oxford,
To run the program: To run the program: You need the OS: You need the OS:
Virtualization and Open source Software Mr. Lau Ka Lun – Lai King Catholic Secondary School Date: 9 th, 21 st, 22 nd March, 2011.
Measuring zSeries System Performance Dr. Chu J. Jong School of Information Technology Illinois State University 06/11/2012 Sponsored in part by Deer &
E Virtual Machines Lecture 4 Device Virtualization
Tanenbaum 8.3 See references
An Introduction to Xen Prof. Chih-Hung Wu
ScotGrid: a Prototype Tier-2 Centre – Steve Thorn, Edinburgh University SCOTGRID: A PROTOTYPE TIER-2 CENTRE Steve Thorn Authors: A. Earl, P. Clark, S.
Microkernels, virtualization, exokernels Tutorial 1 – CSC469.
Testing Virtual Machine Performance Running ATLAS Software Yushu Yao Paolo Calafiura LBNL April 15,
+ CS 325: CS Hardware and Software Organization and Architecture Cloud Architectures.
Module 7: Hyper-V. Module Overview List the new features of Hyper-V Configure Hyper-V virtual machines.
Appendix B Planning a Virtualization Strategy for Exchange Server 2010.
Virtual Machine and its Role in Distributed Systems.
Politecnico di Torino Dipartimento di Automatica ed Informatica TORSEC Group Performance of Xen’s Secured Virtual Networks Emanuele Cesena Paolo Carlo.
Our work on virtualization Chen Haogang, Wang Xiaolin {hchen, Institute of Network and Information Systems School of Electrical Engineering.
CERN IT Department CH-1211 Genève 23 Switzerland t Evolution of virtual infrastructure with Hyper-V Juraj Sucik, Slavomir Kubacka Internet.
Virtualization for the LHCb Online system CHEP Taipei Dedicato a Zio Renato Enrico Bonaccorsi, (CERN)
 Virtual machine systems: simulators for multiple copies of a machine on itself.  Virtual machine (VM): the simulated machine.  Virtual machine monitor.
Performance Comparison Xen vs. KVM vs. Native –Benchmarks: SPEC CPU2006, SPEC JBB 2005, SPEC WEB, TPC –Case studies Design instrumentations for figure.
02/09/2010 Industrial Project Course (234313) Virtualization-aware database engine Final Presentation Industrial Project Course (234313) Virtualization-aware.
Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Usage of virtualization in gLite certification Andreas Unterkircher.
VTurbo: Accelerating Virtual Machine I/O Processing Using Designated Turbo-Sliced Core Embedded Lab. Kim Sewoog Cong Xu, Sahan Gamage, Hui Lu, Ramana Kompella,
Introduction to virtualization
Virtual Machines Created within the Virtualization layer, such as a hypervisor Shares the physical computer's CPU, hard disk, memory, and network interfaces.
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Tools and techniques for managing virtual machine images Andreas.
Full and Para Virtualization
Ian Gable HEPiX Spring 2009, Umeå 1 VM CPU Benchmarking the HEPiX Way Manfred Alef, Ian Gable FZK Karlsruhe University of Victoria May 28, 2009.
Operating-System Structures
VM vs Container Xen, KVM, VMware, etc. Hardware emulation / paravirtualization Can run different OSs on the same box Dozens of instances OS sprawl problem.
Atlas Software Structure Complicated system maintained at CERN – Framework for Monte Carlo and real data (Athena) MC data generation, simulation and reconstruction.
Virtual Machines. A virtual machine takes the layered approach to its logical conclusion. It treats hardware and the operating system kernel as though.
Cloud Computing – UNIT - II. VIRTUALIZATION Virtualization Hiding the reality The mantra of smart computing is to intelligently hide the reality Binary->
E Virtual Machines Lecture 1 What is Virtualization? Scott Devine VMware, Inc.
Course 03 Basic Concepts assist. eng. Jánó Rajmond, PhD
KVM tutorial #3 Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010.
Introduction to KVM Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010.
Unit 2 VIRTUALISATION. Unit 2 - Syllabus Basics of Virtualization Types of Virtualization Implementation Levels of Virtualization Virtualization Structures.
RED HAT ENTERPRISE VIRTUALIZATION 3.0 YOUR STRATEGIC VIRTUALIZATION ALTERNATIVE.
Davide Salomoni, Anna Karen Calabrese Melcarne, Gianni Dalla Torre, Alessandro Italiano, Andrea Chierici Workshop CCR-INFNGrid, 2011 Performance Improvements.
A comparison between xen and kvm Andrea Chierici Riccardo Veraldi INFN-CNAF CCR 2009.
Virtualization Neependra Khare
Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010
Virtualization for Cloud Computing
Virtualization.
Virtualization in Grid Rock
Title of the Poster Supervised By: Prof.*********
Enrico Bonaccorsi, (CERN) Loic Brarda, (CERN) Gary Moine, (CERN)
Operating System Structure
Статус ГРИД-кластера ИЯФ СО РАН.
Virtualization overview
Disco: Running Commodity Operating Systems on Scalable Multiprocessors
Virtual Machines.
OS Virtualization.
Conditions leading to the rise of virtual machines
Virtualization Dr. S. R. Ahmed.
Presentation transcript:

Performance analysis comparison Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010

Outline Test description Benchmarks Conclusions Andrea Chierici2

Xen Open source “industry standard” for virtualization Included in all recent linux distributions Supports para and hvm approaches Widely used in HEP community Andrea Chierici3

KVM Kernel-based Virtual Machine Open source included in latest linux kernels: implemented as a module  A user space program uses /dev/kvm interface to set up VMs (qemu-kvm) Supports only hvm approach Andrea Chierici4

KVM virtio Direct access to hardware  Hard disk (/dev/vdx)  Ethernet interface Supported since RHEL 5.3  kernel  Virtio drivers must be on the VM, not on the host  EGEE sw (v3.1) can’t currently benefit from this Andrea Chierici5

Qualitative test CNAF is running LHCb tier2 site entirely on xen VMs (2 CEs, 1 SE) Changed one Computing Element with a KVM machine  Has been working for more that 3 weeks flawlessly  Quattor machine profile unmodified, no effort for sysadmin CMS secondary squid server installed on the same host with same result KVM executed (and live migrated!) a win7 VM Hardware used: 1 node, dual E5420, 16GB ram, sata disks via Areca controller Andrea Chierici6

Quantitative test: description Need some measures to understand what is the best solution Tested 3 classic parameters  CPU → hep-spec06 (v1.1), PI test for cpu distribution  Network → iperf (v2.0.4)  Disk access → bonnie++ (v1.94) Compared Xen (para-virtualized and hvm) with KVM, using non virtualized machine as a baseline Andrea Chierici7

Quantitative test: description Hardware used: 1 blade, dual E5420, 16GB ram, 10k sas disk via LSI logic raid controller (raid0) Xen-para VM specs: 1 vcpu, 2 GB ram, disk on a file Xen-hvm VM specs: 1 vcpu, 2GB ram, disk on a file, “netfront” network driver KVM VM specs: 1 vcpu, 2GB ram, disk on a file, e1000 network driver emulation (non-virtio tests) Host OS: SL 5.2 x86_64, kernel el5 VM OS: SLC 4.5 i386, kernel EL.cern VM OS: SLC 5.3 x86_64, kernel for kvm virtio tests KVM version: 83 Xen version: Andrea Chierici8

Benchmarks: HEP-Spec06 Andrea Chierici9

Benchmarks: HEP-Spec06 Andrea Chierici10

Benchmarks: HEP-Spec06 Andrea Chierici11

Benchmarks: HEP-Spec06 Virtualization Technology % loss from non emulated CPU (E5420, 8vm) E5420kvm3,42 E5420xen-hvm4,55 E5420xen-para2,02 E5410 vs. E54204,07 Andrea Chierici12

Benchmarks: PI test System tools to measure CPU usage are not reliable enough Calculating PI with n arbitrary ciphers  Algorithm based on Numerical Recipes  Written in C  Compiled with options gcc -O3 -ffast-math -finline-limit=1000 Returns the number of CPU cycles  An external function included into the code calculates the number of CPU cycles Andrea Chierici13

Benchmarks: PI test Andrea Chierici14 difference < 2%

Benchmarks: PI test Andrea Chierici15 8 core Balanced Performance Every guest uses one core at 100%

Benchmarks: PI test Andrea Chierici16 Good balancing on guest Max difference 14%, average ~5%

Benchmarks: Iperf Andrea Chierici17

Benchmarks: Iperf Andrea Chierici18

Benchmarks: bonnie++, file vs lvm Andrea Chierici19

Benchmarks: bonnie++ Andrea Chierici20

Benchmarks: bonnie++, kvm virtio Andrea Chierici21

Benchmarks: bonnie++ Andrea Chierici22

Conclusions KVM proved good stability and reliability  No problems on running production machines  CPU performances are extremely good Modern CPU virtualization technologies help!  Network performances are fair with e1000, good with virtio  Disk I/O seems the most problematic aspect Other solutions have problems too Andrea Chierici23