Performance Eval Slides originally from Williamson at Calgary

Slides:



Advertisements
Similar presentations
Experiments and Variables
Advertisements

Copyright © 2009 Pearson Education, Inc. Chapter 29 Multiple Regression.
Inference for Regression
Copyright © 2005 Department of Computer Science CPSC 641 Winter PERFORMANCE EVALUATION Often in Computer Science you need to: – demonstrate that.
Design of Experiments and Data Analysis. Let’s Work an Example Data obtained from MS Thesis Studied the “bioavailability” of metals in sediment cores.
Regression Analysis Using Excel. Econometrics Econometrics is simply the statistical analysis of economic phenomena Here, we just summarize some of the.
Queuing Analysis Based on noted from Appendix A of Stallings Operating System text 6/10/20151.
Copyright © 2005 Department of Computer Science CPSC 641 Winter Data Analysis and Presentation There are many “tricks of the trade” used in data.
OS Fall ’ 02 Performance Evaluation Operating Systems Fall 2002.
Gordon Stringer, UCCS1 Regression Analysis Gordon Stringer.
1 Queueing Theory H Plan: –Introduce basics of Queueing Theory –Define notation and terminology used –Discuss properties of queuing models –Show examples.
Performance Evaluation
1 PERFORMANCE EVALUATION H Often in Computer Science you need to: – demonstrate that a new concept, technique, or algorithm is feasible –demonstrate that.
Role and Place of Statistical Data Analysis and very simple applications Simplified diagram of a scientific research When you know the system: Estimation.
OS Fall ’ 02 Performance Evaluation Operating Systems Fall 2002.
1 Data Analysis H There are many “tricks of the trade” used in data analysis and results presentation H A few will be mentioned here: –statistical analysis.
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.
1 Doing Statistics for Business Doing Statistics for Business Data, Inference, and Decision Making Marilyn K. Pelosi Theresa M. Sandifer Chapter 11 Regression.
Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one.
1 Validation & Verification Chapter VALIDATION & VERIFICATION Very Difficult Very Important Conceptually distinct, but performed simultaneously.
Hydrologic Modeling: Verification, Validation, Calibration, and Sensitivity Analysis Fritz R. Fiedler, P.E., Ph.D.
CPSC 531: Experiment Design1 CPSC 531: Experiment Design and Performance Evaluation Instructor: Anirban Mahanti Office: ICT 745
NETE4631:Capacity Planning (2)- Lecture 10 Suronapee Phoomvuthisarn, Ph.D. /
Scientific Method.
Graphing.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
ANOVA, Regression and Multiple Regression March
Data Analysis, Presentation, and Statistics
Building Valid, Credible & Appropriately Detailed Simulation Models
AP PHYSICS 1 SUMMER PACKET Table of Contents 1.What is Physics? 2.Scientific Method 3.Mathematics and Physics 4.Standards of Measurement 5.Metric System.
Stats Methods at IC Lecture 3: Regression.
The M&M Mystery National University.
Skills for Science with a focus on Biology.
Computer aided teaching of statistics: advantages and disadvantages
OPERATING SYSTEMS CS 3502 Fall 2017
Analysis and Empirical Results
Regression Analysis AGEC 784.
Basic Estimation Techniques
QM222 A1 More on Excel QM222 Fall 2017 Section A1.
Lab Practical (Paper 3) Skills
IB Physics: Chapter 1 Lesson 2b: Graphs.
QM222 A1 Visualizing data using Excel graphs
CPSC 531: System Modeling and Simulation
Graphing and the Coordinate Plane
Chapter 10 Verification and Validation of Simulation Models
B.Ramamurthy Appendix A
Linear Regression Models
Basic Estimation Techniques
Statistical Methods Carey Williamson Department of Computer Science
Presenting Data.
Queueing Theory Carey Williamson Department of Computer Science
CHAPTER 29: Multiple Regression*
CPSC 531: System Modeling and Simulation
Data Presentation Carey Williamson Department of Computer Science
6-1 Introduction To Empirical Models
AP Stats Check In Where we’ve been… Chapter 7…Chapter 8…
Technical Writing (AEEE299)
Computer Systems Performance Evaluation
Graphing Rules: According to DRTAILSS
Undergraduated Econometrics
Lab Practical (Paper 3) Skills
Graphing Data jgt.
CHAPTER 12 More About Regression
Product moment correlation
Carey Williamson Department of Computer Science University of Calgary
Computer Systems Performance Evaluation
MECH 3550 : Simulation & Visualization
Carey Williamson Department of Computer Science University of Calgary
Carey Williamson Department of Computer Science University of Calgary
DESIGN OF EXPERIMENT (DOE)
Presentation transcript:

Performance Eval Slides originally from Williamson at Calgary Minor modifications are made

PERF EVAL (CONT’D) There are many other “tools of the trade” used in performance evaluation Only a few will be mentioned here: queueing theory verification and validation statistical analysis multi-variate analysis presentation of results

Queueing Theory 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) General diagram: Customer Arrivals Departures Server Buffer

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

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

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

Verification and Validation An important step in any modeling work (simulation or analytical) is convincing others that the model is “correct” Verification: develop simple test cases with known inputs; compare to expected outputs Validation: the “reality check” to see if model predictions agree with real world Sanity checks (e.g., Little’s Law: N = T) This V&V process is often overlooked!!!

Statistical Analysis “Math and stats can be your friends!!!” CW There are lots of “standard” techniques from mathematics, probability, and statistics that are of immense value in performance work: confidence intervals, null hypotheses, F-tests, T-tests, linear regression, least-squares fit, maximum likelihood estimation, correlation, time series analysis, transforms, Q-Q, EM... working knowledge of commonly-observed statistical distributions

Multi-Variate Analysis For in-depth and really messy data analysis, there are multi-variate techniques that can be immensely helpful In many cases, good data visualization tools will tell you a lot (e.g., plotting graphs), but in other cases you might try things like: multi-variate regression: find out which parameters are relevant or not for curve fitting ANOVA: analysis of variance can show the parameters with greatest impact on results

Presentation of Results Graphs and tables are the two most common ways of illustrating and/or summarizing data graphs can show you the trends tables provide the details There are good ways and bad ways to do each of these Again, it is a bit of an “art”, but there are lots of good tips and guidelines as well

Table Tips Decide if a table is really needed; if so, should it be part of main paper, or just an appendix? Choose formatting software with which you are familiar; easy to import data, export tables Table caption goes at the top Clearly delineate rows and columns (lines) Logically organize rows and columns Report results to several significant digits Be consistent in formatting wherever possible

Graphing Tips Choose a good software package, preferably one with which you are familiar, and one for which it is easy to import data, export graphs Title at top; caption below (informative) Labels on each axis, including units Logical step sizes along axes (10’s, 100’s…) Make sure choice of scale is clear for each axis (linear, log-linear, log-log) Graph should start from origin (zero) unless there is a compelling reason not to do so

Graphing Tips (cont’d) Make judicious choice of type of plot scatter plot, line graph, bar chart, histogram Make judicious choice of line types solid, dashed, dotted, lines and points, colours If multiple lines on a plot, then use a key, which should be well-placed and informative If graph is “well-behaved”, then organize the key to match the lines on the graph (try it!) Be consistent from one graph to the next wherever possible (size, scale, key, colours)