Multifaceted Resource Management in Virtualized Providers Íñigo Goiri PhD Defense June 14th, 2011 Advisors: Jordi Guitart and Jordi Torres.

Slides:



Advertisements
Similar presentations
Evaluating the Cost-Benefit of Using Cloud Computing to Extend the Capacity of Clusters Presenter: Xiaoyu Sun.
Advertisements

Energy-efficient Task Scheduling in Heterogeneous Environment 2013/10/25.
Parasol and GreenSwitch: Managing Datacenters Powered by Renewable Energy Íñigo Goiri, William Katsak, Kien Le, Thu D. Nguyen, and Ricardo Bianchini Department.
University of Minnesota Optimizing MapReduce Provisioning in the Cloud Michael Cardosa, Aameek Singh†, Himabindu Pucha†, Abhishek Chandra
Hadi Goudarzi and Massoud Pedram
VCRIB: Virtual Cloud Rule Information Base Masoud Moshref, Minlan Yu, Abhishek Sharma, Ramesh Govindan HotCloud 2012.
GreenSlot: Scheduling Energy Consumption in Green Datacenters Íñigo Goiri, Kien Le, Md. E. Haque, Ryan Beauchea, Thu D. Nguyen, Jordi Guitart, Jordi Torres,
SLA-Oriented Resource Provisioning for Cloud Computing
Walter Binder University of Lugano, Switzerland Niranjan Suri IHMC, Florida, USA Green Computing: Energy Consumption Optimized Service Hosting.
Power Management in Cloud Computing using Green Algorithm -Kushal Mehta COP 6087 University of Central Florida.
Energy-efficient Virtual Machine Provision Algorithms for Cloud System Ching-Chi Lin Institute of Information Science, Academia Sinica Department of Computer.
A Cyber-Physical Systems Approach to Energy Management in Data Centers Presented by Chen He Adopted form the paper authors.
1 Placement (Scheduling) Optimal mapping of VMs – to physical hosts in a data center (cloud) – across multiple clouds Federation and bursting Multi-cloud.
Green Cloud Computing Hadi Salimi Distributed Systems Lab, School of Computer Engineering, Iran University of Science and Technology,
Xavier León PhD defense
Efficient Autoscaling in the Cloud using Predictive Models for Workload Forecasting Roy, N., A. Dubey, and A. Gokhale 4th IEEE International Conference.
GREEN CLOUD By Sphoorthy. LOGO WHAT IS CLOUD COMPUTING? Cloud computing is a model for enabling convenient, on- demand network access to a shared pool.
SLA-aware Virtual Resource Management for Cloud Infrastructures
Energy Efficient Web Server Cluster Andrew Krioukov, Sara Alspaugh, Laura Keys, David Culler, Randy Katz.
Present By : Bahar Fatholapour M.Sc. Student in Information Technology Mazandaran University of Science and Technology Supervisor:
Intelligent Placement of Datacenters for Internet Services Íñigo Goiri, Kien Le, Jordi Guitart, Jordi Torres, and Ricardo Bianchini 1.
PRESTON SMITH ROSEN CENTER FOR ADVANCED COMPUTING PURDUE UNIVERSITY A Cost-Benefit Analysis of a Campus Computing Grid Condor Week 2011.
Cloud Computing Economics Ville Volanen
CoolAir Temperature- and Variation-Aware Management for Free-Cooled Datacenters Íñigo Goiri, Thu D. Nguyen, and Ricardo Bianchini 1.
University of Karlsruhe, System Architecture Group Balancing Power Consumption in Multiprocessor Systems Andreas Merkel Frank Bellosa System Architecture.
GreenHadoop: Leveraging Green Energy in Data-Processing Frameworks Íñigo Goiri, Kien Le, Thu D. Nguyen, Jordi Guitart, Jordi Torres, and Ricardo Bianchini.
Self-Adaptive QoS Guarantees and Optimization in Clouds Jim (Zhanwen) Li (Carleton University) Murray Woodside (Carleton University) John Chinneck (Carleton.
HeteroPar 2013 Optimization of a Cloud Resource Management Problem from a Consumer Perspective Rafaelli de C. Coutinho, Lucia M. A. Drummond and Yuri Frota.
Energy Efficiency in Cloud Data Centers: Energy Efficient VM Placement for Cloud Data Centers Doctoral Student : Chaima Ghribi Advisor : Djamal Zeghlache.
Green IT and Data Centers Darshan R. Kapadia Gregor von Laszewski 1.
Department of Computer Science Engineering SRM University
Network Aware Resource Allocation in Distributed Clouds.
Ruppa K. Thulasiram Slide 1/24 Resource Provisioning Policies to Increase IaaS Provider’s Profit in a Federated Cloud Environment Adel Nadjaran Toosi *,
November , 2009SERVICE COMPUTATION 2009 Analysis of Energy Efficiency in Clouds H. AbdelSalamK. Maly R. MukkamalaM. Zubair Department.
Cloud Computing Energy efficient cloud computing Keke Chen.
Leveraging Renewable Energy in Data Centers Ricardo Bianchini on tour 2012.
Resource Provisioning based on Lease Preemption in InterGrid Mohsen Amini Salehi, Bahman Javadi, Rajkumar Buyya Cloud Computing and Distributed Systems.
GreenSoftware: Managing Datacenters Powered by Renewable Energy Íñigo Goiri, William Katsak, Md E Haque, Kien Le, Ryan Beauchea, Jordi Guitart, Jordi Torres,
SLA-based Resource Allocation for Software as a Service Provider (SaaS) in Cloud Computing Environments Author Linlin Wu, Saurabh Kumar Garg and Rajkumar.
A Broker for Cost-efficient QoS aware Resource Allocation in EC2. Kurt Vermeersch Coordinator: Kurt Vanmechelen.
An Autonomic Framework in Cloud Environment Jiedan Zhu Advisor: Prof. Gagan Agrawal.
Building Green Cloud Services at Low Cost Josep Ll. Berral, Íñigo Goiri, Thu D. Nguyen, Ricard Gavaldà, Jordi Torres, Ricardo Bianchini.
Semantic Interoperability Berlin, 25 March 2008 Semantically Enhanced Resource Allocator Marc de Palol Jorge Ejarque, Iñigo Goiri, Ferran Julià, Jordi.
Challenges towards Elastic Power Management in Internet Data Center.
1 Distributed Energy-Efficient Scheduling for Data-Intensive Applications with Deadline Constraints on Data Grids Cong Liu and Xiao Qin Auburn University.
Data Placement and Task Scheduling in cloud, Online and Offline 赵青 天津科技大学
Energy Aware Consolidation for Cloud Computing Srikanaiah, Kansal, Zhao Usenix HotPower 2008.
Quantifying and Improving I/O Predictability in Virtualized Systems Cheng Li, Inigo Goiri, Abhishek Bhattacharjee, Ricardo Bianchini, Thu D. Nguyen 1.
Copyright © 2011, Performance Evaluation of a Green Scheduling Algorithm for Energy Savings in Cloud Computing Truong Vinh Truong Duy; Sato,
A dynamic optimization model for power and performance management of virtualized clusters Vinicius Petrucci, Orlando Loques Univ. Federal Fluminense Niteroi,
VGreen: A System for Energy Efficient Manager in Virtualized Environments G. Dhiman, G Marchetti, T Rosing ISLPED 2009.
Software Architecture for Dynamic Thermal Management in Datacenters Tridib Mukherjee Graduate Research Assistant IMPACT Lab ( Department.
Performance Analysis of Preemption-aware Scheduling in Multi-Cluster Grid Environments Mohsen Amini Salehi, Bahman Javadi, Rajkumar Buyya Cloud Computing.
June 30 - July 2, 2009AIMS 2009 Towards Energy Efficient Change Management in A Cloud Computing Environment: A Pro-Active Approach H. AbdelSalamK. Maly.
ApproxHadoop Bringing Approximations to MapReduce Frameworks
Copyright © 2010, Performance and Power Management for Cloud Infrastructures Hien Nguyen Van; Tran, F.D.; Menaud, J.-M. Cloud Computing (CLOUD),
Ensieea Rizwani An energy-efficient management mechanism for large-scale server clusters By: Zhenghua Xue, Dong, Ma, Fan, Mei 1.
SLA-driven Elastic Cloud Hosting Provider J. Oriol Fito, Inigo Goiri and Jordi Guitart Accepted in Proceedings of the th Euromicro Conference on.
Euro-Par, HASTE: An Adaptive Middleware for Supporting Time-Critical Event Handling in Distributed Environments ICAC 2008 Conference June 2 nd,
Jennifer Rexford Fall 2010 (TTh 1:30-2:50 in COS 302) COS 561: Advanced Computer Networks Energy.
Use your money elsewhere! HOW TO REDUCE TECHNOLOGY HARDWARE EXPENSES.
1 Automated Power Management Through Virtualization Anne Holler, VMware Anil Kapur, VMware.
GreenCloud: A Packet-level Simulator of Energy-aware Cloud Computing Data Centers Dzmitry Kliazovich, Pascal Bouvry, Yury Audzevich, and Samee Ullah Khan.
Measurement-based Design
Analyzing Security and Energy Tradeoffs in Autonomic Capacity Management Wei Wu.
ElasticTree Michael Fruchtman.
Adaptive Cloud Computing Based Services for Mobile Users
The University of Adelaide, School of Computer Science
A workload-aware energy model for VM migration
Presentation transcript:

Multifaceted Resource Management in Virtualized Providers Íñigo Goiri PhD Defense June 14th, 2011 Advisors: Jordi Guitart and Jordi Torres

Motivation Book Store Internet Companies offer their services over the Internet 2

Service Providers over the Internet Book Store Internet Number of users increases Provider requires more resourcesLoad increases 3

Service Providers over the Internet Book Store Internet Number of users decreases Provider requires fewer resources 4

Virtualization on Service Providers Book Store Internet Database Web Server Application Server Database Application Server Web Server Database Web Server DDBB Application Server WebServer Application Server DDBB WebServer Encapsulate tasks in Virtual Machines VM Load is unbalanced 5

Providing Virtual Machines Book Store Internet Virtualized Provider VM Virtualized Provider Virtualized Provider Provider offers its idle Infrastructure as a Service (IaaS) We can also offer applications encapsulated in VMs 6

Managing Virtualized Provider’s Resources Balanced load VMs get enough resources Energy consumption is high 7

Managing Virtualized Provider’s Resources Unbalanced load Some VMs don’t get enough resources Energy consumption is lower 8

Managing Virtualized Provider’s Resources Challenge Efficiently Manage Virtualized Provider’s Resources Maximize Provider’s Profit Every VM gets enough resources Energy consumption is lower 9

Contents Motivation Multifaceted Scheduling – Cost-Benefit Model – Scheduling Policy – Evaluation Multiprovider Scheduling – Capacity Planning – Scheduling – Evaluation Conclusion 10

Multifaceted Scheduling Cost-benefit model – Multiple facets to consider – Aggregate facets into costs – Consider impact of facets on other facets Scheduling policy – Maximize provider profit Evaluation 11

Multiple Facets to Consider 1.Service Level Agreement 2.Virtualization Management 3.Energy Consumption 4.Infrastructure Cost 12

1. Service Level Agreement Contract between user and provider User pays for resources – Pay as you go:SLARevenue(t(VM)) If the provider does not provide the QoS – SLA Penalty:SLAPenalty(VM) Virtualized Provider Virtualized Provider Revenue Penalties 13

1. Service Level Agreement Supported Applications Batch – Deadlines Example – HPC jobs Service – Uptime – Performance Example – Web Servers Task 1 Task 3 Time Task 2 Response Time 14

1. Service Level Agreement Resource Heterogeneity Xeon processor – High energy consumption – High performance Atom processor – Low energy consumption – Low performance Task A Task B Task C Task A Task B Task C 15

1. Service Level Agreement Estimate SLA Penalties – Actions may imply future violations – SLAPenalty’(Host, VM) Factors that might provoke violations – Runtime overhead – Slow host – High host utilization Other facets evaluate penalty estimations 16

Time 2. Virtualization Management Overhead to manage Virtual Machines – Start VMs – Migrate VMs between nodes Time 17

Off 2. Virtualization Management Overhead to manage Virtual Machines – Start VMs – Migrate VMs between nodes Time Off Migration 18

2. Virtualization Management Overhead implies – Extra time to the VM – Extra load to the Host It can imply SLA penalties – Violate deadline – No enough resources to provide performance Estimate SLA penalty for every action (Time, Load) → SLAPenalty’(Host, VM) → € 19

3. Energy Consumption Energy vs. SLA Low Consolidation – Consume a lot of energy – Fulfill SLA High Consolidation – Save energy – Violate SLA 20

3. Energy Consumption vs. SLA Batch Type Low Consolidation High Consolidation Off Time 21

3. Energy Consumption vs. SLA Service Type Low Consolidation High Consolidation Off Time 22

3. Energy Consumption Energy cost Wh → € SLA penalties Host Utilization→ SLAPenalty’(Host, VM) → € 23

4. Infrastructure Cost Provider owns infrastructure – Servers – Air conditioners – Racks… Capital Expense (CAPEX) Cost is amortized over time – Provider has already paid for the hardware €/Period 24

Multiple Facets to Consider Calculate profit of VM at Host 1.Service Level Agreement: SLARevenue(VM)+€ 2.Virtualization Management: Time:SLAPenalty’(VM)-€ Load:SLAPenalty’(VMs in Host) due to VM-€ 3.Energy Consumption: Energy consumed by VM at Host-€ SLA Penalty’(VMs in Host)-€ 4.Infrastructure Cost: Cost of Host running VM-€ TotalProfit€ 25

Scheduling Policy 26 Decide best VM placement Maximize provider profit – Hill Climbing (Greedy) When to schedule? – System changes – Periodically Model Virtualized Provider as a matrix – VM x Host cells – Each is profit of placing VM in Host – Use cost-benefit model

OFF Queue: Scheduling Policy A B C 27

Scheduling Policy 1.5€0.2€ -0.5€ 1.2€ -0.1€0.2€ 1.3€ 1.2€0.7€ -1.5€-∞ -0.5€ -0.3€ 0.1€0.3€ -0.7€0.2€ 1.5€0.2€ -0.5€ 1.2€ -0.1€0.7€ 0.2€ -0.2€0.7€ 1.2€ -∞ -0.5€ -0.3€ 0.1€0.3€ -0.7€0.2€ Calculate cost of allocating Every VM at every Host 1.5€0.2€ -0.5€ 1.2€ -0.1€0.2€ 1.3€ 1.2€0.7€ -1.5€ -∞ -0.5€ -0.3€ 0.1€0.3€ -0.7€0.2€ Recalculate cost of allocating Every VM at every Host Schedule VM in maximum Profit placement When cost is minimized Dispatch VMs A B C 28 After multiple iterations…

Scheduling Policy OFF Queue: A B C 29

Evaluation Multifaceted Scheduling One week heterogeneous workload – Batch: Grid5000 – Service: SPECWeb2005 SLA metrics – Batch: Deadline (Added +20% Base Runtime) – Service: Performance (Response Time) Provider with 65 nodes – Enough to satisfy workload peaks 30

1.Backfilling + Migration – Backfill VMs – Migrate to consolidate 2.Perfect SLA – Analytical (NP) – Perfect SLA fulfillment – Optimal energy consumption 3.Our proposal – Backfilling + Migration – Aggregate multiple facets – Uses cost-benefit model – Maximize profit OFF 1 2 Evaluation Scheduling Policies 3 OFF 4 4

Evaluation Energy consumptionSLA fulfillment 32 + ← Consolidation → -

Evaluation 33

Evaluation Power consumption over time 34

Multifaceted Scheduling Limitations 1.Service Level Agreement 2.Virtualization Management 3.Energy Consumption 4.Infrastructure Cost – Fixed costs 35

Contents Motivation Multifaceted Scheduling – Cost-Benefit Model – Scheduling Policy – Evaluation Multiprovider Scheduling – Capacity Planning – Scheduling – Evaluation Conclusion 36

Multiprovider Scheduling Outsourcing Infrastructure cost – Capital Expenses (CAPEX) Solution: CAPEX → OPEX External Provider 37

Multiprovider Scheduling Outsourcing Reduce provider infrastructure (CAPEX) Multifaceted Scheduling + Outsourcing – Add outsourcing cost (OPEX) – Slower VM creation – Limited VM management External Provider 38

Evaluation Outsourcing Add outsourcing to “Multifaceted Scheduling” Same environment – Reduce local resources: 65 → 20 → 0 nodes – 20 nodes is enough to provide the average External provider: EC2 US – €/hour – 5 minutes to start a VM 39

Evaluation Outsourcing 40

Multiprovider Scheduling Federation How many local resources? – Optimal number of resources – Change capacity planning How to schedule? – New actuators – New trade-offs Characterize provider profitability – Cost-benefit model 41

Federated Provider Model Multidimensional problem Evaluate provider profile – Provider capabilities – Expected workload – VM pricing Evaluate costs – CAPEX: Infrastructure – OPEX: Energy, Cooling,… 42

Multiprovider Scheduling Characterize federation Leverage federated provider model for: Phase 0. Capacity planning – Provider building and setup process – Decide optimal number of nodes Phase 1. Scheduling – Online process – Decide actions to take 43

Phase 0. Capacity Planning Load is variable over time If infrastructure costs are fixed – Underprovision:Cannot support peaks – Overprovision:Underutilized resources 44

Phase 0. Capacity Planning Underprovision Solution: Outsourcing Send peaks to other providers – Reduce provider infrastructure costs – Pay for using external resources External Provider 45

Phase 0. Capacity Planning Overprovision Solution: Insourcing Offer idle resources to other providers – Cheaper price – Enough resources to support peaks Offer to other Providers 46

Phase 1. Scheduling Analyze provider profitability – Decide best actions to perform New actuators to consider – Outsourcing – Insourcing Old actuators change – Turn on/off nodes vs. Insourcing 47

Evaluation Characterization Provider profitability (darker is better) – Offering 80% of the idle resources – Amazon EC2 pricing 48 No InsourcingInsourcing

Evaluation Phase 0. Capacity Planning ISP workload over a week Get optimal capacity – Leverage provider model – Revenue > Costs 49 Overprovision Undeprovision 100 nodes

Evaluation Phase 1. Scheduling 50

Evaluation Phase 1. Scheduling 51

Contents Motivation Multifaceted Scheduling – Cost-Benefit Model – Scheduling Policy – Evaluation Multiprovider Scheduling – Capacity Planning – Scheduling – Evaluation Conclusion 52

Conclusion Multifaceted Scheduling – Efficient Management of Virtualized Providers – Consider multiple facets – Handle effect of multiple facets – Every facet has a significant effect Multiprovider Scheduling – Add new actuators – New policies required – Tradeoff between Insourcing and Turn on/off 53

Future Work Support higher-level SLA metrics Energy efficient datacenter – Reduce PUE, free-cooling… – Energy-aware scheduling: Green availability – Efficient datacenter placement Multiprovider – Apply to real-world scenarios – Enhance provider fault tolerance 54

Summary Developed from a multi-level perspective: – Enhancing Virtualization Fabrics – Managing a Virtualized Host – Multifaceted Scheduling – Multiprovider Scheduling 55

Publications Enhancing Virtualization Fabrics – [NCA09] VM Creation. – [PDP09] VM Migration. – [NOMS10] VM Checkpointing. Managing a Virtualized Host – [CPE09] SLA-driven resource management. – [GECON10] SLA metric for Virtualized Environments. Multifaceted Scheduling – [Cluster10] [FGCS] Multifaceted Scheduling. Multiprovider Scheduling – [Grid10] Outsourcing into Multifaceted Scheduling. – [Cloud10] Characterizing Federation. 56

Multifaceted Resource Management on Virtualized Providers Íñigo Goiri Advisors: Jordi Guitart and Jordi Torres 57

Publications Enhancing Virtualization Fabrics [NCA09] Í. Goiri, F. Julià, J. Ejarque, M. De Palol, R. M. Badia, J. Guitart, and J. Torres. Introducing Virtual Execution Environments for Application Lifecycle Management and SLA-Driven Resource Distribution within Service Providers. Proceedings of the 8th IEEE International Symposium on Network Computing and Applications. [PDP09] Í. Goiri, F. Julià, and J. Guitart. Efficient Data Management Support for Virtualized Service Providers. Proceedings of the 17th Conference on Parallel, Distributed and Network-based Processing. [NOMS10] Í. Goiri, F. Julià, J. Guitart, and J. Torres. Checkpoint-based Fault- tolerant Infrastructure for Virtualized Service Providers. Proceedings of the 12th IEEE/IFIP Network Operations and Management Symposium. 58

Publications Managing a Virtualized Host [CPE09] J. Ejarque, M. de Palol, Í. Goiri, F. Julià, J. Guitart, R. Badia, and J. Torres. Exploiting semantics and virtualization for SLA-driven resource allocation in service providers. Concurrency and Computation: Practice and Experience, 22(5): pages 541–572, [GECON10] Í. Goiri, F. Julià, J. O. Fitó, M. Macías and J. Guitart. Resource-level QoS Metric for CPU-based Guarantees in Cloud Providers. In Proceedings of the 7th International Workshop on Economics of Grids, Clouds, Systems, and Services. 59

Publications Multifaceted Scheduling [Cluster10] Í. Goiri, F. Julià, R. Nou, J. Berral, J. Guitart, and J. Torres. Energy- aware Scheduling in Virtualized Datacenters. Proceedings of the 12th IEEE International Conference on Cluster Computing. [FGCS] Í. Goiri, J. Berral, J. O. Fitó, F. Julià, R. Nou, J. Guitart, R. Gavaldà and J. Torres. Energy-efficient and Multifaceted Resource Management for Profit-driven Virtualized Datacenters. Review process in Future Generation of Computer Systems. 60

Publications Multiprovider Scheduling [Grid10] Í. Goiri, J. O. Fitó, F. Julià, R. Nou, J. Berral, J. Guitart, and J. Torres. Multifaceted Resource Management for Dealing with Heterogeneous Workloads in Virtualized Datacenters. Proceedings of the 11th ACM/IEEE International Conference on Grid Computing. [Cloud10] Í. Goiri, J. Guitart, and J. Torres. Characterizing Cloud Federation for Enhancing Providers’ Profit. Proceedings of the 3rd International conference on Cloud Computing. 61

1. Service Level Agreement SLA Penalty [GECON10] – Low Violation → Low Penalties – High Violation → High Penalties 62

Scheduling Policy Algorithm 63 Model provider as a matrix – Host x VM Calculate best VM placement – Calculate profit for every VM and Host – Take most profitable action – If not converge, start again Perform actions – Create, migrate, cancel…

Cost-Benefit Model Aggregate Different Facets into Costs 1.Service Level Agreement: € 2.Virtualization Management: Virt → SLA →€ 3.Energy Consumption: Wh,SLA → € 4.Infrastructure Cost: € Final Profit of VM vm at Host h: 64

Evaluation Outsourcing 65