Technische universiteit eindhoven 20 October 2001www.ics.ele.tue.nl/~btheelen1 Performance Modeling in the Large: A Case Study B.D. Theelen.

Slides:



Advertisements
Similar presentations
Network II.5 simulator ..
Advertisements

Analysis of Computer Algorithms
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. A PowerPoint Presentation Package to Accompany Applied Statistics.
MicroKernel Pattern Presented by Sahibzada Sami ud din Kashif Khurshid.
Technische universiteit eindhoven 1 Problem 16: Design-space Exploration Jeroen Voeten, Bart Theelen Eindhoven University of Technology Embedded Systems.
Construction process lasts until coding and testing is completed consists of design and implementation reasons for this phase –analysis model is not sufficiently.
To Queue or Not to Queue? Physical queues can be really stressful and exhausting…
Technische universiteit eindhoven PROGRESS 11 December 2002www.ics.ele.tue.nl/~btheelen1 Performance Modelling of Complex Hardware/Software Systems B.D.
Technische universiteit eindhoven 4 September 2002www.ics.ele.tue.nl/~btheelen1 B.D. Theelen Architecture Design of a Scalable Single-Chip Multi-Processor.
Modeling and Simulation By Lecturer: Nada Ahmed. Introduction to simulation and Modeling.
Technische universiteit eindhoven November 2000Ad Verschueren and Bart Theelen1 The Multi Micro Processor Eindhoven.
Design of Experiments Lecture I
Performance Model Checking Scenario-Aware Dataflow Bart Theelen, Marc Geilen, Jeroen Voeten.
Introducing Formal Methods, Module 1, Version 1.1, Oct., Formal Specification and Analytical Verification L 5.
Marc Geilen, Eindhoven University of Technology, Information and Communication Systems 1 Object-Oriented Modelling and Specification.
Fast Algorithms For Hierarchical Range Histogram Constructions
Analytical Modeling and Evaluation of On- Chip Interconnects Using Network Calculus M. BAkhouya, S. Suboh, J. Gaber, T. El-Ghazawi NOCS 2009, May 10-13,
Helper Threads via Virtual Multithreading on an experimental Itanium 2 processor platform. Perry H Wang et. Al.
Presented by: Thabet Kacem Spring Outline Contributions Introduction Proposed Approach Related Work Reconception of ADLs XTEAM Tool Chain Discussion.
Technische universiteit eindhoven 25 September 2002www.ics.ele.tue.nl/~btheelen1 Using the SHE Method for UML-based Performance Modelling B.D. Theelen.
Dynamic Tuning of the IEEE Protocol to Achieve a Theoretical Throughput Limit Frederico Calì, Marco Conti, and Enrico Gregori IEEE/ACM TRANSACTIONS.
CS 267 Spring 2008 Horst Simon UC Berkeley May 15, 2008 Code Generation Framework for Process Network Models onto Parallel Platforms Man-Kit Leung, Isaac.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Introduction to Simulation Shiv Kalyanaraman Rensselaer Polytechnic Institute
The new The new MONARC Simulation Framework Iosif Legrand  California Institute of Technology.
High-Level System Design Using Foresight Giovanna Di Marzo Serugendo IT / CE.
Localized Asynchronous Packet Scheduling for Buffered Crossbar Switches Deng Pan and Yuanyuan Yang State University of New York Stony Brook.
IE 594 : Research Methodology – Discrete Event Simulation David S. Kim Spring 2009.
Ch.2 Part A: Requirements, State Charts EECE **** Embedded System Design.
- 1 - Embedded Systems—State charts Specifications.
- 1 -  P. Marwedel, Univ. Dortmund, Informatik 12, 2005/6 Universität Dortmund Specifications.
(C) 2009 J. M. Garrido1 Object Oriented Simulation with Java.
1 Performance Evaluation of Computer Networks: Part II Objectives r Simulation Modeling r Classification of Simulation Modeling r Discrete-Event Simulation.
Random Sampling, Point Estimation and Maximum Likelihood.
Introduction CS 3358 Data Structures. What is Computer Science? Computer Science is the study of algorithms, including their  Formal and mathematical.
QoS Support in High-Speed, Wormhole Routing Networks Mario Gerla, B. Kannan, Bruce Kwan, Prasasth Palanti,Simon Walton.
Benjamin Gamble. What is Time?  Can mean many different things to a computer Dynamic Equation Variable System State 2.
1 Performance Evaluation of Computer Systems and Networks Introduction, Outlines, Class Policy Instructor: A. Ghasemi Many thanks to Dr. Behzad Akbari.
Performance Model & Tools Summary Hung-Hsun Su UPC Group, HCS lab 2/5/2004.
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.
A performance evaluation approach openModeller: A Framework for species distribution Modelling.
Modeling and simulation of systems Model building Slovak University of Technology Faculty of Material Science and Technology in Trnava.
Introduction CS 3358 Data Structures. What is Computer Science? Computer Science is the study of algorithms, including their  Formal and mathematical.
1 Chapters 8 Overview of Queuing Analysis. Chapter 8 Overview of Queuing Analysis 2 Projected vs. Actual Response Time.
ICOM 6115: Computer Systems Performance Measurement and Evaluation August 11, 2006.
Simulation is the process of studying the behavior of a real system by using a model that replicates the behavior of the system under different scenarios.
Performance evaluation of component-based software systems Seminar of Component Engineering course Rofideh hadighi 7 Jan 2010.
Jeroen Voeten, Information and Communication Systems Group 1 System Level Modelling in POOSL J. Voeten, P. van der Putten,
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 4 TCP/IP Network Simulation.
ECE 466/658: Performance Evaluation and Simulation Introduction Instructor: Christos Panayiotou.
6. A PPLICATION MAPPING 6.3 HW/SW partitioning 6.4 Mapping to heterogeneous multi-processors 1 6. Application mapping (part 2)
Chapter 2 Fundamental Simulation Concepts
Computing Simulation in Orders Based Transparent Parallelizing Pavlenko Vitaliy Danilovich, Odessa National Polytechnic University Burdeinyi Viktor Viktorovych,
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.
An Efficient Gigabit Ethernet Switch Model for Large-Scale Simulation Dong (Kevin) Jin.
Introduction to Simulation Andy Wang CIS Computer Systems Performance Analysis.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
1 An Analytical Model for the Dimensioning of a GPRS/EDGE Network with a Capacity Constraint on a Group of Cells r , r , r Nogueira,
An Efficient Gigabit Ethernet Switch Model for Large-Scale Simulation Dong (Kevin) Jin.
Introduction to Real-Time Systems
Csci 418/618 Simulation Models Dr. Ken Nygard, IACC 262B
Computacion Inteligente Least-Square Methods for System Identification.
Building Valid, Credible & Appropriately Detailed Simulation Models
Confidence Intervals Cont.
OPERATING SYSTEMS CS 3502 Fall 2017
Prepared by Lloyd R. Jaisingh
Managing Service Level Agreements in Service Oriented Product Lines
Introduction to Simulation
Operating Systems CPU Scheduling.
Gabor Madl Ph.D. Candidate, UC Irvine Advisor: Nikil Dutt
Reference-Driven Performance Anomaly Identification
Presentation transcript:

technische universiteit eindhoven 20 October 2001www.ics.ele.tue.nl/~btheelen1 Performance Modeling in the Large: A Case Study B.D. Theelen

technische universiteit eindhoven 20 October 2001www.ics.ele.tue.nl/~btheelen2 Contents Introduction Parallel Object-Oriented Specification Language (POOSL) Case Study: Internet Router Modeling the Internet Router Exhaustive Performance Analysis Performance Evaluation by Simulation Accuracy Analysis Conclusions

technische universiteit eindhoven 20 October 2001www.ics.ele.tue.nl/~btheelen3 System-Level Design Methods Focus on developing executable models, which – Describe a system in the earliest phases of the design process – Abstract from many implementation details – Are relatively cheap to create, validate, test, debug and simulate Allow the analysis of system properties before the system is actually being realized in terms of hardware and software Correctness properties – Correctness properties: absence of deadlock, … Performance properties – Performance properties: throughput, packet-loss, jitter, … Enable to take well-founded design decisions based on the obtained system property analysis results Require the use of a well-defined modeling language Parallel Object-Oriented Specification Language (POOSL)

technische universiteit eindhoven 20 October 2001www.ics.ele.tue.nl/~btheelen4 POOSL System-level modeling language for complex real-time distributed hardware/software systems very expressiveSmall set of very expressive primitives mathematically definedFormal (mathematically defined) semantics –Probabilistic features for performance analysis Process part based on real-time extension of CCS –Process objects model the elementary time-related behavior –Channels enable synchronous message passing between process objects –Clusters allow for describing hierarchy Data part based on imperative object-oriented languages –Data objects model data structures and operations on themwww.ics.ele.tue.nl/~lvbokhov/poosl

technische universiteit eindhoven 20 October 2001www.ics.ele.tue.nl/~btheelen5 Alcatel 7770 RCP (Routing Core Platform) Internet Router 640 Gb/s – 10 Tb/s OC-3 – OC kW $

technische universiteit eindhoven 20 October 2001www.ics.ele.tue.nl/~btheelen6 Overview of the Internet Router Is the specified flow-control mechanism suitable for future product variants? Inputs Outputs Sources Input BuffersOutput Buffers Sinks Switch Core 11 NN 1 N N 1 N 1 1 N M 1 M 1

technische universiteit eindhoven 20 October 2001www.ics.ele.tue.nl/~btheelen7 System Parameters N and M SourcesNxM Source Activities Input BuffersN Input Dispatchers NxN Queue Output Handlers Switch CoreNxNSwitch Activities Output BuffersN Queue Input Handlers NQueue Output Handlers SinksN Sink Activities 2N 2 + (M+ 4) NActivities Huge number of concurrent activities

technische universiteit eindhoven 20 October 2001www.ics.ele.tue.nl/~btheelen8 Scalability of the Model drawingInstantiating a process object is performed by drawing the object Modeling each component with a separate process object is not favorable for large N and M parameterizedsimilarInitialize parameterized number of similar concurrent activities Initialize()() InitializeActivity(1)(). InitializeActivity(Identity: Integer)() par Activity(Identity)()/* Invokes the actual Activity */ and if (Identity < N) then InitializeActivity(Identity + 1)() fi rap. (Optimization: dynamic creation and termination of concurrent activities)

technische universiteit eindhoven 20 October 2001www.ics.ele.tue.nl/~btheelen9 Executable Model SHESimCreate executable model with SHESim tool –Freely available on:

technische universiteit eindhoven 20 October 2001www.ics.ele.tue.nl/~btheelen10 Validation adequateIs the model adequate for analyzing the performance metrics? SHESimValidate, test and debug model using SHESim tool

technische universiteit eindhoven 20 October 2001www.ics.ele.tue.nl/~btheelen11 Formalization of Performance Properties The flow-control mechanism should contribute to –Minimizing packet-loss –Minimizing buffer capacity –Minimizing latency –Maximizing throughput Performance metrics to analyze –Probability of losing packets –Average and maximum buffer occupancy –Average and maximum latency –Throughput Use POOSL formalism to extend model for performance analysis

technische universiteit eindhoven 20 October 2001www.ics.ele.tue.nl/~btheelen12 Performance Evaluation with POOSL Formal Semantics Markov Decision Process & Reward Structure Understandable POOSL Model & Extensions for Performance Analysis Out!Packet(p) 1 S1S1 S2S2 S3S3 S4S4 External Scheduler Discrete-Time Markov Chain & Reward Structure Markov Chain is implicitly defined by expressive modeling language and not by hand

technische universiteit eindhoven 20 October 2001www.ics.ele.tue.nl/~btheelen13 Performance Evaluation with POOSL Analytically: Ergodic Theorem for Markov Chains –Example: time-average buffer occupation Simulation: Central Limit Theorem for Markov Chains –Dependable random variables –Example: packet-loss probability –Enables accuracy analysis with confidence intervals

technische universiteit eindhoven 20 October 2001www.ics.ele.tue.nl/~btheelen14 Performance Evaluation by Simulation RotalumisFast simulation with Rotalumis tool –Freely available on: Simulation = generation of one trace through Markov chain How long should a simulation take to obtain accurate results? confidence intervalsAnalyze accuracy of simulation results with confidence intervals Automatic termination of simulation

technische universiteit eindhoven 20 October 2001www.ics.ele.tue.nl/~btheelen15 Accuracy Analysis For N=512 and M=128, a 99% confidence interval [ , ] is obtained for the average latency –Estimation of average latency is seconds –We are 99% sure that the real average latency lies in [ , ] –An upper bound for the relative error is 1% –Takes seconds of simulated real-time –Takes 11.9 hours of simulation time long-run averagesPOOSL classes for accuracy analysis of long-run averages –Long-run sample average: packet-loss probability, latency –Long-run sample variance: jitter –Long-run time average: buffer occupancy, processor utilization –Long-run time variance: buffer occupancy Rare events (losing a packet) may change the status of a metric

technische universiteit eindhoven 20 October 2001www.ics.ele.tue.nl/~btheelen16 Conclusions compact abstractreal-life systemsadequatelyperformancePOOSL allows for a compact abstract description of real-life systems to adequately investigate their performance properties Performance analysis requires extending the original model POOSL model implicitly defines a Markov chain computationFormal semantics enables computation of performance validationsimulationPOOSL tools offer good validation and simulation possibilities Confidence and accuracy of simulation results should be known accuracy analysisPOOSL library classes for accuracy analysis Future research –Long-run rate average (throughput) and rate variance (burstiness) –Rare events monitors –Support for performance metric monitors