Computing in High- Energy-Physics: How Virtualization meets the Grid

Similar documents
Basics of Virtualisation

Regional SEE-GRID-SCI Training for Site Administrators Institute of Physics Belgrade March 5-6, 2009

Virtualization with Windows

Integration of Virtualized Workernodes in Batch Queueing Systems The ViBatch Concept

Virtual Machine Monitors. Dr. Marc E. Fiuczynski Research Scholar Princeton University

nanohub.org An Overview of Virtualization Techniques

COS 318: Operating Systems. Virtual Machine Monitors

A quantitative comparison between xen and kvm

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

Virtualization. Dr. Yingwu Zhu

Enabling Technologies for Distributed Computing

MODULE 3 VIRTUALIZED DATA CENTER COMPUTE

Virtualization of a Cluster Batch System

Full and Para Virtualization

Lecture 2 Cloud Computing & Virtualization. Cloud Application Development (SE808, School of Software, Sun Yat-Sen University) Yabo (Arber) Xu

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

Enabling Technologies for Distributed and Cloud Computing

Virtualizare sub Linux: avantaje si pericole. Dragos Manac

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

Parallels Virtuozzo Containers

Intro to Virtualization

Distributed Systems. Virtualization. Paul Krzyzanowski

GUEST OPERATING SYSTEM BASED PERFORMANCE COMPARISON OF VMWARE AND XEN HYPERVISOR

Virtual Machines.

PES. Batch virtualization and Cloud computing. Part 1: Batch virtualization. Batch virtualization and Cloud computing

IOS110. Virtualization 5/27/2014 1

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

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

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

International Journal of Advancements in Research & Technology, Volume 1, Issue6, November ISSN

Virtualization. Pradipta De

Virtualization. Jukka K. Nurminen

Best Practices for Virtualised SharePoint

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

Cloud Computing CS

Oracle Database Scalability in VMware ESX VMware ESX 3.5

COS 318: Operating Systems. Virtual Machine Monitors

Virtualised MikroTik

Hyper-V vs ESX at the datacenter

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

Jukka Ylitalo Tik TKK, April 24, 2006

Models For Modeling and Measuring the Performance of a Xen Virtual Server

Virtualization. Types of Interfaces

Chapter 14 Virtual Machines

An Oracle White Paper August Oracle VM 3: Server Pool Deployment Planning Considerations for Scalability and Availability

White Paper. Recording Server Virtualization

Satish Mohan. Head Engineering. AMD Developer Conference, Bangalore

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

A Highly Versatile Virtual Data Center Ressource Pool Benefits of XenServer to virtualize services in a virtual pool

Virtualization. Michael Tsai 2015/06/08

Is Virtualization Killing SSI Research?

Avoiding Performance Bottlenecks in Hyper-V

Distributed and Cloud Computing

Hardware Based Virtualization Technologies. Elsie Wahlig Platform Software Architect

Virtualization Technologies

Performance Evaluation of VMXNET3 Virtual Network Device VMware vsphere 4 build

Microkernels, virtualization, exokernels. Tutorial 1 CSC469

Virtual machines and operating systems

CS 695 Topics in Virtualization and Cloud Computing and Storage Systems. Introduction

Database Virtualization

Data Centers and Cloud Computing

HPC performance applications on Virtual Clusters

Virtualization and the U2 Databases

Servervirualisierung mit Citrix XenServer

Is Virtualization Killing SSI Research?

Hyper-V R2: What's New?

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

High-Performance Nested Virtualization With Hitachi Logical Partitioning Feature

Run-time Resource Management in SOA Virtualized Environments. Danilo Ardagna, Raffaela Mirandola, Marco Trubian, Li Zhang

Microsoft Hyper-V chose a Primary Server Virtualization Platform

Unifying Information Security

SUSE Linux Enterprise 10 SP2: Virtualization Technology Support

Performance Characteristics of VMFS and RDM VMware ESX Server 3.0.1

2972 Linux Options and Best Practices for Scaleup Virtualization

x86 ISA Modifications to support Virtual Machines

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

CSE 501 Monday, September 09, 2013 Kevin Cleary

VIRTUALIZATION 101. Brainstorm Conference 2013 PRESENTER INTRODUCTIONS

Xen and the Art of. Virtualization. Ian Pratt

COM 444 Cloud Computing

Oracle Hyperion Financial Management Virtualization Whitepaper

Virtualization of Linux based computers: the Linux-VServer project

Getting the Most Out of Virtualization of Your Progress OpenEdge Environment. Libor Laubacher Principal Technical Support Engineer 8.10.

Virtualization. Explain how today s virtualization movement is actually a reinvention

The Art of Virtualization with Free Software

Virtualization for Cloud Computing

A Comparison of VMware and {Virtual Server}

CPET 581 Cloud Computing: Technologies and Enterprise IT Strategies. Virtualization of Clusters and Data Centers

Belgacom Group Carrier & Wholesale Solutions. ICT to drive Your Business. Hosting Solutions. Datacenter Services

Transcription:

Computing in High- Energy-Physics: How Virtualization meets the Grid Yves Kemp Institut für Experimentelle Kernphysik Universität Karlsruhe Yves Kemp Barcelona, 10/23/2006

Outline: Problems encountered at Karlsruhe Tier 2/3: Recycling of old hardware for Grid services Different user groups with diverging OS requirements Virtualization techniques: Overview Usage of virtualization on the Grid: Server consolidation Horizontal partitioning of clusters Conclusion and outlook 10/23/2006 Barcelona Yves Kemp, University of Karlsruhe 2

2x Karlsruhe-Grid: ~10 km GridKa: Tier 1 10/23/2006 Barcelona University of Karlsruhe: Tier 2/3 Yves Kemp, University of Karlsruhe 3

Tier 2/3 site at the University of Karlsruhe 30 Computing nodes 20 TB on file servers 100 Mbit/Gbit network 3 local user groups Grid users through middleware: 10/23/2006 Barcelona CDF (20 users) CMS (16 users) AMS (6 users) Mainly CMS Some CDF users (GlideCAF) Yves Kemp, University of Karlsruhe 4

Problem: Site-Wide-Services LCG middleware Computing Element Storage Element Monitoring Box (User Interface) Provide access to Cluster Two sites: Production and testing Six different computers minimum CDF GlideCAF SAM-Station GlideCAF Two more computers Total of 8 machines No heavy load on them Recycling of old machines: Difficult to maintain 10/23/2006 Barcelona Yves Kemp, University of Karlsruhe 5

Problem: Different user groups CMS: Software requires SLC 3.0.X Now: Compromise possible: SLC 3.0.6 32bit CDF: SL Fermi 3.0.X recommended AMS could benefit from 64bit Future: Diverging needs: AMS: Can easily recompile their software on different platforms glite middleware: SLC 3.0.X recommended e.g.: CMS SLC4, CDF SLC3 e.g.: CMS needs both SLC3 and SLC4 e.g.: Some need 32bit, other 64bit. Sharing with other groups using modern distributions 10/23/2006 Barcelona Yves Kemp, University of Karlsruhe 6

Virtualization: One possible answer 10/23/2006 Barcelona Yves Kemp, University of Karlsruhe 7

Virtualization: Products Many virtualization products exist: and many more 10/23/2006 Barcelona Yves Kemp, University of Karlsruhe 8

Virtualization VMware GSX Full Virtualization, e.g. VMware GSX Schematic overview of VMware GSX-Server The host OS emulates all hardware components except for the CPU for the VM VM becomes independent from host configuration and can be used on different host systems VM is stored and run in files VMs contain native OS and are completely isolated but such hardware emulations cost performance 10/23/2006 Barcelona Yves Kemp, University of Karlsruhe 9

Virtualization VMware GSX WindowsXP host OS with a ScientificLinux Cern 3 VM Used as User Interface for people with Windows Laptop 10/23/2006 Barcelona Yves Kemp, University of Karlsruhe 10

Virtualization VMware ESX Full Virtualization, e.g. VMware ESX Virtualization Layer is directly installed on the server hardware It is optimized for some certified hardware components Provides advanced administration tools Schematic overview of VMware ESX-Server Allows emulation of hardware components for the VMs at near-native performance Provides features like memory ballooning, over-commitment of RAM, live migration Supports up to 128 poweredon Virtual Machines Relatively expensive 10/23/2006 Barcelona Yves Kemp, University of Karlsruhe 11

Virtualization VMware ESX ESX Server on a Blade Center hosting virtual machines for a course at the GridKa school 2006 10/23/2006 Barcelona Yves Kemp, University of Karlsruhe 12

Virtualization: XEN Para Virtualization, e.g. XEN Different hardware components are not fully emulated by the host OS. It only organises the usages Small loss of performance Layout of a Xen based system: Privileged host system (Dom0) and unprivileged guest systems (DomUs) DomUs are working cooperatively! Guest-OS has to be adapted to XEN (Kernel-Patch), but not the applications this changes with processors supporting virtualization 10/23/2006 Barcelona Yves Kemp, University of Karlsruhe 13

XEN in action: VM names Memory Images for disk and swap 10/23/2006 Barcelona Yves Kemp, University of Karlsruhe 14

Performance comparison Standard application benchmark: Linux kernel compilation Relative Performance Index (2=Opteron SMP) 2 1,75 1,5 1,25 1 0,75 0,5 0,25 0 Both CPUs in the native OS used for one compilation Only one CPU in the VM Opteron-SMP XEN 3 0 1 XEN 2 0 7 Commercial Product UML 1 2 3 4 5 6 7 8 10 12 14 16 Amount of parallel benchmarks (4 in parallel; make j4) Slightly smaller performance of the Xen based VM compared to the native OS. 10/23/2006 Barcelona Yves Kemp, University of Karlsruhe 15

Virtualization Hardware New processor generation has extension for virtualization, e.g. Vanderpool (Intel) and Pacifica (AMD) Per definition, x86 platforms do not support virtualization OS is executed in Ring 0, Applications in Ring 3 What about VMM? The new processor generation provides a Ring -1 for the VMM Guest OS is executed in Ring 0 and moderated by privileged Virtual Machine Monitor Application remains in Ring 3 Overhead for translation reduced Virtual Machine Monitor Applications Guest OS 3 0-1 Ring 10/23/2006 Barcelona Yves Kemp, University of Karlsruhe 16

First application: Server Consolidation The Grid site-wide services: for reasons of stability: recommended to run each service in an isolated OS instance. varying load on the different machines no full usage of resources recycling of older machines leads to a heterogeneous hardware structure high administrative effort for installation and maintenance of the system CE SE MON CE SE MON Host (XEN) Virtualization of these machines leads to one single machine to be maintained and to homogenous OS installations 10/23/2006 Barcelona Yves Kemp, University of Karlsruhe 17

Realization at the EKP host system with Virtual Machine Monitor (VMM) Xen (3.0.2) AMD Dual Opteron with 4 GB RAM, 600 GB RAID 10 OS: Debian stable (with 2.6 kernel) Guest systems: glite production environment: CE, SE and MON on SLC 3.0.8 glite test environment: CE, SE and MON on SLC 3.0.8 CDF Grid: Two machines on SL fermi 3.0.5 All environments fully integrated into the batch and storage system Three separate Grid infrastructures and eight VMs running on one physical host Contribution to escience 06 conference: V. Büge, Y. Kemp, M. Kunze, G. Quast Application of Virtualisation Techniques at a University Grid Centre 10/23/2006 Barcelona Yves Kemp, University of Karlsruhe 18

Advantages of Server Consolidation Advantages through virtualization: a reduction of hardware overhead : Only one single highperformance machine needed for the complete LCG installation including a test WN cheaper and easier to maintain easy and fast setup of basic OS by copying VMs image files possibility of migrating VMs to other machines and backup cloning of VMs before upgrades of LCG to enable tests less service interrupts and a more effective administration balanced load and efficient use of the server machine interception of CPU peaks 10/23/2006 Barcelona Yves Kemp, University of Karlsruhe 19

Second application of virtualization Encountered problems at a computing center: Worker nodes need dedicated OS as middleware is installed on them Typical institute: Different groups need different OS One group might even need different OS because of different software versions Computing cluster: Shared between local users and grid users: Want to enhance security and hide local information to grid users New hardware but old OS needed Partition your cluster! But how? 10/23/2006 Barcelona Yves Kemp, University of Karlsruhe 20

Static (vertical) partitioning OS1 OS1 OS2 OS2 Example: 4 nodes, 2 groups 2 nodes with OS1 2 nodes with OS2 Sharing common storage, network and control infrastructure Changes in the resource allocation difficult Old OS on new hardware problem persists No real resource sharing possible 10/23/2006 Barcelona Yves Kemp, University of Karlsruhe 21

Dynamic (horizontal) partitioning OS1 OS1 OS2 OS2 OS2 OS2 OS1 OS1 All nodes have two OS running all the time The OS needed gets all CPU and RAM resources Sharing all resources Dynamic and fast changes in resource allocation Only host OS must fit the hardware Security and privacy through encapsulation Using Virtualization 10/23/2006 Barcelona Yves Kemp, University of Karlsruhe 22

Performance considerations No noticeable performance loss due to virtualization: Around 3-4% loss for CMS software Even performance gain is possible: AMS group could benefit from 64 bit, but 32 bit common agreement Galprop runs 22% faster in a virtual 64-bit machine than on 32-bit native system! A overall performance gain can be possible (at least no drastic performance losses) 10/23/2006 Barcelona Yves Kemp, University of Karlsruhe 23

Connection to the Batch Queue Users do not login to the nodes: Using Batch Queuing Server! Users are not to control the resources: Batch Queuing Server? The different VM running on one host are not independent: They share the same resources The batch queue server must know about this sharing Either natively Or with the help of a separate program Requirements of such a program: Independence of batch system server and scheduler: No modifications Flexibility Respect current policies: Node occupancy Prioritization 10/23/2006 Barcelona Yves Kemp, University of Karlsruhe 24

Prototype implementation Maui/Torque (used at EKP): Concept of grouping of resources not known. Set nodes offline Daemon implemented in Perl language Set queued jobs to hold Running on a test-system: 2 Dual Opteron machines simulate cluster with 19 nodes of two categories Scheduler Get job info Wait X seconds Working stable To be deployed on the production cluster Native implementation preferable Batch Server Get node info Sort jobs according to priority Batch Server Release Jobs Contribution to XHPC / ISPA 06 Virtualizing a Batch Queuing System at a University Grid Center V. Büge, Y. Kemp, M. Kunze, O. Oberst, G. Quast Available resources? No Yes Prepare resources 10/23/2006 Barcelona Yves Kemp, University of Karlsruhe 25

Conclusions & Outlook Variety of virtualization products exists, following different approaches User Interface as (Linux) Virtual Machine on Windows Host Server consolidation Eases maintenance Better usage of resources Working stable at the EKP: three Grid sites in one box! Virtualized Worker Nodes: Improved security through OS encapsulation Optimal OS for every user, dynamic resource allocation Good performance behavior Integration into Maui/Torque: daemon running on a test system, to be installed on the production system at EKP in the next weeks Optimal resource sharing among different groups in a institute Enables resource sharing with other groups of a university Benefits from new x86 CPU with Virtualization support 10/23/2006 Barcelona Yves Kemp, University of Karlsruhe 26