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



Similar documents
Black-box Performance Models for Virtualized Web. Danilo Ardagna, Mara Tanelli, Marco Lovera, Li Zhang

Energy Constrained Resource Scheduling for Cloud Environment

CloudSim: A Toolkit for Modeling and Simulation of Cloud Computing Environments and Evaluation of Resource Provisioning Algorithms

Enabling Technologies for Distributed Computing

Enabling Technologies for Distributed and Cloud Computing

Cloud Computing through Virtualization and HPC technologies

A Game Theoretic Formulation of the Service Provisioning Problem in Cloud Systems

Variations in Performance and Scalability when Migrating n-tier Applications to Different Clouds

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

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

Dynamic Resource allocation in Cloud

Figure 1. The cloud scales: Amazon EC2 growth [2].

Comparing Multi-Core Processors for Server Virtualization

Performance Characteristics of VMFS and RDM VMware ESX Server 3.0.1

Oracle Database Scalability in VMware ESX VMware ESX 3.5

DataCenter optimization for Cloud Computing

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

USING VIRTUAL MACHINE REPLICATION FOR DYNAMIC CONFIGURATION OF MULTI-TIER INTERNET SERVICES

SUSE Linux Enterprise 10 SP2: Virtualization Technology Support

MODULE 3 VIRTUALIZED DATA CENTER COMPUTE

VIRTUAL RESOURCE MANAGEMENT FOR DATA INTENSIVE APPLICATIONS IN CLOUD INFRASTRUCTURES

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

Virtualization. Dr. Yingwu Zhu

DIABLO TECHNOLOGIES MEMORY CHANNEL STORAGE AND VMWARE VIRTUAL SAN : VDI ACCELERATION

vnas Series All-in-one NAS with virtualization platform

SLA Driven Load Balancing For Web Applications in Cloud Computing Environment

Memory Sizing for Server Virtualization. White Paper Intel Information Technology Computer Manufacturing Server Virtualization

GUEST OPERATING SYSTEM BASED PERFORMANCE COMPARISON OF VMWARE AND XEN HYPERVISOR

Heterogeneous Workload Consolidation for Efficient Management of Data Centers in Cloud Computing

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

Performance Analysis of Web based Applications on Single and Multi Core Servers

HPC performance applications on Virtual Clusters

LPV model identification for power management of Web service systems Mara Tanelli, Danilo Ardagna, Marco Lovera

Week Overview. Installing Linux Linux on your Desktop Virtualization Basic Linux system administration

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

Black-box and Gray-box Strategies for Virtual Machine Migration

Performance brief for IBM WebSphere Application Server 7.0 with VMware ESX 4.0 on HP ProLiant DL380 G6 server

Monitoring Databases on VMware

Cloud and Virtualization to Support Grid Infrastructures

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

Genetic Algorithms for Energy Efficient Virtualized Data Centers

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

White Paper. Recording Server Virtualization

Dynamic Load Balancing of Virtual Machines using QEMU-KVM

How To Test For Performance And Scalability On A Server With A Multi-Core Computer (For A Large Server)

Basics of Virtualisation

nanohub.org An Overview of Virtualization Techniques

Parallels Virtuozzo Containers

JVM Performance Study Comparing Oracle HotSpot and Azul Zing Using Apache Cassandra

VIRTUALIZATION, The next step for online services

Workstation Virtualization Software Review. Matthew Smith. Office of Science, Faculty and Student Team (FaST) Big Bend Community College

Microsoft Exchange Solutions on VMware

VMWARE WHITE PAPER 1

Towards an understanding of oversubscription in cloud

Very Large Enterprise Network, Deployment, Users

Full and Para Virtualization

The Benefits of POWER7+ and PowerVM over Intel and an x86 Hypervisor

COS 318: Operating Systems. Virtual Machine Monitors

High-Performance Nested Virtualization With Hitachi Logical Partitioning Feature

Parallels Virtuozzo Containers

Virtualization. Types of Interfaces

ACANO SOLUTION VIRTUALIZED DEPLOYMENTS. White Paper. Simon Evans, Acano Chief Scientist

vrealize Business System Requirements Guide

NETAPP WHITE PAPER USING A NETWORK APPLIANCE SAN WITH VMWARE INFRASTRUCTURE 3 TO FACILITATE SERVER AND STORAGE CONSOLIDATION

Scaling in a Hypervisor Environment

Servervirualisierung mit Citrix XenServer

An Experimental Study of Load Balancing of OpenNebula Open-Source Cloud Computing Platform

Intro to Virtualization

Host Power Management in VMware vsphere 5

EMC Smarts SAM, IP, ESM, MPLS, NPM, OTM, and VoIP Managers Support Matrix

Introduction to the NI Real-Time Hypervisor

Two-Level Cooperation in Autonomic Cloud Resource Management

The Art of Virtualization with Free Software

vsphere Resource Management Guide

Cloud Computing. Chapter 1 Introducing Cloud Computing

An Introduction to Virtualization and Cloud Technologies to Support Grid Computing

Virtual Machines.

A Generic Auto-Provisioning Framework for Cloud Databases

Maindec Computer Solutions Ltd. Service Definition for Infrastructure as a Service. Prepared by Mark Butcher

HPSA Agent Characterization

DELL. Virtual Desktop Infrastructure Study END-TO-END COMPUTING. Dell Enterprise Solutions Engineering

Virtuoso and Database Scalability

COM 444 Cloud Computing

QoS-driven Web Services Selection in Autonomic Grid Environments. Danilo Ardagna Gabriele Giunta Nunzio Ingraffia Raffaela Mirandola Barbara Pernici

8Gb Fibre Channel Adapter of Choice in Microsoft Hyper-V Environments

Integration of Virtualized Workernodes in Batch Queueing Systems The ViBatch Concept

High Performance Computing in CST STUDIO SUITE

Performance Evaluation of VMXNET3 Virtual Network Device VMware vsphere 4 build

Transcription:

Run-time Resource Management in SOA Virtualized Environments Danilo Ardagna, Raffaela Mirandola, Marco Trubian, Li Zhang Amsterdam, August 25 2009

SOI Run-time Management 2 SOI=SOA + virtualization Goal: flexible solution for accessing component based service applications on demand High workload fluctuations: need for run-time resource provisioning Our work: determine the optimum capacity allocation for multiple Virtual Machines

Outline 3 Problem statement Reference system Optimal capacity allocation problem Experimental results On going work and conclusions

Problem statement SOI workload can vary by orders of magnitude within the same business day Such variations cannot be accommodated by separating design and run-time point of view: run-time resource provisioning and exploit lower level (OS) mechanisms dynamically allocate resources on the basis of short-term demand estimates meet end user s QoS requirements while adapting the SOA environment the infrastructure configuration is updated periodically according to a workload prediction

Virtualization of resources 5 Hardware resources (CPU, RAM, ecc...) are partitioned and shared among multiple virtual machines (VMs) The virtual machine monitor (VMM) governs the access to the physical resources among running VMs Performance isolation and security

Virtualization of resources 6 Service and platforms heterogeneity Need to predict efficiently the performance of such systems at runtime Optimal capacity allocation with strict time constraints without adding a significant overhead

Virtualized Service Center Service invocations L1......... L2 L2 L2 L2 L2 L2............... Physical servers Free servers pool L1 resource manager: the set of physical servers to use VMs to physical servers allocation load balancing across multiple VMs perform admission control L2 resource manager: capacity allocation frequency scaling,

Virtualized Service Center App App App OS OS OS VM VM VM Virtual Machine Monitor φ k Monitor & Workload predictor μ k λ k Resource Allocator SMP - Multicore system

SLA Service Level Agreement 9 Per request revenue u k Revenues are a function of average response times m k =-u k / R k Average response time soft-constraint R k Average response time

System Performance Model 10 Incoming requests VMM CPU Cores VMM modelling: GPS (Generalized Processor Sharing) scheduling The VMM allocates the CPU core to competing VMs proportionally to the scheduling normalized weights φ k, k K φ k =1 that each VM has been assigned

GPS Bounding technique Under GPS, the server capacity devoted to class k VM at time t (if any) is: φ k k' K(t) φ k' Requests within each class are executed either in a First-Come First- Serve (FCFS) or a Processor Sharing (PS) manner Under FCFS: service time has an exponential distribution with mean μ k -1 Under PS: service time follows a general distribution with mean μ k -1

GPS Bounding technique Approximation: each multi-class single-server queue is decomposed into multiple independent single-class single-server queues with capacity greater than or equal to φ κ λ 1 μ 1 φ 1 λ 2 λ 1 λ 2.. λ K. μ 1,μ 2,..., μ. K φ 1,φ 2,..., φ K μ 2 φ 2 λ K μ K φ K

GPS Bounding technique Approximation: each multi-class single-server queue is decomposed into multiple independent single-class single-server queues with capacity greater than or equal to φ κ Under these hypotheses, an upper bound of VMs average response time can be evaluated as: E[R k ]= 1 μ k φ k -λ κ

Capacity Allocation Optimization Problem The Service Provider objective is to maximize the revenues from SLAs which are given by: The decision variables of our model are φ k which determine the capacity devoted for executing class k VM on a specific core

Capacity Allocation Optimization Problem The objective function is concave:

Global Optimum Solution Efficient ad-hoc solution with complexity O( K ) through the Karush KuhnTucker conditions which is based on the following Theorem

Global Optimum Solution Efficient ad-hoc solution with complexity O( K ) through the Karush KuhnTucker conditions which is based on the following Theorem Theorem 1. Let k be an arbitrary VM class. The optimum solution of problem P1) is given by: where:

Algorithm Performance All tests have been performed on a Intel Core Duo E6850 3 GHz workstation The number of request classes K has been varied between 10 and 100 Service demands and m k were uniformly generated in the interval [0.1, 1] second and [0.2, 2], respectively Revenues obtained by using a single CPU for one hour varies between 1$ and 10$ according to the current commercial fees (e.g., Sun Utility Computing, Amazon Elastic Cloud) R k was proportional to the demanding time of class k requests, we set R k =10/μ k

Algorithm Performance Capacity Allocation Solution Execution Time (s)

Validation in a Prototype Environment Goals: evaluate the quality of the GPS approximation evaluate the effectiveness of our capacity allocation algorithm in a real testbed The physical machine hosting the VMs is based on two Intel Xeon Woodcrest 3GHz dual core (four physical core overall) with 2 GB RAM The VMM is VMware ESX Server 3.0.1, while VMs run Linux Fedora Core 6.0 VMWare parameters for resource settings: limit, i.e., a cap on the consumption of CPU time, measured in MHz reservation, i.e., a certain number of CPU cycles reserved for the execution of the VM, measured in MHz; share, i.e., a priority for the execution of the VM expressed by a number between 1 and 10,000 In our experimental setup we did not set any limit, the reservation was set equal to 0 MHz for each VM and the shares were set proportionally to VMs' φ k values VMs were constrained to run on a single physical core with 256 MB of RAM reservation

Validation in a Prototype Environment The experimental framework is based on a workload generator and a micro-benchmarking Web service: custom extension of the Apache JMeter 2.3.1 workload injector Web service application is hosted within the Apache Tomcat 5.5 application server, designed to consume a fixed CPU time The service demand is generated according to a log-normal distribution where C=4 and the incoming workload varied in the range 0.16 and 10 req/sec

Response Time Percentage Error in the Prototype Environment The error reduces as the utilization of the physical machine increases When the utilization of the physical machine is about 90-95%, the average percentage error is around 30% With the current practice of server consolidation, the aim is to increase the CPUs utilization and 80% has been reached also on x86 server farm

Validation in a Prototype Environment Two single tier applications supporting a gold and a bronze request class hosted on a single core are considered ( m gold = 10 m bronze ) The gold class workload is increased while the bronze class workload is kept constant

Conclusion and on going work Resource allocation policy which dynamically allocates resources among competing virtual machines The capacity allocation problem has been modeled as a non-linear problem which has been optimally solved Introduce more accurate but still fast approximated solution techniques for performance evalaution of virtualized environments Experimental evaluation of operating system based VMM like OpenVZ or Virtuozzo Standard benchmarks and real applications