1Adapted from Menascé & Almeida. Capacity Planning Methodology.

Slides:



Advertisements
Similar presentations
Tales from the Lab: Experiences and Methodology Demand Technology User Group December 5, 2005 Ellen Friedman SRM Associates, Ltd.
Advertisements

1 Sizing the Streaming Media Cluster Solution for a Given Workload Lucy Cherkasova and Wenting Tang HPLabs.
Chapter 13 Network Design and Management
Adapted from Menascé & Almeida.1 Workload Characterization for the Web.
Capacity Planning and Predicting Growth for Vista Amy Edwards, Ezra Freeloe and George Hernandez University System of Georgia 2007.
Ó 1998 Menascé & Almeida. All Rights Reserved.1 Part IV Capacity Planning Methodology.
Lect5.ppt - 10/13/04 CIS 4100 Systems Performance and Evaluation Lecture 7 by Zornitza Genova Prodanoff.
Performance Engineering Methodology Chapter 4. Performance Engineering Performance engineering analyzes the expected performance characteristics of a.
Adapted from Menascé & Almeida1 Web and Intranet Performance Issues.
1 Part IV Capacity Planning Methodology © 1998 Menascé & Almeida. All Rights Reserved.
  Copyright 2003 by SPAN Technologies. Performance Assessments of Internet Systems By Kishore G. Kamath SPAN Technologies Testing solutions for the enterprise.
1 Part II Web Performance Modeling: basic concepts © 1998 Menascé & Almeida. All Rights Reserved.
Web Server Hardware and Software
CS CS 5150 Software Engineering Lecture 19 Performance.
Reliability Week 11 - Lecture 2. What do we mean by reliability? Correctness – system/application does what it has to do correctly. Availability – Be.
CSE 190: Internet E-Commerce Lecture 16: Performance.
Requirements Capture and Specification IACT424/924 Corporate Network Design and Implementation.
Chapter 6: Database Evolution Title: AutoAdmin “What-if” Index Analysis Utility Authors: Surajit Chaudhuri, Vivek Narasayya ACM SIGMOD 1998.
INTERNET DATABASE. Internet and E-commerce Internet – a worldwide collection of interconnected computer network Internet – a worldwide collection of interconnected.
1 PERFORMANCE EVALUATION H Often in Computer Science you need to: – demonstrate that a new concept, technique, or algorithm is feasible –demonstrate that.
Measuring Performance Chapter 12 CSE807. Performance Measurement To assist in guaranteeing Service Level Agreements For capacity planning For troubleshooting.
1 CS 501 Spring 2005 CS 501: Software Engineering Lecture 22 Performance of Computer Systems.
1Adapted from Menascé & Almeida. Capacity Planning Methodology.
The Architecture of Transaction Processing Systems
Chapter 9: Moving to Design
Capacity planning for web sites. Promoting a web site Thoughts on increasing web site traffic but… Two possible scenarios…
1 Part VI System-level Performance Models for the Web © 1998 Menascé & Almeida. All Rights Reserved.
Computer Systems Performance Evaluation CSCI 8710 Kraemer Fall 2008.
Using Standard Industry Benchmarks Chapter 7 CSE807.
Computer System Lifecycle Chapter 1. Introduction Computer System users, administrators, and designers are all interested in performance evaluation. Whether.
Ekrem Kocaguneli 11/29/2010. Introduction CLISSPE and its background Application to be Modeled Steps of the Model Assessment of Performance Interpretation.
Chapter 9 Elements of Systems Design
1 NETE4631 Managing the Cloud and Capacity Planning Lecture Notes #8.
Ó 1998 Menascé & Almeida. All Rights Reserved.1 Part III Web and Intranet Performance Issues.
1 An SLA-Oriented Capacity Planning Tool for Streaming Media Services Lucy Cherkasova, Wenting Tang, and Sharad Singhal HPLabs,USA.
Hands-on Networking Fundamentals
CS480 Computer Science Seminar Introduction to Microsoft Solutions Framework (MSF)
1 Performance Evaluation of Computer Systems and Networks Introduction, Outlines, Class Policy Instructor: A. Ghasemi Many thanks to Dr. Behzad Akbari.
Software Performance Testing Based on Workload Characterization Elaine Weyuker Alberto Avritzer Joe Kondek Danielle Liu AT&T Labs.
1 Network Monitoring Mi-Jung Choi Dept. of Computer Science KNU
© 1995 Daniel A. Menascé Capacity Planning in Client/Server Environments Daniel A. Menascé George Mason University Fairfax, VA 22030
IBM Global Services © Copyright IBM Corporation 2005 International Business Machines ITIL Capacity Management Deep Dive Chris Molloy IBM Distinguished.
1 Challenges in Scaling E-Business Sites  Menascé and Almeida. All Rights Reserved. Daniel A. Menascé Department of Computer Science George Mason.
4 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved. Computer Software Chapter 4.
Ó 1998 Menascé & Almeida. All Rights Reserved.1 Part V Workload Characterization for the Web (Book, chap. 6)
Business Data Communications, Fourth Edition Chapter 11: Network Management.
1 Evaluation of Cooperative Web Caching with Web Polygraph Ping Du and Jaspal Subhlok Department of Computer Science University of Houston presented at.
9 Systems Analysis and Design in a Changing World, Fourth Edition.
Ó 1998 Menascé & Almeida. All Rights Reserved.1 Part VIII Concluding Remarks.
Performance of Web Proxy Caching in Heterogeneous Bandwidth Environments IEEE Infocom, 1999 Anja Feldmann et.al. AT&T Research Lab 발표자 : 임 민 열, DB lab,
Ó 1998 Menascé & Almeida. All Rights Reserved.1 Part V Workload Characterization for the Web.
1 Part VII Component-level Performance Models for the Web © 1998 Menascé & Almeida. All Rights Reserved.
Measuring the Capacity of a Web Server USENIX Sympo. on Internet Tech. and Sys. ‘ Koo-Min Ahn.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
Ó 1998 Menascé & Almeida. All Rights Reserved.1 Part VI System-level Performance Models for the Web (Book, Chapter 8)
Module 9 Planning and Implementing Monitoring and Maintenance.
MiddleMan: A Video Caching Proxy Server NOSSDAV 2000 Brian Smith Department of Computer Science Cornell University Ithaca, NY Soam Acharya Inktomi Corporation.
Ó 1998 Menascé & Almeida. All Rights Reserved.1 Part II System Performance Modeling: basic concepts, operational analysis (book, chap. 3)
Network management Network management refers to the activities, methods, procedures, and tools that pertain to the operation, administration, maintenance,
1 PerfCenter and AutoPerf: Tools and Techniques for Modeling and Measurement of the Performance of Distributed Applications Varsha Apte Faculty Member,
1 Evaluation of Cooperative Web Caching with Web Polygraph Ping Du and Jaspal Subhlok Department of Computer Science University of Houston presented at.
Ó 1998 Menascé & Almeida. All Rights Reserved.1 Part VIII Web Performance Modeling (Book, Chapter 10)
Ó 1998 Menascé & Almeida. All Rights Reserved.1 Part VI System-level Performance Models for the Web.
OPERATING SYSTEMS CS 3502 Fall 2017
Lecture 2: Performance Evaluation
Application Software Platform Services Graphics Data Interchange
Software Architecture in Practice
B.Ramamurthy Appendix A
Capacity Analysis, cont. Realistic Server Performance
Performance And Scalability In Oracle9i And SQL Server 2000
Presentation transcript:

1Adapted from Menascé & Almeida. Capacity Planning Methodology

2Adapted from Menascé & Almeida. Learning Objectives  Discuss the concept of adequate capacity of a system.  Introduce service level agreements.  Present a methodology for capacity planning.

3Adapted from Menascé & Almeida. Learning Objectives (cont’d)  Discuss the main steps of the methodology: – understanding the environment – workload characterization – workload forecasting – performance modeling – performance prediction – cost/performance analysis.

4Adapted from Menascé & Almeida. What is Adequate Capacity? We say that a Web service has adequate capacity if the service-level agreements are continuously met for a specified technology and standards, and if the services are provided within cost constraints.

5Adapted from Menascé & Almeida. Technology and Standards T&S means, for instance: –HW for servers (and for clients) –O.S. software –LAN, WAN line infrastructure (type, speed) Sometimes the choice is based on factors not related to performance: –ease of system administration –familiarity of personnel with the system –number/quality of vendors for HW/SW

6Adapted from Menascé & Almeida. Service-Level Agreements (SLA) SLAs determine what a user of an application can expect in terms of response time, throughput, system availability, and reliability –focus on metrics that users can understand –set easy-to-measure goals –tie IT costs to your SLAs

7Adapted from Menascé & Almeida. Service Level Agreements: examples Response time for trivial database queries should not exceed 2 sec. We want the same level of availability and response time that we had in the mainframe environment. The goal for Web services is 99% of availability and less than 1-sec response time for 90% of the HTTP requests for small documents.

8Adapted from Menascé & Almeida. Adequate Capacity Users Mgmt SLAs Specified Technology & Standards Cost Constraints Adequate Capacity Adequate Capacity e.g.: NT and T1 e.g.: response time < 2 sec. e.g.: startup cost < 100K$ maintenance cost < 20K$/yr

9Adapted from Menascé & Almeida. Configuration PlanInvestment PlanPersonnel Plan Understanding the Environment Workload Characterization Workload Model Workload Model Validation and Calibration Workload Forecasting Cost Prediction Cost Model Developing a Cost Model Performance and Availability Model Cost/Performance Analysis Performance/Availability Model Development Performance/Availability Model Calibration Performance & Availability Prediction

10Adapted from Menascé & Almeida. The Three Models Workload model: –resource demand, load intensity - for each component of a global workload Performance model: –used to predict performance as function of system description and workload param.s –outputs: response times, throughputs, system resources utilizations, queue lengths, etc.

11Adapted from Menascé & Almeida. The Three Models (cont.) Performance model (cont.): –the performance metrics are matched against SLAs to check if capacity is adequate Cost model: –accounts for SFW, HDW, TLC, personnel, training, support expenditures, etc.

12Adapted from Menascé & Almeida. Configuration PlanInvestment PlanPersonnel Plan Understanding the Environment Workload Characterization Workload Model Workload Model Validation and Calibration Workload Forecasting Cost Prediction Cost Model Developing a Cost Model Performance and Availability Model Cost/Performance Analysis Performance/Availability Model Development Performance/Availability Model Calibration Performance & Availability Prediction

13Adapted from Menascé & Almeida. Understanding the Environment The goal is to learn what kind of –hardware (clients and servers) –software (OS, middleware, applications) –network connectivity and protocols are present in the environment. Identify peak periods, management structures, SLAs

14Adapted from Menascé & Almeida. Understanding the Environment: example FDDI ring 100 Mbps LAN 5 16 Mbps token ring LAN 1 LAN 2 LAN 4 LAN 3 10 Mbps Ethernet 10 Mbps Ethernet 10 Mbps Ethernet Internet 120 NT clients 100 NT clients 80 Unix clients 100 NT clients proxy server ftp,web mail s. file server Unix file server SQL server NT file server 512 GB HD, RAID-5

15Adapted from Menascé & Almeida. Elements in Understanding the Environment

16Adapted from Menascé & Almeida. Configuration PlanInvestment PlanPersonnel Plan Understanding the Environment Workload Characterization Workload Model Workload Model Validation and Calibration Workload Forecasting Cost Prediction Cost Model Developing a Cost Model Performance and Availability Model Cost/Performance Analysis Performance/Availability Model Development Performance/Availability Model Calibration Performance & Availability Prediction

17Adapted from Menascé & Almeida. Workload Characterization Workload characterization is the process of precisely describing the system’s global workload in terms of its main components. The basic components are then characterized by intensity (e.g. transaction arrival rate) and service demand parameters at each resource of the system.

18Adapted from Menascé & Almeida. Workload Characterization Process Wkl component # 1 (e.g., C/S transactions) Global Workload Wkl component # n (e.g., Web doc. Requests) Basic component 1.1 (e.g., personnel transactions) Basic Component 1.2 (e.g., sales transactions) Basic component n.k (e.g. video requests) Basic component n.1 (e.g., small HTML docs.)...

19Adapted from Menascé & Almeida. Workload Description Parameters for a basic component: must usually be derived indirectly (measurement or estimation of other parameters; usage of performance monitors, accounting systems, system log files, etc. Measurements during normal and peak workload periods Use of clustering algorithms

20Adapted from Menascé & Almeida. Workload Description: example

21Adapted from Menascé & Almeida. Workload Parameters Workload intensity parameters: provide a measure of the load placed on system, indicated by number of units of work that contend for system resources Workload service demand parameters: specify the total amount of service time required by each basic component at each resource

22Adapted from Menascé & Almeida. Data Collection Issues How to determine the parameter values for each basic component? -> adequate tools are often unavailable; most tools provide only aggregate data for resource levels. Data Collection Facilities Use benchmark, industry practice, and ROTs only Use benchmark, industry practice, ROT, and measurements Use measurements only NoneSomeDetailed

23Adapted from Menascé & Almeida. Data Collection Issues: example The server demand at the server for a given application was 10 msec obtained in a controlled environment with a server with a SPECint rating of What would be the service demand if the server used in the actual system were faster and had a SPECint rating of 10.4? ActualServiceDemand = MeasuredServiceDemand x ScalingFactor ScalingFactor = ControlledResourceThroughput / ActualResourceThroughput ActualServiceDemand = 10 * (3.11/10.4) = 3.0 msec.

24Adapted from Menascé & Almeida. Configuration PlanInvestment PlanPersonnel Plan Understanding the Environment Workload Characterization Workload Model Workload Model Validation and Calibration Workload Forecasting Cost Prediction Cost Model Developing a Cost Model Performance and Availability Model Cost/Performance Analysis Performance/Availability Model Development Performance/Availability Model Calibration Performance & Availability Prediction

25Adapted from Menascé & Almeida. Validating Workload Models Actual Workload Synthetic Workload System Acceptable? Model Calibration Yes No Measured RT, Thput., etc Measured RT, Thput., etc.

26Adapted from Menascé & Almeida. Configuration PlanInvestment PlanPersonnel Plan Understanding the Environment Workload Characterization Workload Model Workload Model Validation and Calibration Workload Forecasting Cost Prediction Cost Model Developing a Cost Model Performance and Availability Model Cost/Performance Analysis Performance/Availability Model Development Performance/Availability Model Calibration Performance & Availability Prediction

27Adapted from Menascé & Almeida. Workload Forecasting WL.F. is the process of predicting how system workloads will vary in the future; examples: –How will the number of messages handled per day by the server vary over the next 6 months? –How will the number of hits to the corporate intranet’s Web server vary over time?

28Adapted from Menascé & Almeida. Workload Forecasting (cont’d) Answering these questions involves: –evaluating the organization’s workload trends; –analyzing historical usage data; –analyzing business or strategic plans; –mapping plans into business processes (e.g., paperwork reduction will add 50% more ). Workload forecasting techniques: moving averages, exponential smoothing, linear regression.

29Adapted from Menascé & Almeida. Configuration PlanInvestment PlanPersonnel Plan Understanding the Environment Workload Characterization Workload Model Workload Model Validation and Calibration Workload Forecasting Cost Prediction Cost Model Developing a Cost Model Performance and Availability Model Cost/Performance Analysis Performance/Availability Model Development Performance/Availability Model Calibration Performance & Availability Prediction

30Adapted from Menascé & Almeida. Performance Modeling and Prediction Is the process of estimating performance measures of a computer system for a given set of parameters. How are performance measures estimated? System and Workload Description Performance metrics: response time, throughput, utilization, etc

31Adapted from Menascé & Almeida. Estimating performance measures Queuing Network Model System Description Performance Measures Response time Throughput Utilization Queue length System parameters Resources parameters Workload parameters - service demands - workload intensity - burstiness

32Adapted from Menascé & Almeida. Parameters (Affecting Performance) (I) System parameters examples: –load-balancing disciplines for WEB serv.s –network protocols –max. numb. of connections supported –max. numb.of threads supported by DBMS Resource parameters examples: –disk seek times, latency, transfer rate –network bandwidth; router latency –CPU speed

33Adapted from Menascé & Almeida. Parameters (Affecting Performance) (II) Workload parameters examples: –WL intensity parameters: numb. of hits/day of Web proxy numb. of requests/second to file server numb. of sales transactions to DB server numb. of clients running scientific applications –WL service demand parameters: CPU time of transactions at DB server total transmission of replies from DB server total I/O time at Web proxy for images and video clips

34Adapted from Menascé & Almeida. Queuing Network Models Performance prediction requires use of models Two types: –analytical models: set of formulas and/or computational algorithms ->studied in this course –simulation models: computer programs, all resources and the dataflow are simulated Both types must consider contention queues The various queues are interconnected: network of queues

35Adapted from Menascé & Almeida. Configuration PlanInvestment PlanPersonnel Plan Understanding the Environment Workload Characterization Workload Model Workload Model Validation and Calibration Workload Forecasting Cost Prediction Cost Model Developing a Cost Model Performance and Availability Model Cost/Performance Analysis Performance/Availability Model Development Performance/Availability Model Calibration Performance & Availability Prediction

36Adapted from Menascé & Almeida. Performance Model Validation A performance model is said to be valid if the performance metrics calculated by the model match the actual system, within an acceptable error margin. Usually 10 to 30% are acceptable in Capacity Planning.

37Adapted from Menascé & Almeida. Validating Performance Models Real System Performance Model CalculationsMeasurements Acceptable? Model Calibration Yes (*) No Measured RT, Thput., etc Calculated RT, Thput., etc. (*) Accuracy from 10 to 30% is acceptable in CP

38Adapted from Menascé & Almeida. Configuration PlanInvestment PlanPersonnel Plan Understanding the Environment Workload Characterization Workload Model Workload Model Validation and Calibration Workload Forecasting Cost Prediction Cost Model Developing a Cost Model Performance and Availability Model Cost/Performance Analysis Performance/Availability Model Development Performance/Availability Model Calibration Performance & Availability Prediction

39Adapted from Menascé & Almeida. Cost Model A capacity planning methodology requires the identification of major sources of cost as well as the determination of how cost will vary with system size and architecture. Cost categories: Startup costs Operating costs

40Adapted from Menascé & Almeida. Cost Model: categories Hardware costs: client and server machines, disks, routers, bridges, cabling, UPS, maintenance, vendor maintenance/technical support, etc. Software costs: operating systems, middleware, DBMS, mail processing software, office automation, antivirus, applications, etc. Telecommunication costs: WAN services, ISP, etc. Support costs: salaries and benefits of all system administrators, help desk support, personnel training, network people, etc. - Personnel costs: 60-70% of total C/S costs

41Adapted from Menascé & Almeida. Cost/Performance Analysis Cost and performance models: used to assess possible scenarios, e.g. –mirror Web server to balance load? –replace Web server with faster one? –Move to a 3-tier architecture? For each scenario, predict performances and costs From comparison of scenarios, get –configuration plan –investment plan –personnel plan Assess payback: ROI (Return on Investment), company’s image strategy, shorter time-to-market, etc.

42Adapted from Menascé & Almeida. Summary Concept of adequate capacity Service Level Agreement (SLA) Framework of a methodology for capacity planning: workload characterization workload forecasting performance modeling and prediction model validation cost model