Modeling Virtualized Environments in Simalytic ® Models by Computing Missing Service Demand Parameters CMG2009 Paper 9103, December 11, 2009 Dr. Tim R.

Slides:



Advertisements
Similar presentations
Topics to be discussed Introduction Performance Factors Methodology Test Process Tools Conclusion Abu Bakr Siddiq.
Advertisements

Capacity Planning in a Virtual Environment
Design of Experiments Lecture I
Hadi Goudarzi and Massoud Pedram
Measuring and Modeling Hyper-threaded Processor Performance Ethan Bolker UMass-Boston September 17, 2003.
Virtualization in HPC Minesh Joshi CSC 469 Dr. Box Feb 1, 2012.
Stand Tall, and Carry a Precision Micrometer: Observations on Creating a Measurement Model for Virtual Machines David Boyes Sine Nomine Associates.
Proactive Prediction Models for Web Application Resource Provisioning in the Cloud _______________________________ Samuel A. Ajila & Bankole A. Akindele.
Efficient Autoscaling in the Cloud using Predictive Models for Workload Forecasting Roy, N., A. Dubey, and A. Gokhale 4th IEEE International Conference.
1 Virtual Machine Resource Monitoring and Networking of Virtual Machines Ananth I. Sundararaj Department of Computer Science Northwestern University July.
OS Fall ’ 02 Performance Evaluation Operating Systems Fall 2002.
Performance Evaluation
ENFORCING PERFORMANCE ISOLATION ACROSS VIRTUAL MACHINES IN XEN Diwaker Gupta, Ludmila Cherkasova, Rob Gardner, Amin Vahdat Middleware '06 Proceedings of.
Copyright © 1998 Wanda Kunkle Computer Organization 1 Chapter 2.1 Introduction.
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Virtualization in Data Centers Prashant Shenoy
Measuring Performance Chapter 12 CSE807. Performance Measurement To assist in guaranteeing Service Level Agreements For capacity planning For troubleshooting.
Accounting Management IACT 918 April 2005 Glenn Bewsell/Gene Awyzio SITACS University of Wollongong.
OS Fall ’ 02 Performance Evaluation Operating Systems Fall 2002.
Failure Avoidance through Fault Prediction Based on Synthetic Transactions Mohammed Shatnawi 1, 2 Matei Ripeanu 2 1 – Microsoft Online Ads, Microsoft Corporation.
By- Jaideep Moses, Ravi Iyer , Ramesh Illikkal and
LAN/WAN Optimization Techniques. Agenda Current Traffic Current Traffic Equipment Inventory and Forecasted Growth Equipment Inventory and Forecasted Growth.
Virtualization for Cloud Computing
CSE598C Virtual Machines and Their Applications Operating System Support for Virtual Machines Coauthored by Samuel T. King, George W. Dunlap and Peter.
Introduction to Virtual Machines. Administration Presentation and class participation: 40% –Each student will present two and a half times this semester.
Measuring zSeries System Performance Dr. Chu J. Jong School of Information Technology Illinois State University 06/11/2012 Sponsored in part by Deer &
Mike Neil General Manager Microsoft Corporation. “Longhorn” RTM Virtualization “Viridian” RTM.
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Black-box and Gray-box Strategies for Virtual Machine Migration Timothy Wood, Prashant.
Virtualization Technology Prof D M Dhamdhere CSE Department IIT Bombay Moving towards Virtualization… Department of Computer Science and Engineering, IIT.
Ekrem Kocaguneli 11/29/2010. Introduction CLISSPE and its background Application to be Modeled Steps of the Model Assessment of Performance Interpretation.
University of Maryland Automatically Adapting Sampling Rates to Minimize Overhead Geoff Stoker.
How to Resolve Bottlenecks and Optimize your Virtual Environment Chris Chesley, Sr. Systems Engineer
Chapter 1 Introduction to Simulation
ECE 720T5 Winter 2014 Cyber-Physical Systems Rodolfo Pellizzoni.
Virtual Machine Course Rofideh Hadighi University of Science and Technology of Mazandaran, 31 Dec 2009.
Modeling and Performance Evaluation of Network and Computer Systems Introduction (Chapters 1 and 2) 10/4/2015H.Malekinezhad1.
M.A.Doman Short video intro Model for enabling the delivery of computing as a SERVICE.
Improving Network I/O Virtualization for Cloud Computing.
Uncovering the Multicore Processor Bottlenecks Server Design Summit Shay Gal-On Director of Technology, EEMBC.
1 Performance Evaluation of Computer Systems and Networks Introduction, Outlines, Class Policy Instructor: A. Ghasemi Many thanks to Dr. Behzad Akbari.
An Intro to AIX Virtualization Philadelphia CMG September 14, 2007 Mark Vitale.
Chapter 3 System Performance and Models. 2 Systems and Models The concept of modeling in the study of the dynamic behavior of simple system is be able.
Challenges towards Elastic Power Management in Internet Data Center.
© 2006 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Profiling and Modeling Resource Usage.
Session objectives Discuss whether or not virtualization makes sense for Exchange 2013 Describe supportability of virtualization features Explain sizing.
Our work on virtualization Chen Haogang, Wang Xiaolin {hchen, Institute of Network and Information Systems School of Electrical Engineering.
ICOM 6115: Computer Systems Performance Measurement and Evaluation August 11, 2006.
Performance evaluation of component-based software systems Seminar of Component Engineering course Rofideh hadighi 7 Jan 2010.
Server Virtualization
Job scheduling algorithm based on Berger model in cloud environment Advances in Engineering Software (2011) Baomin Xu,Chunyan Zhao,Enzhao Hua,Bin Hu 2013/1/251.
 Virtual machine systems: simulators for multiple copies of a machine on itself.  Virtual machine (VM): the simulated machine.  Virtual machine monitor.
A dynamic optimization model for power and performance management of virtualized clusters Vinicius Petrucci, Orlando Loques Univ. Federal Fluminense Niteroi,
OPERATING SYSTEMS CS 3530 Summer 2014 Systems with Multi-programming Chapter 4.
Embedded System Lab. 정범종 A_DRM: Architecture-aware Distributed Resource Management of Virtualized Clusters H. Wang et al. VEE, 2015.
Ó 1998 Menascé & Almeida. All Rights Reserved.1 Part V Workload Characterization for the Web.
CSCI1600: Embedded and Real Time Software Lecture 19: Queuing Theory Steven Reiss, Fall 2015.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
Virtualization One computer can do the job of multiple computers, by sharing the resources of a single computer across multiple environments. Turning hardware.
1 Exploiting Nonstationarity for Performance Prediction Christopher Stewart (University of Rochester) Terence Kelly and Alex Zhang (HP Labs)
© 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Understanding Virtualization Overhead.
Simulation. Types of simulation Discrete-event simulation – Used for modeling of a system as it evolves over time by a representation in which the state.
Capacity Planning in a Virtual Environment Chris Chesley, Sr. Systems Engineer
If you have a transaction processing system, John Meisenbacher
Unit 2 VIRTUALISATION. Unit 2 - Syllabus Basics of Virtualization Types of Virtualization Implementation Levels of Virtualization Virtualization Structures.
Introduction to Performance Tuning Chia-heng Tu PAS Lab Summer Workshop 2009 June 30,
1 Automated Power Management Through Virtualization Anne Holler, VMware Anil Kapur, VMware.
OPERATING SYSTEMS CS 3502 Fall 2017
Is Virtualization ready for End-to-End Application Performance?
OPERATING SYSTEMS CS 3502 Fall 2017
Architecture & System Performance
Architecture & System Performance
Presentation transcript:

Modeling Virtualized Environments in Simalytic ® Models by Computing Missing Service Demand Parameters CMG2009 Paper 9103, December 11, 2009 Dr. Tim R. Norton Simalytic Solutions, LLC © 2009 Simalytic Solutions, LLC

OR Using Virtual Data to Model Virtual Systems © 2009 Simalytic Solutions, LLC

Modeling Virtualized Environments by Computing Missing Service Demand Parameters CMG Paper 9103, December 11, Agenda u Introduction  Capacity Planning and Virtualization u The Problem  Missing Measurements in Virtualization Guests u A Proposed Solution  Computing Missing Service Demand Parameters u Conclusion Simalytic ® is a registered trademark and registered service mark of Simalytic Solutions, LLC. Simalytic Modeling TM and Simalytic Function TM are trademarks of Simalytic Solutions, LLC. All other trademarked names and terms are the property of their respective owners.

© 2009 Simalytic Solutions, LLCModeling Virtualized Environments by Computing Missing Service Demand Parameters CMG Paper 9103, December 11, Introduction u Capacity Planning  Capacity is Measured by Business Performance Objectives Making decisions about resource requirements  What do we have to buy and when do we have to buy it to make sure that the business applications perform at the level required to insure the business succeeds?

© 2009 Simalytic Solutions, LLCModeling Virtualized Environments by Computing Missing Service Demand Parameters CMG Paper 9103, December 11, Introduction u Capacity Planning  Two key aspects: Demand for available resources l What do we have to buy Effective completion of business work l When to buy it?  Requires some predictive technique Usually some form of model l Simple: trend or other statistical techniques l Advanced: simulation or queuing network

© 2009 Simalytic Solutions, LLCModeling Virtualized Environments by Computing Missing Service Demand Parameters CMG Paper 9103, December 11, Introduction u Virtualization  Increasing parallelization within the host system Increase productive business-related work Increase the usage of resources  Virtualized environment control program Hypervisor l Usually implies a hardware implementation VMM (Virtual Machine Monitor) l VMM often implies a software implementation t Will use VMM for all virtualization control programs

© 2009 Simalytic Solutions, LLCModeling Virtualized Environments by Computing Missing Service Demand Parameters CMG Paper 9103, December 11, Virtualization Model VM1VM2VM3 VM4VM5VM6 Server 1 Server 2 Shared processors Shared disks

© 2009 Simalytic Solutions, LLCModeling Virtualized Environments by Computing Missing Service Demand Parameters CMG Paper 9103, December 11, Introduction u Virtualization  From:  To: Sys-ASys-BSys-C Sys-ASys-BSys-C Good system level and process level measurements Only system level measurements

© 2009 Simalytic Solutions, LLCModeling Virtualized Environments by Computing Missing Service Demand Parameters CMG Paper 9103, December 11, The Problem u Measurements in Virtualization Environments  Guest Operating Systems Most not Virtualization aware l Incorrect accounting for time when guest VM not active t Rate based measurements incorrect t Count based measurements valid  Hypervisor Accurately measures Guest VM active time l Cannot measure processes within the Guest O/S  Affects measurements needed for models VM System Level Service Times good Process Level Service Times incorrect

© 2009 Simalytic Solutions, LLCModeling Virtualized Environments by Computing Missing Service Demand Parameters CMG Paper 9103, December 11, Capacity Models u What Virtualization does to Models  Reduces accuracy – Measurement issues: System clock Accounting for dispatch time of other VMs Interrupts – delays and re-driven to VM VM vs. process priority Delays – where are they accounted for Virtualization overhead l VMM (Virtual Machine Monitor) and VM context switch Interference from other VMs  Complicates Workload Characterization Shared resources

© 2009 Simalytic Solutions, LLCModeling Virtualized Environments by Computing Missing Service Demand Parameters CMG Paper 9103, December 11, Where’s the Data u If It’s Not There…  It’s missing! u If It’s Wrong…  It’s missing! u If You Can’t Trust It…  It’s missing!

© 2009 Simalytic Solutions, LLCModeling Virtualized Environments by Computing Missing Service Demand Parameters CMG Paper 9103, December 11, A Proposed Solution u Use known good measurements  VM utilization from the VMM (Virtual Machine Monitor)  Transaction arrivals from application measurements  Transaction response times from application measurements u Use a Simalytic Model Builds relationships Iterative design Leverages existing tools

© 2009 Simalytic Solutions, LLCModeling Virtualized Environments by Computing Missing Service Demand Parameters CMG Paper 9103, December 11, Virtualization Metrics CPU OS1 CPU1 OS2OS3 APP1APP2APP3APP4APP5APP6 VM1VM2 VM3 MemoryDisk Hardware Platform Hypervisor Disk1 CPU2Disk2CPU3Disk3 VMM (Known Good) Measurements VM – Guest O/S Measurements Needed to model applications

© 2009 Simalytic Solutions, LLCModeling Virtualized Environments by Computing Missing Service Demand Parameters CMG Paper 9103, December 11, Model Requirements u Application Transaction Arrivals  Count of transactions over many intervals u Application Response Times  Always needed for validation of model results Now needed for Solver calculations u Service Demand  Menascé technique to compute class service demand from total service demand VMM measurements used to compute VM level measurements that guest O/S cannot provide

© 2009 Simalytic Solutions, LLCModeling Virtualized Environments by Computing Missing Service Demand Parameters CMG Paper 9103, December 11, Implementation Approach u Collect Measurement Data  Application – counts and response times  VMM resource usage u Compute Service Demand by Application  Validate against measured response times u Build Model of Overall Virtualization Environment  Using a Simalytic Model to express the relationships between applications

© 2009 Simalytic Solutions, LLCModeling Virtualized Environments by Computing Missing Service Demand Parameters CMG Paper 9103, December 11, Implementation u Measurements  Collect measurements From the applications l Actual response times l Actual transaction counts From the VMM l Total utilization for each resource (CPU, disks, etc.)  Multiple intervals Measurements are needed for many intervals l Variety is important! – but avoid problem areas like low utilization effect t Low to high counts for each application t Low to high resource utilization

© 2009 Simalytic Solutions, LLCModeling Virtualized Environments by Computing Missing Service Demand Parameters CMG Paper 9103, December 11, Implementation u Compute Service Demand  Use collected measurements to construct multiple Open Multiclass QN formulae Each uses the transaction response time and count for each class (application) along with the total service demand for each resource (CPU, disks, etc.) for one measurement interval.  Solve the non-linear constraint problem Computing Missing Service Demand Parameters for Performance Models. Danny Menascé, CMG Can be done with Microsoft Excel Solver

© 2009 Simalytic Solutions, LLCModeling Virtualized Environments by Computing Missing Service Demand Parameters CMG Paper 9103, December 11, Implementation u Model Beyond What was Measured  Measurement data provides historical view Many intervals available l But at lower than expected future traffic volume  Model results provide future view Answer the classic questions: l When does response time become unacceptable? l What resource saturates first?  The following example takes this approach Measure system and applications at lower volumes Predict behavior at higher volumes l Different than example in the paper

© 2009 Simalytic Solutions, LLCModeling Virtualized Environments by Computing Missing Service Demand Parameters CMG Paper 9103, December 11, Excel Solver Spreadsheet u Solves Multiple Equations  Initial Guess and Solver Results  Known Good Measurements  “Actual” measurements  Computed measurements  Validation Example spreadsheet is available at

© 2009 Simalytic Solutions, LLCModeling Virtualized Environments by Computing Missing Service Demand Parameters CMG Paper 9103, December 11, Using Excel Solver u Solver Results – Example Spreadsheets  Start with initial guess Same for both classes – calculated from VMM resource measurements divided sum of trans in both classes.  Computes values for both classes non-linear constraints  Actual Service Demand Data Not real measurements l Validate approach l Generate data for testing

© 2009 Simalytic Solutions, LLCModeling Virtualized Environments by Computing Missing Service Demand Parameters CMG Paper 9103, December 11, Using Excel Solver u “Actual” Service Demand Values  Used at low transaction volume to create known good response times and device utilizations Used for Solver goals Simulates actual known good measurements l M/M/1 formulae

© 2009 Simalytic Solutions, LLCModeling Virtualized Environments by Computing Missing Service Demand Parameters CMG Paper 9103, December 11, Using Excel Solver u “Actual” Service Demand Values  Used at high transaction volume to create “actual” (projected) response times and device utilizations Predicts results at higher arrival rates Simulates future actual measurements to validate Solver results

© 2009 Simalytic Solutions, LLCModeling Virtualized Environments by Computing Missing Service Demand Parameters CMG Paper 9103, December 11, Using Excel Solver u Computed Service Demand Values  Used to create “computed” response times and device utilizations Solver results Validated against “projected” values

© 2009 Simalytic Solutions, LLCModeling Virtualized Environments by Computing Missing Service Demand Parameters CMG Paper 9103, December 11, Using Excel Solver u Solver Answer Report  Shows details behind solution

© 2009 Simalytic Solutions, LLCModeling Virtualized Environments by Computing Missing Service Demand Parameters CMG Paper 9103, December 11, Application Performance u Two groups of measurements  “Actuals” are data used to create the models  “Projections” are data used as post-model measurements  Each class (application) shows response time increase as utilizations go up

© 2009 Simalytic Solutions, LLCModeling Virtualized Environments by Computing Missing Service Demand Parameters CMG Paper 9103, December 11, Application Prediction u How Well do Computed Results Match  Actual Measurements  Results using Computed Service Demands  Some difference but same trend

© 2009 Simalytic Solutions, LLCModeling Virtualized Environments by Computing Missing Service Demand Parameters CMG Paper 9103, December 11, Usage u How Can Computed Service Demands be Used?  Stand-alone models Same as measured service demands l Adjustments may be needed for VMM overhead and other interference – similar to other model calibrations  Simalytic Models Enhanced Simalytic Function for multi-tier models l Dynamic calculations to t simulate complex usage patterns t account for effects of spikes in other workloads

© 2009 Simalytic Solutions, LLCModeling Virtualized Environments by Computing Missing Service Demand Parameters CMG Paper 9103, December 11, Conclusion u Future Work  Explore criteria around measurement collection How many intervals needed for minimal effectiveness What improves accuracy  Incorporate solver into modeling tool Possibly as enhanced Simalytic Function

© 2009 Simalytic Solutions, LLCModeling Virtualized Environments by Computing Missing Service Demand Parameters CMG Paper 9103, December 11, Conclusion u Valid Approach  Works with synthetic test data Some differences l between projected and computed results But trends usable for planning  Refinement needed account for VMM overhead  Model virtual systems with virtual data

© 2009 Simalytic Solutions, LLCModeling Virtualized Environments by Computing Missing Service Demand Parameters CMG Paper 9103, December 11, Missing Data Doesn’t Stop a Real Modeler! Presentation and spreadsheet will be available at: