1 PERFORMANCE EVALUATION H Often in Computer Science you need to: – demonstrate that a new concept, technique, or algorithm is feasible –demonstrate that.

Slides:



Advertisements
Similar presentations
Web Server Benchmarking Using the Internet Protocol Traffic and Network Emulator Carey Williamson, Rob Simmonds, Martin Arlitt et al. University of Calgary.
Advertisements

Queueing Models and Ergodicity. 2 Purpose Simulation is often used in the analysis of queueing models. A simple but typical queueing model: Queueing models.
Copyright © 2005 Department of Computer Science CPSC 641 Winter PERFORMANCE EVALUATION Often in Computer Science you need to: – demonstrate that.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 19 Scheduling IV.
Queueing Theory: Recap
Project 4 U-Pick – A Project of Your Own Design Proposal Due: April 14 th (earlier ok) Project Due: April 25 th.
1 PERFORMANCE EVALUATION H Often one needs to design and conduct an experiment in order to: – demonstrate that a new technique or concept is feasible –demonstrate.
1 Experimental Methodology H Experimental methods can be used to: – demonstrate that a new concept, technique, or algorithm is feasible –demonstrate that.
ISCSI Performance in Integrated LAN/SAN Environment Li Yin U.C. Berkeley.
1 Petri Nets H Plan: –Introduce basics of Petri Net models –Define notation and terminology used –Show examples of Petri Net models u Calaway Park model.
OS Fall ’ 02 Performance Evaluation Operating Systems Fall 2002.
1 Performance Evaluation of Computer Networks Objectives  Introduction to Queuing Theory  Little’s Theorem  Standard Notation of Queuing Systems  Poisson.
Performance Evaluation of Computer Networks
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Introduction to Experiment Design Shiv Kalyanaraman Rensselaer Polytechnic Institute
Data Communication and Networks Lecture 13 Performance December 9, 2004 Joseph Conron Computer Science Department New York University
1 Queueing Theory H Plan: –Introduce basics of Queueing Theory –Define notation and terminology used –Discuss properties of queuing models –Show examples.
Web Server Software Architectures Author: Daniel A. Menascé Presenter: Noshaba Bakht.
Performance Evaluation
Copyright © 1998 Wanda Kunkle Computer Organization 1 Chapter 2.1 Introduction.
Performance and Robustness Testing of Explicit-Rate ABR Flow Control Schemes Milan Zoranovic Carey Williamson October 26, 1999.
OS Fall ’ 02 Performance Evaluation Operating Systems Fall 2002.
1 Part VI System-level Performance Models for the Web © 1998 Menascé & Almeida. All Rights Reserved.
1 PERF EVAL (CONT’D) H There are many other “tools of the trade” used in performance evaluation H Only a few will be mentioned here: –queueing theory –verification.
Chapter 12: Simulation and Modeling Invitation to Computer Science, Java Version, Third Edition.
IE 594 : Research Methodology – Discrete Event Simulation David S. Kim Spring 2009.
Performance Evaluation of Computer Systems and Networks By Behzad Akbari Tarbiat Modares University Spring 2012 In the Name of the Most High.
Chapter 12: Simulation and Modeling
Dynamic and Decentralized Approaches for Optimal Allocation of Multiple Resources in Virtualized Data Centers Wei Chen, Samuel Hargrove, Heh Miao, Liang.
Experimental Design Tutorial Presented By Michael W. Totaro Wireless Research Group Center for Advanced Computer Studies University of Louisiana at Lafayette.
Introduction to Discrete Event Simulation Customer population Service system Served customers Waiting line Priority rule Service facilities Figure C.1.
AN INTRODUCTION TO THE OPERATIONAL ANALYSIS OF QUEUING NETWORK MODELS Peter J. Denning, Jeffrey P. Buzen, The Operational Analysis of Queueing Network.
© 2003, Carla Ellis Experimentation in Computer Systems Research Why: “It doesn’t matter how beautiful your theory is, it doesn’t matter how smart you.
Modeling and Performance Evaluation of Network and Computer Systems Introduction (Chapters 1 and 2) 10/4/2015H.Malekinezhad1.
CPSC 531: Experiment Design1 CPSC 531: Experiment Design and Performance Evaluation Instructor: Anirban Mahanti Office: ICT 745
1 Performance Evaluation of Computer Systems and Networks Introduction, Outlines, Class Policy Instructor: A. Ghasemi Many thanks to Dr. Behzad Akbari.
NETE4631:Capacity Planning (2)- Lecture 10 Suronapee Phoomvuthisarn, Ph.D. /
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.
1 Wenguang WangRichard B. Bunt Department of Computer Science University of Saskatchewan November 14, 2000 Simulating DB2 Buffer Pool Management.
Queuing Theory Basic properties, Markovian models, Networks of queues, General service time distributions, Finite source models, Multiserver queues Chapter.
ICOM 6115: Computer Systems Performance Measurement and Evaluation August 11, 2006.
Performance Analysis of Real Traffic Carried with Encrypted Cover Flows Nabil Schear David M. Nicol University of Illinois at Urbana-Champaign Department.
Course Information Andy Wang CIS 5930 Computer Systems Performance Analysis.
Modeling and Simulation Queuing theory
1 On Dynamic Parallelism Adjustment Mechanism for Data Transfer Protocol GridFTP Takeshi Itou, Hiroyuki Ohsaki Graduate School of Information Sci. & Tech.
Ó 1998 Menascé & Almeida. All Rights Reserved.1 Part VIII Concluding Remarks.
ECE 466/658: Performance Evaluation and Simulation Introduction Instructor: Christos Panayiotou.
Ó 1998 Menascé & Almeida. All Rights Reserved.1 Part V Workload Characterization for the Web.
Chapter 3 System Performance and Models Introduction A system is the part of the real world under study. Composed of a set of entities interacting.
1 OUTPUT ANALYSIS FOR SIMULATIONS. 2 Introduction Analysis of One System Terminating vs. Steady-State Simulations Analysis of Terminating Simulations.
Measuring the Capacity of a Web Server USENIX Sympo. on Internet Tech. and Sys. ‘ Koo-Min Ahn.
NETE4631: Network Information System Capacity Planning (2) Suronapee Phoomvuthisarn, Ph.D. /
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)
Computer Simulation of Networks ECE/CSC 777: Telecommunications Network Design Fall, 2013, Rudra Dutta.
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 VI System-level Performance Models for the Web.
Chapter 12: Simulation and Modeling
OPERATING SYSTEMS CS 3502 Fall 2017
Performance Eval Slides originally from Williamson at Calgary
Network Performance and Quality of Service
Computer Simulation of Networks
Queueing Theory Carey Williamson Department of Computer Science
Computer Systems Performance Evaluation
Performance Evaluation of Computer Networks
Performance Evaluation
Computer Systems Performance Evaluation
CPSC 531: System Modeling and Simulation
Performance Evaluation of Computer Networks
Carey Williamson Department of Computer Science University of Calgary
MECH 3550 : Simulation & Visualization
Presentation transcript:

1 PERFORMANCE EVALUATION H Often in Computer Science you need to: – demonstrate that a new concept, technique, or algorithm is feasible –demonstrate that a new method is better than an existing method –understand the impact of various factors and parameters on the performance, scalability, or robustness of a system

2 PERFORMANCE EVALUATION H There is a whole field of computer science called computer systems performance evaluation that is devoted to exactly this H One classic book is Raj Jain’s “The Art of Computer Systems Performance Analysis”, Wiley & Sons, 1991 H Much of what is outlined in this presentation is described in more detail in [Jain 1991]

3 PERF EVAL: THE BASICS H There are three main methods used in the design of performance studies: H Analytic approaches –the use of mathematics, Markov chains, queueing theory, Petri Nets, abstract models… H Simulation approaches –design and use of computer simulations and simplified models to assess performance H Experimental approaches –measurement and use of a real system

4 Analytical Example: Queueing Theory H Queueing theory is a mathematical technique that specializes in the analysis of queues (e.g., customer arrivals at a bank, jobs arriving at CPU, I/O requests arriving at a disk subsystem, lineup at Tim Hortons) H General diagram: Customer Arrivals Departures Buffer Server

5 Queueing Theory (cont’d) H The queueing system is characterized by: –Arrival process (M, G) –Service time process (M, D, G) –Number of servers (1 to infinity) –Number of buffers (infinite or finite) H Example notation: M/M/1, M/D/1 H Example notation: M/M/, M/G/1/k 8

6 Queueing Theory (cont’d) H There are well-known mathematical results for the mean waiting time and the number of customers in the system for several simple queueing models H E.g., M/M/1, M/D/1, M/G/1 H Example: M/M/1 –q = rho/ (1 - rho) where rho = lambda/mu < 1

7 Queueing Theory (cont’d) H These simple models can be cascaded in series and in parallel to create arbitrarily large complicated queueing network models H Two main types: –closed queueing network model (finite pop.) –open queueing network model (infinite pop.) H Software packages exist for solving these types of models to determine steady-state performance (e.g., delay, throughput, util.)

8 Simulation Example: TCP Throughput H Can use an existing simulation tool, or design and build your own custom simulator H Example: ns-2 network simulator H A discrete-event simulator with detailed TCP protocol models H Configure network topology and workload H Run simulation using pseudo-random numbers and produce statistical output

9 OTHER ISSUES H Simulation run length –choosing a long enough run time to get statistically meaningful results (equilibrium) H Simulation start-up effects and end effects –deciding how much to “chop off” at the start and end of simulations to get proper results H Replications –ensure repeatability of results, and gain greater statistical confidence in the results given

10 Experimental Example: Database Server Benchmarking H The design of a performance study requires great care in experimental design and methodology H Need to identify –experimental factors to be tested –levels (settings) for these factors –performance metrics to be used –experimental design to be used

11 FACTORS H Factors are the main “components” that are varied in an experiment, in order to understand their impact on performance H Examples: request rate, request size, read/write ratio, num concurrent clients H Need to choose factors properly, since the number of factors affects size of study

12 LEVELS H Levels are the precise settings of the factors that are to be used in an experiment H Examples: req size S = 1KB, 10KB, 1 MB H Example: num clients C = 10, 20, 30, 40, 50 H Need to choose levels realistically H Need to cover reasonable portion of the design space

13 PERFORMANCE METRICS H Performance metrics specify what you want to measure in your performance study H Examples: response time, throughput, loss H Must choose your metrics properly and instrument your experiment accordingly

14 EXPERIMENTAL DESIGN H Experimental design refers to the organizational structure of your experiment H Need to methodically go through factors and levels to get the full range of experimental results desired H There are several “classical” approaches to experimental design

15 EXAMPLES H One factor at a time –vary only one factor through its levels to see what the impact is on performance H Two factors at a time –vary two factors to see not only their individual effects, but also their interaction effects, if any H Full factorial –try every possible combination of factors and levels to see full range of performance results

16 SUMMARY H Computer systems performance evaluation defines standard methods for designing and conducting performance studies H Great care must be taken in experimental design and methodology if the experiment is to achieve its goal, and if results are to be fully understood H We will learn a LOT about these methodologies and their applications over the next 3 months or so