Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Part IV Capacity Planning Methodology © 1998 Menascé & Almeida. All Rights Reserved.

Similar presentations


Presentation on theme: "1 Part IV Capacity Planning Methodology © 1998 Menascé & Almeida. All Rights Reserved."— Presentation transcript:

1 1 Part IV Capacity Planning Methodology © 1998 Menascé & Almeida. All Rights Reserved.

2 2 Learning Objectives Discuss the concept of adequate capacity of a system. Introduce service level agreements. Present a methodology for capacity planning.

3 3 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.

4 4 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.

5 5 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

6 6 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.

7 7 Adequate Capacity Users Mgmt SLAs Specified Technology & Standards Cost Constraints Adequate Capacity Adequate Capacity e.g.: NT and T3 e.g.: response time < 2 sec. e.g.: startup cost < 100K $

8 8 Configuration Plan Investment Plan Personnel Plan Understanding the Environment Workload Characterization Workload Model Validation and Calibration Workload Forecasting Performance Prediction Cost Prediction Valid Model Cost Model Developing a Cost Model Performance Model Cost/Performance Analysis Methodology

9 9 Configuration Plan Investment Plan Personnel Plan Understanding the Environment Workload Characterization Workload Model Validation and Calibration Workload Forecasting Performance Prediction Cost Prediction Valid Model Cost Model Developing a Cost Model Performance Model Cost/Performance Analysis Methodology

10 10 Understanding the Environment The goal is to learn what kind of –hardware (clients and servers) –software (OS, middleware, and applications) –network connectivity and protocols are present in the environment.

11 11 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 file server file server SQL server file server

12 12 Elements in Understanding the Environment

13 13 Configuration Plan Investment Plan Personnel Plan Understanding the Environment Workload Characterization Workload Model Validation and Calibration Workload Forecasting Performance Prediction Cost Prediction Valid Model Cost Model Developing a Cost Model Performance Model Cost/Performance Analysis Methodology

14 14 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 and service demand parameters at each resource of the system.

15 15 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.)...

16 16 Workload Description: example

17 17 Data Collection Issues How to determine the parameter values for each basic component? Data Collection Facilities Use benchmark, industry practice, and ROTs only Use benchmark, industry practice, ROT, and measurements Use measurements only NoneSomeDetailed

18 18 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 3.11. 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.

19 19 Configuration Plan Investment Plan Personnel Plan Understanding the Environment Workload Characterization Workload Model Validation and Calibration Workload Forecasting Performance Prediction Cost Prediction Valid Model Cost Model Developing a Cost Model Performance Model Cost/Performance Analysis Methodology

20 20 Validating Workload Models Actual Workload Synthetic Workload System Acceptable? Model Calibration Yes No Measured RT, Thput., etc Measured RT, Thput., etc.

21 21 Configuration Plan Investment Plan Personnel Plan Understanding the Environment Workload Characterization Workload Model Validation and Calibration Workload Forecasting Performance Prediction Cost Prediction Valid Model Cost Model Developing a Cost Model Performance Model Cost/Performance Analysis Methodology

22 22 Workload Forecasting How will the number of e-mail 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?

23 23 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 e-mail). Workload forecasting techniques: moving averages, exponential smoothing, etc.

24 24 Configuration Plan Investment Plan Personnel Plan Understanding the Environment Workload Characterization Workload Model Validation and Calibration Workload Forecasting Performance Prediction Cost Prediction Valid Model Cost Model Developing a Cost Model Performance Model Cost/Performance Analysis Methodology

25 25 Performance Modeling and Prediction How are performance measures estimated? System and Workload Description Performance metrics: response time, throughput, utilization, etc

26 26 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

27 27 Configuration Plan Investment Plan Personnel Plan Understanding the Environment Workload Characterization Workload Model Validation and Calibration Workload Forecasting Performance Prediction Cost Prediction Valid Model Cost Model Developing a Cost Model Performance Model Cost/Performance Analysis Methodology

28 28 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

29 29 Configuration Plan Investment Plan Personnel Plan Understanding the Environment Workload Characterization Workload Model Validation and Calibration Workload Forecasting Performance Prediction Cost Prediction Valid Model Cost Model Developing a Cost Model Performance Model Cost/Performance Analysis Methodology

30 30 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. Startup costs Operating costs

31 31 Cost Model: categories Hardware costs: client and server machines, disks, routers, bridges, cabling, maintenance, etc. Software costs: operating systems, middleware, DBMS, mail processing software, office automation, applications, etc. Telecommunication costs: WAN services, ISP, etc. Support costs: salaries and benefits of all system administrators, help desk support, network people, etc

32 32 Part IV: 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


Download ppt "1 Part IV Capacity Planning Methodology © 1998 Menascé & Almeida. All Rights Reserved."

Similar presentations


Ads by Google