SlideShare a Scribd company logo
AN OVERVIEW OF PERFORMANCE
EVALUATION & SIMULATION
OVERVIEW OF PERFORMANCE
EVALUATION
 Intro & Objective
 The Art of Performance Evaluation
 Professional Organizations, Journals,
and conferences.
 Performance Projects
 Common Mistakes and How to Avoid
Them
 Selection of Techniques and Metrics
WHY WE NEED TO SIMULATE?
3
 It may be too difficult, risky, or expensive
to observe a real, operational system
 Parts of the system may not be
observable (e.g., internals of a silicon
chip or biological system)
USES OF SIMULATIONS
 Analyze systems (performance, behavior)
before they are built
 Reduce the number of design errors
 Optimize design to improve the behavior
 Analyze operational systems
 Create virtual environments for training,
entertainment
APPLICATIONS OF SIMULATION
5
 System Analysis
 Telecommunication Networks (ATM, IP, TCP, UDP, WiFi …)
 Transportation systems (Traffic, Urban planning, Metro Planning, …)
 Electronic systems (e.g., microelectronics, computer systems)
 Battlefield simulations (blue army vs. red army)
 Ecological systems, Manufacturing systems, Logistics …
 Virtual Environments
 Physical phenomena (e.g. Trajectory of projectiles)
 training and entertainment (e.g., military, medicine, emergency
planning, flight simulation)
A FEW EXAMPLE APPLICATIONS
War gaming: test
strategies; training
Flight Simulator Transportation systems:
improved operations; urban
planning
Computer communication
network: protocol design
Parallel computer systems:
developing scalable software
Games
INTRO & OBJECTIVE
 Performance is a key criterion in the
design, procurement, and use of
computer systems.
 Performance  Cost
 Thus, computer systems professionals
need the basic knowledge of
performance evaluation techniques.
KEYWORDS
 System
 It is a collection of entities that act and interact together
toward the accomplishment of some logical end
(computer, network, communication systems, etc.)
 Simulation
 It is an experiment in a computer where the real system is
replaced by the execution of the program
 It is a program that mimics (imitate) the behaviour of the
real system
 Model
 It is a simplification of the reality
 A (usually miniature) representation of something; an
example for imitation or emulation
 A model can be Analytical (Queuing Theory) or by
Simulation.
 Performance Evaluation of a System means quantifying the
service delivered by the System
 Experimental, Analytical, or by simulation
Keywords
EXAMPLE
11
Real System (Motherboard)
Models of the System
EXAMPLE
12
Simulation Models of the System
EXAMPLE
13
EXAMPLE
14
Models of the System
 Why to use models?
 Implementation on real systems is very complex and costly,
 Experimentation on real systems may be dangerous (e.g.
chemical systems)
 If models adequately describes the reality, experimenting with
them can save money and time, and reduce the development
complexity
 When to use simulations?
 Analytic models may be very complex to evaluate, and may lead
to over implication of the real system
 Simulation can be a good alternative to evaluate the system
behavior very close to reality
Why using Models and Simulations?
INTRO & OBJECTIVE
 Objective:
1. Select appropriate evaluation
techniques, performance metrics and
workloads for a system.
2. Conduct performance measurements
correctly.
3. Use proper statistical techniques to
compare several alternatives.
4. Design measurement and simulation
experiments to provide the most
information with least effort.
5. Perform simulations correctly.
MODELING
 Model – used to describe almost any
attempt to specify a system under study.
Everyday connotation
– physical replica of a system.
 Scientific – a model is a name given to a
portrayal of interrelationships of parts of
a system in precise terms. The
portrayal can be interpreted in terms of
some system attributes and is
sufficiently detailed to permit study
under a variety of circumstances and to
enable the system’ s future behavior to
be predicted.
A TAXONOMY OF MODELS
 Predictability
 Deterministic – all data and relationships
are given in certainty. Efficiency of an
engine based on temperature, load and
fuel consumption.
 Stochastic - at least some of the
variables involved have a value which is
made to vary in an unpredictable or
random fashion. Example – financial
planning.
 Solvability
 Analytical – simple
 Simulation – complicated or an
appropriate equation cannot be found.
A TAXONOMY OF MODELS
 Variability
 Whether time is incorporated into the
model
 Static – specific time (financial)
 Dynamic – any time value (food cycle)
 Granularity
 Granularity of their treatment in time.
 Discrete events – clearly some events
(packet arrival)
 Continuous models – impossible to
distinguish between specific events taking
place (trajectory of a missile).
COMPUTER SIMULATION
20
 A Computer Simulation is a computer program that:
 attempts to simulate an abstract model of a particular
system.
 describes the behavior of a real (physical) system and its
evolution in time
 How it works?
 The behavior of the system is described by state variables
 The simulation program modifies the states variables to
emulate the evolution
PERFORMANCE EVALUATION
21
PERFORMANCE METRICS
22
 The Performance Metric is a measurable quantity that
precisely captures what we want to measure (response time,
throughput, delay, etc.).
 For example, In computer systems, we might evaluate
 The response time of a processor to execute a given
task.
 The execution time of two programs in a multi-processor
machine.
 In Network systems, we might evaluate
 The (maximum/average) delay experienced by a voice
packet to reach the destination
 The throughput of the network
 The required bandwidth to avoid congestion
WHAT DOES AFFECT THE
PERFORMANCE?
23
 The performance of a system is dramatically affected by the Workload
 The Workload: it characterises the quantity and the nature of the system
inputs
 In the context of Web Servers, system inputs are http requests (GET
or POST requests). The workload characterises
 the intensity of the requests: how many requests are received by
the web server. High intensities deteriorate the performance.
 The nature of the requests: the request can be simple GET
request or a request that require the access of a remote
database. The performance will be different for different request
types.
 Benchmarks: used to generate loads that is intended to mimic a
typical user behaviour.
HOW TO PROCEED?
I hear and forget. I see and I remember. I do and I
understand – Chinese Proverb
PERFORMANCE PROJECTS
 The best way to learn simulation is to apply the
concepts to a real-system
 The project should encompass:
 Select a computer sub-system : a network
congestion control, security, database, operating
systems.
 Perform some measurements.
 Analyze the collected data.
 Simulate AND Analytically model the subsystem
 Predict its performance
 Validate the Model.
PROFESSIONAL ORGANIZATIONS, JOURNALS
AND CONFERENCES
 ACM Sigmetrics : Association of Computing
Machinery’s.
 IEEE Computer Society – The Institute of Electrical and
Electronic Engineers (IEEE) Computer Society.
 IASTED – The International Association of Science and
Technology for Development
COMMON MISTAKES AND HOW TO AVOID THEM
1. No Goals
2. Biased Goals
3. Unsystematic Approach
4. Analysis without understanding The Problem
5. Incorrect Performance Metrics
6. Unrepresentative Workloads
7. Wrong Evaluation Techniques
8. Overlooking Important Parameters
9. Ignoring Significant Factors
COMMON MISTAKES AND HOW TO AVOID THEM
10. Inappropriate Experimental Design
11. Inappropriate Level of Detail
12. No Analysis
13. Erroneous Analysis
14. No Sensitivity Analysis
15. Ignoring Errors in Input
16. Improper Treatment of Outliers
17. Assuming No Change in the Future
18. Ignoring Variability
COMMON MISTAKES AND HOW TO AVOID THEM
19. Too Complex Analysis
20. Improper Presentation of Results
21. Ignoring Social Aspects
22. Omitting Assumptions and Limitations.
A SYSTEMATIC APPROACH
 State Goals and Define the System
 List Services and Outcomes
 Select Metrics
 List Parameters
 Select Factors to Study
 Select Evaluation Technique
 Select Workload
 Design Experiments
 Analyze and Interpret Data
 Present Results

More Related Content

Similar to An Overview of Performance Evaluation & Simulation

Introduction to simulation.pdf
Introduction to simulation.pdfIntroduction to simulation.pdf
Introduction to simulation.pdf
nadimhossain24
 
Simulation
SimulationSimulation
Simulation
abubacker siddiq
 
Lecture 1 - Introduction to Simulation Edited.ppt
Lecture 1 - Introduction to Simulation Edited.pptLecture 1 - Introduction to Simulation Edited.ppt
Lecture 1 - Introduction to Simulation Edited.ppt
FahimAhmed233860
 
Introduction to simulation and modeling
Introduction to simulation and modelingIntroduction to simulation and modeling
Introduction to simulation and modeling
antim19
 
System Modeling & Simulation Introduction
System Modeling & Simulation  IntroductionSystem Modeling & Simulation  Introduction
System Modeling & Simulation Introduction
SharmilaChidaravalli
 
Cybernetics in supply chain management
Cybernetics in supply chain managementCybernetics in supply chain management
Cybernetics in supply chain management
Luis Cabrera
 
lecture 1.pptx
lecture 1.pptxlecture 1.pptx
lecture 1.pptx
AmnaMuneer9
 
MODELING & SIMULATION.docx
MODELING & SIMULATION.docxMODELING & SIMULATION.docx
MODELING & SIMULATION.docx
JAMEEL AHMED KHOSO
 
Discreate Event Simulation_PPT1-R0.ppt
Discreate Event Simulation_PPT1-R0.pptDiscreate Event Simulation_PPT1-R0.ppt
Discreate Event Simulation_PPT1-R0.ppt
diklatMSU
 
Cs854 lecturenotes01
Cs854 lecturenotes01Cs854 lecturenotes01
Cs854 lecturenotes01
Mehmet Çelik
 
Modeling & simulation in projects
Modeling & simulation in projectsModeling & simulation in projects
Modeling & simulation in projects
anki009
 
Introduction to modeling_and_simulation
Introduction to modeling_and_simulationIntroduction to modeling_and_simulation
Introduction to modeling_and_simulation
Aysun Duran
 
Introduction to modeling_and_simulation
Introduction to modeling_and_simulationIntroduction to modeling_and_simulation
Introduction to modeling_and_simulation
mukmin91
 
1 MODULE 1 INTRODUCTION TO SIMULATION Module out.docx
1 MODULE 1  INTRODUCTION TO SIMULATION Module out.docx1 MODULE 1  INTRODUCTION TO SIMULATION Module out.docx
1 MODULE 1 INTRODUCTION TO SIMULATION Module out.docx
jeremylockett77
 
Introduction to networks simulation
Introduction to networks simulationIntroduction to networks simulation
Introduction to networks simulation
ahmed L. Khalaf
 
Introduction to Simulation
Introduction to SimulationIntroduction to Simulation
Introduction to Simulation
chimco.net
 
SECh910
SECh910SECh910
Cloud data management
Cloud data managementCloud data management
Cloud data management
ambitlick
 
Doctoral Thesis Presentation
Doctoral Thesis PresentationDoctoral Thesis Presentation
Doctoral Thesis Presentation
dt39127
 
Unit 6 Simulation.pptx
Unit 6 Simulation.pptxUnit 6 Simulation.pptx
Unit 6 Simulation.pptx
Hafiz20006
 

Similar to An Overview of Performance Evaluation & Simulation (20)

Introduction to simulation.pdf
Introduction to simulation.pdfIntroduction to simulation.pdf
Introduction to simulation.pdf
 
Simulation
SimulationSimulation
Simulation
 
Lecture 1 - Introduction to Simulation Edited.ppt
Lecture 1 - Introduction to Simulation Edited.pptLecture 1 - Introduction to Simulation Edited.ppt
Lecture 1 - Introduction to Simulation Edited.ppt
 
Introduction to simulation and modeling
Introduction to simulation and modelingIntroduction to simulation and modeling
Introduction to simulation and modeling
 
System Modeling & Simulation Introduction
System Modeling & Simulation  IntroductionSystem Modeling & Simulation  Introduction
System Modeling & Simulation Introduction
 
Cybernetics in supply chain management
Cybernetics in supply chain managementCybernetics in supply chain management
Cybernetics in supply chain management
 
lecture 1.pptx
lecture 1.pptxlecture 1.pptx
lecture 1.pptx
 
MODELING & SIMULATION.docx
MODELING & SIMULATION.docxMODELING & SIMULATION.docx
MODELING & SIMULATION.docx
 
Discreate Event Simulation_PPT1-R0.ppt
Discreate Event Simulation_PPT1-R0.pptDiscreate Event Simulation_PPT1-R0.ppt
Discreate Event Simulation_PPT1-R0.ppt
 
Cs854 lecturenotes01
Cs854 lecturenotes01Cs854 lecturenotes01
Cs854 lecturenotes01
 
Modeling & simulation in projects
Modeling & simulation in projectsModeling & simulation in projects
Modeling & simulation in projects
 
Introduction to modeling_and_simulation
Introduction to modeling_and_simulationIntroduction to modeling_and_simulation
Introduction to modeling_and_simulation
 
Introduction to modeling_and_simulation
Introduction to modeling_and_simulationIntroduction to modeling_and_simulation
Introduction to modeling_and_simulation
 
1 MODULE 1 INTRODUCTION TO SIMULATION Module out.docx
1 MODULE 1  INTRODUCTION TO SIMULATION Module out.docx1 MODULE 1  INTRODUCTION TO SIMULATION Module out.docx
1 MODULE 1 INTRODUCTION TO SIMULATION Module out.docx
 
Introduction to networks simulation
Introduction to networks simulationIntroduction to networks simulation
Introduction to networks simulation
 
Introduction to Simulation
Introduction to SimulationIntroduction to Simulation
Introduction to Simulation
 
SECh910
SECh910SECh910
SECh910
 
Cloud data management
Cloud data managementCloud data management
Cloud data management
 
Doctoral Thesis Presentation
Doctoral Thesis PresentationDoctoral Thesis Presentation
Doctoral Thesis Presentation
 
Unit 6 Simulation.pptx
Unit 6 Simulation.pptxUnit 6 Simulation.pptx
Unit 6 Simulation.pptx
 

Recently uploaded

如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
gapen1
 
Flutter vs. React Native: A Detailed Comparison for App Development in 2024
Flutter vs. React Native: A Detailed Comparison for App Development in 2024Flutter vs. React Native: A Detailed Comparison for App Development in 2024
Flutter vs. React Native: A Detailed Comparison for App Development in 2024
dhavalvaghelanectarb
 
How GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdfHow GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdf
Zycus
 
Photoshop Tutorial for Beginners (2024 Edition)
Photoshop Tutorial for Beginners (2024 Edition)Photoshop Tutorial for Beginners (2024 Edition)
Photoshop Tutorial for Beginners (2024 Edition)
alowpalsadig
 
Computer Science & Engineering VI Sem- New Syllabus.pdf
Computer Science & Engineering VI Sem- New Syllabus.pdfComputer Science & Engineering VI Sem- New Syllabus.pdf
Computer Science & Engineering VI Sem- New Syllabus.pdf
chandangoswami40933
 
Going AOT: Everything you need to know about GraalVM for Java applications
Going AOT: Everything you need to know about GraalVM for Java applicationsGoing AOT: Everything you need to know about GraalVM for Java applications
Going AOT: Everything you need to know about GraalVM for Java applications
Alina Yurenko
 
Building API data products on top of your real-time data infrastructure
Building API data products on top of your real-time data infrastructureBuilding API data products on top of your real-time data infrastructure
Building API data products on top of your real-time data infrastructure
confluent
 
Software Test Automation - A Comprehensive Guide on Automated Testing.pdf
Software Test Automation - A Comprehensive Guide on Automated Testing.pdfSoftware Test Automation - A Comprehensive Guide on Automated Testing.pdf
Software Test Automation - A Comprehensive Guide on Automated Testing.pdf
kalichargn70th171
 
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSISDECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
Tier1 app
 
美洲杯赔率投注网【​网址​🎉3977·EE​🎉】
美洲杯赔率投注网【​网址​🎉3977·EE​🎉】美洲杯赔率投注网【​网址​🎉3977·EE​🎉】
美洲杯赔率投注网【​网址​🎉3977·EE​🎉】
widenerjobeyrl638
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
Bert Jan Schrijver
 
Streamlining End-to-End Testing Automation
Streamlining End-to-End Testing AutomationStreamlining End-to-End Testing Automation
Streamlining End-to-End Testing Automation
Anand Bagmar
 
Secure-by-Design Using Hardware and Software Protection for FDA Compliance
Secure-by-Design Using Hardware and Software Protection for FDA ComplianceSecure-by-Design Using Hardware and Software Protection for FDA Compliance
Secure-by-Design Using Hardware and Software Protection for FDA Compliance
ICS
 
Superpower Your Apache Kafka Applications Development with Complementary Open...
Superpower Your Apache Kafka Applications Development with Complementary Open...Superpower Your Apache Kafka Applications Development with Complementary Open...
Superpower Your Apache Kafka Applications Development with Complementary Open...
Paul Brebner
 
Ensuring Efficiency and Speed with Practical Solutions for Clinical Operations
Ensuring Efficiency and Speed with Practical Solutions for Clinical OperationsEnsuring Efficiency and Speed with Practical Solutions for Clinical Operations
Ensuring Efficiency and Speed with Practical Solutions for Clinical Operations
OnePlan Solutions
 
Alluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio Webinar | 10x Faster Trino Queries on Your Data PlatformAlluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio, Inc.
 
42 Ways to Generate Real Estate Leads - Sellxpert
42 Ways to Generate Real Estate Leads - Sellxpert42 Ways to Generate Real Estate Leads - Sellxpert
42 Ways to Generate Real Estate Leads - Sellxpert
vaishalijagtap12
 
Beginner's Guide to Observability@Devoxx PL 2024
Beginner's  Guide to Observability@Devoxx PL 2024Beginner's  Guide to Observability@Devoxx PL 2024
Beginner's Guide to Observability@Devoxx PL 2024
michniczscribd
 
The Comprehensive Guide to Validating Audio-Visual Performances.pdf
The Comprehensive Guide to Validating Audio-Visual Performances.pdfThe Comprehensive Guide to Validating Audio-Visual Performances.pdf
The Comprehensive Guide to Validating Audio-Visual Performances.pdf
kalichargn70th171
 
ppt on the brain chip neuralink.pptx
ppt  on   the brain  chip neuralink.pptxppt  on   the brain  chip neuralink.pptx
ppt on the brain chip neuralink.pptx
Reetu63
 

Recently uploaded (20)

如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
 
Flutter vs. React Native: A Detailed Comparison for App Development in 2024
Flutter vs. React Native: A Detailed Comparison for App Development in 2024Flutter vs. React Native: A Detailed Comparison for App Development in 2024
Flutter vs. React Native: A Detailed Comparison for App Development in 2024
 
How GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdfHow GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdf
 
Photoshop Tutorial for Beginners (2024 Edition)
Photoshop Tutorial for Beginners (2024 Edition)Photoshop Tutorial for Beginners (2024 Edition)
Photoshop Tutorial for Beginners (2024 Edition)
 
Computer Science & Engineering VI Sem- New Syllabus.pdf
Computer Science & Engineering VI Sem- New Syllabus.pdfComputer Science & Engineering VI Sem- New Syllabus.pdf
Computer Science & Engineering VI Sem- New Syllabus.pdf
 
Going AOT: Everything you need to know about GraalVM for Java applications
Going AOT: Everything you need to know about GraalVM for Java applicationsGoing AOT: Everything you need to know about GraalVM for Java applications
Going AOT: Everything you need to know about GraalVM for Java applications
 
Building API data products on top of your real-time data infrastructure
Building API data products on top of your real-time data infrastructureBuilding API data products on top of your real-time data infrastructure
Building API data products on top of your real-time data infrastructure
 
Software Test Automation - A Comprehensive Guide on Automated Testing.pdf
Software Test Automation - A Comprehensive Guide on Automated Testing.pdfSoftware Test Automation - A Comprehensive Guide on Automated Testing.pdf
Software Test Automation - A Comprehensive Guide on Automated Testing.pdf
 
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSISDECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
 
美洲杯赔率投注网【​网址​🎉3977·EE​🎉】
美洲杯赔率投注网【​网址​🎉3977·EE​🎉】美洲杯赔率投注网【​网址​🎉3977·EE​🎉】
美洲杯赔率投注网【​网址​🎉3977·EE​🎉】
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
 
Streamlining End-to-End Testing Automation
Streamlining End-to-End Testing AutomationStreamlining End-to-End Testing Automation
Streamlining End-to-End Testing Automation
 
Secure-by-Design Using Hardware and Software Protection for FDA Compliance
Secure-by-Design Using Hardware and Software Protection for FDA ComplianceSecure-by-Design Using Hardware and Software Protection for FDA Compliance
Secure-by-Design Using Hardware and Software Protection for FDA Compliance
 
Superpower Your Apache Kafka Applications Development with Complementary Open...
Superpower Your Apache Kafka Applications Development with Complementary Open...Superpower Your Apache Kafka Applications Development with Complementary Open...
Superpower Your Apache Kafka Applications Development with Complementary Open...
 
Ensuring Efficiency and Speed with Practical Solutions for Clinical Operations
Ensuring Efficiency and Speed with Practical Solutions for Clinical OperationsEnsuring Efficiency and Speed with Practical Solutions for Clinical Operations
Ensuring Efficiency and Speed with Practical Solutions for Clinical Operations
 
Alluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio Webinar | 10x Faster Trino Queries on Your Data PlatformAlluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio Webinar | 10x Faster Trino Queries on Your Data Platform
 
42 Ways to Generate Real Estate Leads - Sellxpert
42 Ways to Generate Real Estate Leads - Sellxpert42 Ways to Generate Real Estate Leads - Sellxpert
42 Ways to Generate Real Estate Leads - Sellxpert
 
Beginner's Guide to Observability@Devoxx PL 2024
Beginner's  Guide to Observability@Devoxx PL 2024Beginner's  Guide to Observability@Devoxx PL 2024
Beginner's Guide to Observability@Devoxx PL 2024
 
The Comprehensive Guide to Validating Audio-Visual Performances.pdf
The Comprehensive Guide to Validating Audio-Visual Performances.pdfThe Comprehensive Guide to Validating Audio-Visual Performances.pdf
The Comprehensive Guide to Validating Audio-Visual Performances.pdf
 
ppt on the brain chip neuralink.pptx
ppt  on   the brain  chip neuralink.pptxppt  on   the brain  chip neuralink.pptx
ppt on the brain chip neuralink.pptx
 

An Overview of Performance Evaluation & Simulation

  • 1. AN OVERVIEW OF PERFORMANCE EVALUATION & SIMULATION
  • 2. OVERVIEW OF PERFORMANCE EVALUATION  Intro & Objective  The Art of Performance Evaluation  Professional Organizations, Journals, and conferences.  Performance Projects  Common Mistakes and How to Avoid Them  Selection of Techniques and Metrics
  • 3. WHY WE NEED TO SIMULATE? 3  It may be too difficult, risky, or expensive to observe a real, operational system  Parts of the system may not be observable (e.g., internals of a silicon chip or biological system)
  • 4. USES OF SIMULATIONS  Analyze systems (performance, behavior) before they are built  Reduce the number of design errors  Optimize design to improve the behavior  Analyze operational systems  Create virtual environments for training, entertainment
  • 5. APPLICATIONS OF SIMULATION 5  System Analysis  Telecommunication Networks (ATM, IP, TCP, UDP, WiFi …)  Transportation systems (Traffic, Urban planning, Metro Planning, …)  Electronic systems (e.g., microelectronics, computer systems)  Battlefield simulations (blue army vs. red army)  Ecological systems, Manufacturing systems, Logistics …  Virtual Environments  Physical phenomena (e.g. Trajectory of projectiles)  training and entertainment (e.g., military, medicine, emergency planning, flight simulation)
  • 6. A FEW EXAMPLE APPLICATIONS War gaming: test strategies; training Flight Simulator Transportation systems: improved operations; urban planning Computer communication network: protocol design Parallel computer systems: developing scalable software Games
  • 7.
  • 8. INTRO & OBJECTIVE  Performance is a key criterion in the design, procurement, and use of computer systems.  Performance  Cost  Thus, computer systems professionals need the basic knowledge of performance evaluation techniques.
  • 9. KEYWORDS  System  It is a collection of entities that act and interact together toward the accomplishment of some logical end (computer, network, communication systems, etc.)  Simulation  It is an experiment in a computer where the real system is replaced by the execution of the program  It is a program that mimics (imitate) the behaviour of the real system
  • 10.  Model  It is a simplification of the reality  A (usually miniature) representation of something; an example for imitation or emulation  A model can be Analytical (Queuing Theory) or by Simulation.  Performance Evaluation of a System means quantifying the service delivered by the System  Experimental, Analytical, or by simulation Keywords
  • 15.  Why to use models?  Implementation on real systems is very complex and costly,  Experimentation on real systems may be dangerous (e.g. chemical systems)  If models adequately describes the reality, experimenting with them can save money and time, and reduce the development complexity  When to use simulations?  Analytic models may be very complex to evaluate, and may lead to over implication of the real system  Simulation can be a good alternative to evaluate the system behavior very close to reality Why using Models and Simulations?
  • 16. INTRO & OBJECTIVE  Objective: 1. Select appropriate evaluation techniques, performance metrics and workloads for a system. 2. Conduct performance measurements correctly. 3. Use proper statistical techniques to compare several alternatives. 4. Design measurement and simulation experiments to provide the most information with least effort. 5. Perform simulations correctly.
  • 17. MODELING  Model – used to describe almost any attempt to specify a system under study. Everyday connotation – physical replica of a system.  Scientific – a model is a name given to a portrayal of interrelationships of parts of a system in precise terms. The portrayal can be interpreted in terms of some system attributes and is sufficiently detailed to permit study under a variety of circumstances and to enable the system’ s future behavior to be predicted.
  • 18. A TAXONOMY OF MODELS  Predictability  Deterministic – all data and relationships are given in certainty. Efficiency of an engine based on temperature, load and fuel consumption.  Stochastic - at least some of the variables involved have a value which is made to vary in an unpredictable or random fashion. Example – financial planning.  Solvability  Analytical – simple  Simulation – complicated or an appropriate equation cannot be found.
  • 19. A TAXONOMY OF MODELS  Variability  Whether time is incorporated into the model  Static – specific time (financial)  Dynamic – any time value (food cycle)  Granularity  Granularity of their treatment in time.  Discrete events – clearly some events (packet arrival)  Continuous models – impossible to distinguish between specific events taking place (trajectory of a missile).
  • 20. COMPUTER SIMULATION 20  A Computer Simulation is a computer program that:  attempts to simulate an abstract model of a particular system.  describes the behavior of a real (physical) system and its evolution in time  How it works?  The behavior of the system is described by state variables  The simulation program modifies the states variables to emulate the evolution
  • 22. PERFORMANCE METRICS 22  The Performance Metric is a measurable quantity that precisely captures what we want to measure (response time, throughput, delay, etc.).  For example, In computer systems, we might evaluate  The response time of a processor to execute a given task.  The execution time of two programs in a multi-processor machine.  In Network systems, we might evaluate  The (maximum/average) delay experienced by a voice packet to reach the destination  The throughput of the network  The required bandwidth to avoid congestion
  • 23. WHAT DOES AFFECT THE PERFORMANCE? 23  The performance of a system is dramatically affected by the Workload  The Workload: it characterises the quantity and the nature of the system inputs  In the context of Web Servers, system inputs are http requests (GET or POST requests). The workload characterises  the intensity of the requests: how many requests are received by the web server. High intensities deteriorate the performance.  The nature of the requests: the request can be simple GET request or a request that require the access of a remote database. The performance will be different for different request types.  Benchmarks: used to generate loads that is intended to mimic a typical user behaviour.
  • 24. HOW TO PROCEED? I hear and forget. I see and I remember. I do and I understand – Chinese Proverb
  • 25. PERFORMANCE PROJECTS  The best way to learn simulation is to apply the concepts to a real-system  The project should encompass:  Select a computer sub-system : a network congestion control, security, database, operating systems.  Perform some measurements.  Analyze the collected data.  Simulate AND Analytically model the subsystem  Predict its performance  Validate the Model.
  • 26. PROFESSIONAL ORGANIZATIONS, JOURNALS AND CONFERENCES  ACM Sigmetrics : Association of Computing Machinery’s.  IEEE Computer Society – The Institute of Electrical and Electronic Engineers (IEEE) Computer Society.  IASTED – The International Association of Science and Technology for Development
  • 27. COMMON MISTAKES AND HOW TO AVOID THEM 1. No Goals 2. Biased Goals 3. Unsystematic Approach 4. Analysis without understanding The Problem 5. Incorrect Performance Metrics 6. Unrepresentative Workloads 7. Wrong Evaluation Techniques 8. Overlooking Important Parameters 9. Ignoring Significant Factors
  • 28. COMMON MISTAKES AND HOW TO AVOID THEM 10. Inappropriate Experimental Design 11. Inappropriate Level of Detail 12. No Analysis 13. Erroneous Analysis 14. No Sensitivity Analysis 15. Ignoring Errors in Input 16. Improper Treatment of Outliers 17. Assuming No Change in the Future 18. Ignoring Variability
  • 29. COMMON MISTAKES AND HOW TO AVOID THEM 19. Too Complex Analysis 20. Improper Presentation of Results 21. Ignoring Social Aspects 22. Omitting Assumptions and Limitations.
  • 30. A SYSTEMATIC APPROACH  State Goals and Define the System  List Services and Outcomes  Select Metrics  List Parameters  Select Factors to Study  Select Evaluation Technique  Select Workload  Design Experiments  Analyze and Interpret Data  Present Results