Adaptive Control of Virtualized Resources in Utility Computing Environments HP Labs: Xiaoyun Zhu, Mustafa Uysal, Zhikui Wang, Sharad Singhal University.

Slides:



Advertisements
Similar presentations
Capacity Planning for LAMP Architectures John Allspaw Manager, Operations Flickr.com Web Builder 2.0 Las Vegas.
Advertisements

Performance Testing - Kanwalpreet Singh.
Hadi Goudarzi and Massoud Pedram
Achieving Elasticity for Cloud MapReduce Jobs Khaled Salah IEEE CloudNet 2013 – San Francisco November 13, 2013.
SLA-Oriented Resource Provisioning for Cloud Computing
DEXA 2005 Control-based Quality Adaptation in Data Stream Management Systems (DSMS) Yicheng Tu†, Mohamed Hefeeda‡, Yuni Xia†, Sunil Prabhakar†, and Song.
Enabling High-level SLOs on Shared Storage Andrew Wang, Shivaram Venkataraman, Sara Alspaugh, Randy Katz, Ion Stoica Cake 1.
Memory-efficient Virtual Machine High Availability Karen Kai-Yuan Hou Prof. Kang G. Shin University of Michigan Mustafa Uysal (VMware) Arif Merchant (HP.
CloudScale: Elastic Resource Scaling for Multi-Tenant Cloud Systems Zhiming Shen, Sethuraman Subbiah, Xiaohui Gu, John Wilkes.
U NIVERSITY OF M ASSACHUSETTS, A MHERST – Department of Computer Science Dynamic Provisioning for Multi-tier Internet Applications Bhuvan Urgaonkar, Prashant.
Efficient Autoscaling in the Cloud using Predictive Models for Workload Forecasting Roy, N., A. Dubey, and A. Gokhale 4th IEEE International Conference.
Virtualizing Mission-Critical Apps 1PM EST, 3/29/2011 Ilya Mirman Philip Thomas.
Handling Web Hotspots at Dynamic Content Web Sites Using DotSlash Weibin Zhao Henning Schulzrinne Columbia University NYMAN’04.
Fair Scheduling in Web Servers CS 213 Lecture 17 L.N. Bhuyan.
Microsoft Virtual Server 2005 Product Overview Mikael Nyström – TrueSec AB MVP Windows Server – Setup/Deployment Mikael Nyström – TrueSec AB MVP Windows.
1 Introduction to Load Balancing: l Definition of Distributed systems. Collection of independent loosely coupled computing resources. l Load Balancing.
Energy Efficient Web Server Cluster Andrew Krioukov, Sara Alspaugh, Laura Keys, David Culler, Randy Katz.
Adaptive Content Delivery for Scalable Web Servers Authors: Rahul Pradhan and Mark Claypool Presented by: David Finkel Computer Science Department Worcester.
Yaksha: A Self-Tuning Controller for Managing the Performance of 3-Tiered Web Sites Abhinav Kamra, Vishal Misra CS Department Columbia University Erich.
© 2008 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Automated Workload Management in.
Virtualization for Cloud Computing
Scalable Server Load Balancing Inside Data Centers Dana Butnariu Princeton University Computer Science Department July – September 2010 Joint work with.
Adaptive Server Farms for the Data Center Contact: Ron Sheen Fujitsu Siemens Computers, Inc Sever Blade Summit, Getting the.
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Black-box and Gray-box Strategies for Virtual Machine Migration Timothy Wood, Prashant.
Generating Adaptation Policies for Multi-Tier Applications in Consolidated Server Environments College of Computing Georgia Institute of Technology Gueyoung.
Report : Zhen Ming Wu 2008 IEEE 9th Grid Computing Conference.
Naixue GSU Slide 1 ICVCI’09 Oct. 22, 2009 A Multi-Cloud Computing Scheme for Sharing Computing Resources to Satisfy Local Cloud User Requirements.
Dynamic and Decentralized Approaches for Optimal Allocation of Multiple Resources in Virtualized Data Centers Wei Chen, Samuel Hargrove, Heh Miao, Liang.
Automated Control of Multiple Virtualized Resources
OPTIMAL SERVER PROVISIONING AND FREQUENCY ADJUSTMENT IN SERVER CLUSTERS Presented by: Xinying Zheng 09/13/ XINYING ZHENG, YU CAI MICHIGAN TECHNOLOGICAL.
Click to add text TWA Cloud Integration with Tivoli Service Automation Manager TWS Education.
1 A Feedback Control Architecture and Design Methodology for Service Delay Guarantees in Web Servers Presentation by Amitayu Das.
Profile Driven Component Placement for Cluster-based Online Services Christopher Stewart (University of Rochester) Kai Shen (University of Rochester) Sandhya.
Power and Performance Modeling in a Virtualized Server System M. Pedram and I. Hwang Department of Electrical Engineering Univ. of Southern California.
An Autonomic Framework in Cloud Environment Jiedan Zhu Advisor: Prof. Gagan Agrawal.
Virtualization for Adaptability Project Presentation CS848 Fall 2006 Umar Farooq Minhas 29 Nov 2006 David R. Cheriton School of Computer Science University.
Budget-based Control for Interactive Services with Partial Execution 1 Yuxiong He, Zihao Ye, Qiang Fu, Sameh Elnikety Microsoft Research.
Quality of Service Karrie Karahalios Spring 2007.
1 Xen and Co.: Communication-aware CPU Scheduling for Consolidated Xen-based Hosting Platforms Sriram Govindan, Arjun R Nath, Amitayu Das, Bhuvan Urgaonkar,
Dynamic Resource Monitoring and Allocation in a virtualized environment.
Swapping to Remote Memory over InfiniBand: An Approach using a High Performance Network Block Device Shuang LiangRanjit NoronhaDhabaleswar K. Panda IEEE.
Applying Control Theory to the Caches of Multiprocessors Department of EECS University of Tennessee, Knoxville Kai Ma.
Automated Control in Cloud Computing: Challenges and Opportunities Harold C. Lim, Shivnath Babu, Jeffrey S. Chase, and Sujay S. Parekh ACM’s First Workshop.
Managing the Performance Impact of Administrative Utilities Paper by S. Parekh,K. Rose, J.Hellerstein, S. Lightstone, M.Huras, and V. Chang Presentation.
Towards Dynamic Green-Sizing for Database Servers Mustafa Korkmaz, Alexey Karyakin, Martin Karsten, Kenneth Salem University of Waterloo.
Providing Differentiated Levels of Service in Web Content Hosting Jussara Almeida, etc... First Workshop on Internet Server Performance, 1998 Computer.
Design and Evaluation of a Model for Multi-tiered Internet Applications Bhuvan Urgaonkar Internship project talk – Services Management Middleware Dept,
1 Admission Control and Request Scheduling in E-Commerce Web Sites Sameh Elnikety, EPFL Erich Nahum, IBM Watson John Tracey, IBM Watson Willy Zwaenepoel,
© 2006 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Injecting Realistic Burstiness to.
Embedded System Lab. 정범종 A_DRM: Architecture-aware Distributed Resource Management of Virtualized Clusters H. Wang et al. VEE, 2015.
Authors: Mianyu Wang, Nagarajan Kandasamy, Allon Guez, and Moshe Kam Proceedings of the 3 rd International Conference on Autonomic Computing, ICAC 2006,
Resources Management and Component Placement Presenter:Bo Sheng.
Present by Sheng Cai Coordinating Power Control and Performance Management for Virtualized Server Clusters.
DynamicMR: A Dynamic Slot Allocation Optimization Framework for MapReduce Clusters Nanyang Technological University Shanjiang Tang, Bu-Sung Lee, Bingsheng.
Managing Web Server Performance with AutoTune Agents by Y. Diao, J. L. Hellerstein, S. Parekh, J. P. Bigus Presented by Changha Lee.
Technical Reading Report Virtual Power: Coordinated Power Management in Virtualized Enterprise Environment Paper by: Ripal Nathuji & Karsten Schwan from.
VM vs Container Xen, KVM, VMware, etc. Hardware emulation / paravirtualization Can run different OSs on the same box Dozens of instances OS sprawl problem.
EuroSys Doctoral Workshop 2011 Resource Provisioning of Web Applications in Heterogeneous Cloud Jiang Dejun Supervisor: Guillaume Pierre
Capacity Planning in a Virtual Environment Chris Chesley, Sr. Systems Engineer
Architecture for Resource Allocation Services Supporting Interactive Remote Desktop Sessions in Utility Grids Vanish Talwar, HP Labs Bikash Agarwalla,
U N C L A S S I F I E D LA-UR Leveraging VMware to implement Disaster Recovery at LANL Anil Karmel Technical Staff Member
Containers vs Others Xen, VMware, etc. ● Emulation/paravirtualization ● Can run different OSs on the same box ● Lower density/scalability ● OS sprawl problem.
Abhinav Kamra, Vishal Misra CS Department Columbia University
Introduction to Load Balancing:
Comparison of the Three CPU Schedulers in Xen
Microsoft Virtual Academy
Smita Vijayakumar Qian Zhu Gagan Agrawal
Admission Control and Request Scheduling in E-Commerce Web Sites
Performance And Scalability In Oracle9i And SQL Server 2000
Presentation transcript:

Adaptive Control of Virtualized Resources in Utility Computing Environments HP Labs: Xiaoyun Zhu, Mustafa Uysal, Zhikui Wang, Sharad Singhal University of Waterloo: Kenneth Salem Pradeep Padala, Kang G. Shin University of Michigan

2 A typical scenario in data centers Customer A Shared Data Center Run auction siteRun news site Customer B Requirements Response time < 2s Throughput > 100 rq/sec Pay 100$ Requirements Response time < 5s Throughput > 50 rq/sec Pay 50$

3 Hosting applications Data Center server Linux Web server Linux Database server Linux Common idiom: One-to-one mapping of applications to nodes

4 Problem: Poor utilization Wasted Resources Ad-hoc resource allocation schemes waste resources

5 Solution: Virtual data center Consolidate server Linux Web server Linux Database server Linux Virtualization ( Xen, OpenVZ, VMware ) server Linux Web server Linux Database server Linux Improved utilization using consolidation

6 Problem: Provisioning Average Peak Wasted ResourcesBursty LoadBad response time Provisioning for dynamic workloads is hard! Solution: Adaptive controller

7 Goals Good utilization Good performance QoS differentiation Average CPU utilization = 80% Average response time = 100ms Gold vs. Silver customers 2:1 resources

8 Outline Motivation Background Modeling Design Evaluation Conclusion

9 How do we provision the customers ? Virtualized Server IVirtualized Server II VM IVM IIVM IIIVM IV Web Server I DB Server I Web Server II DB Server II Auction Client News Client Customer A Customer B

10 What are we controlling ? Xen scheduler VM I VM II Controller CPU Usage ? Goals Good performance Good utilization QoS differentiation Goals met ? NO Virtualized Server Mechanism Policy 50% 80% 20% Set CPU shares

11 Related work Existing research –Cluster management –Load balancing –Resource allocation & scheduling –QoS differentiation Our contribution: Adaptive resource control –Quantitative model of system behavior –Fine-grained, adaptive control No wastage of resources High throughput, low response time QoS differentiation

12 How do we design an adaptive resource controller? Model Design Experiment Evaluate Understand system variables Input Output Design controller PI, PID, I controller … Stress the controller Goals met ? A control theoretic approach to systems

13 Outline Motivation Background Modeling Design Evaluation Conclusion

14 QoS differentiation Modeling a virtual data center VM Shares Workload Virtualized Server IVirtualized Server II Web server I DB server I Web server II DB server II How to differentiate between two multi-tiered systems ? VM utilization Response time Throughput

15 Modeling two multi-tiered systems QoS metric Linear Response time ratio is more controllable than loss ratio Non-Linear

16 Outline Motivation Background Modeling Design Evaluation Conclusion

17 Utilization controller: an example Solution: Self-tuning integral controller Set to 40% Using 20% Controller Utilization 20/40*100 = 50% Utilization goal = 80% Set to 25% New Utilization 20/25*100 = 80% Problems –Utilization is variable –Delays and errors in sensing & setting –Stability concerns VM

18 Adjusts to varying demand Maintains goal utilization Knobs to control aggression (Kp) Proven stable [Wang DSOM’05] Utilization controller System Utilization goal Self-tuning controller - Workload Error in utilization e(k-1) Measured utilization u(k-1) CPU allocation u(k)

19 Let there be controllers Container consumptions Problem: All controllers independent Want 40% Want 70% 110% Can’t fit (Saturation) Solution: Arbiter controller enforcing QoS differentiation UtilControl for WS I Virtualized Server I UtilControl for WS II UtilControl for DB I Virtualized Server II UtilControl for DB II

20 Final controller Arbiter Controller Requested CPU shares Desired response time ratio Final CPU shares UtilControl for WS I Virtualized Server I UtilControl for WS II UtilControl for DB I Virtualized Server II UtilControl for DB II Container consumptions

21 Outline Motivation Background Modeling Design Evaluation Conclusion

22 Evaluation Multi-tiered systems –2 HP Proliant servers –Apache + MySQL –Xen 3.0 with SEDF scheduler Clients –RUBiS: auction client –2 RUBiS clients: 500 … 1000 threads Can we maintain 70% QoS ratio ?

23 Varying load - throughput 500 threads 1000 threads

24 Saturation Web I share Web II share Saturation Varying load - control Buffer to maintain good performance Penalized to maintain QoS ratio Saturation

25 Varying load – QoS ratio Goal Goal ratio of 70% maintained!

26 Conclusion Adaptive control of virtual data center –Good application performance High throughput Low response time –Good utilization Maintain goal CPU utilization –QoS differentiation Maintain goal QoS ratio Project page : DynamicControl DynamicControl Questions ?

27 Backup and old slides

28 Enterprise data centers Large data centers –100s/1000s of nodes –Shared infrastructure –Run critical applications –Should meet service levels Problems –Power costs –Management costs –Poor utilization –Unmet service levels

29 Solution: Consolidate !

30 Virtualized Server IIVirtualized Server I Customer B Hosting two multi-tiered systems Web Server I Web Server II DB Server I DB Server II Customer A Auction Client News Client Web Server I Web Server II DB Server I DB Server II

31 Varying load Time Workload II Workload I 500 clients 1000 clients

32 Saturation Web I share

33 Web II share Saturation

34 Modeling results - throughput Dom0 effect Saturation causes Real throughput < Offered throughput Web shareThroughput

35 Arbiter controller features Is an integral controller Decides final shares based on QoS differentiation goals Integral gain: knobs for aggression Stable – gain value based on model

36 Modeling a multi-tiered system Workload Web share DB share Web usage DB usage QoS metrics Stress the system in various scenarios Observe all variables Web server DB server Virtual Server

37 Modeling results – response time Dom0 effect Web shareResponse time

38 Questions ?