Copyright. Network and Protocol Simulation. What is simulation? What is simulation? What is simulation? What is simulation?

Similar documents
Copyright. Transport networks. Physical layer Transport and access networks. Pag. 1

1: B asic S imu lati on Modeling

Introduction to Engineering System Dynamics

Politecnico di Milano Advanced Network Technologies Laboratory

Dynamic Process Modeling. Process Dynamics and Control

Discrete-Event Simulation

What is Modeling and Simulation and Software Engineering?

Discrete-Event Simulation

NOVEL PRIORITISED EGPRS MEDIUM ACCESS REGIME FOR REDUCED FILE TRANSFER DELAY DURING CONGESTED PERIODS

HSR HOCHSCHULE FÜR TECHNIK RA PPERSW I L

Network Design Performance Evaluation, and Simulation #6

Bootstrapping Big Data

MODELING OF SYN FLOODING ATTACKS Simona Ramanauskaitė Šiauliai University Tel ,

How To Teach Math

Data Isn't Everything

Development of dynamically evolving and self-adaptive software. 1. Background

The Master s Degree with Thesis Course Descriptions in Industrial Engineering

Chapter 1. Introduction

DC mesh current analysis

Christian Bettstetter. Mobility Modeling, Connectivity, and Adaptive Clustering in Ad Hoc Networks

MANAGING QUEUE STABILITY USING ART2 IN ACTIVE QUEUE MANAGEMENT FOR CONGESTION CONTROL

Memo: August 27, To: new or prospective students entering our PhD or MS program who are interested in computer networking.

TEACHING SIMULATION WITH SPREADSHEETS

Model-based Synthesis. Tony O Hagan

Smart Queue Scheduling for QoS Spring 2001 Final Report

Two Topics in Parametric Integration Applied to Stochastic Simulation in Industrial Engineering

Traffic Prediction in Wireless Mesh Networks Using Process Mining Algorithms

DECISION MAKING UNDER UNCERTAINTY:

Simulation and capacity calculation in real German and European interconnected gas transport systems

VDM vs. Programming Language Extensions or their Integration

Simulation and Risk Analysis

1. Implementation of a testbed for testing Energy Efficiency by server consolidation using Vmware

Master of Science Service Oriented Architecture for Enterprise. Courses description

One LAR Course Credits: 3. Page 4

The Basics of FEA Procedure

Prediction of DDoS Attack Scheme

Agenda. Michele Taliercio, Il circuito Integrato, Novembre 2001

Analysis of IP Network for different Quality of Service

Dynamic Simulation and Supply Chain Management

The Masters of Science in Information Systems & Technology

ME6130 An introduction to CFD 1-1

Ontology and automatic code generation on modeling and simulation

Distributed Database for Environmental Data Integration

The Artificial Prediction Market

Introduction to time series analysis

Programma della seconda parte del corso

MSCA Introduction to Statistical Concepts

Curriculum Map. Discipline: Computer Science Course: C++

14 Model Validation and Verification

South Carolina College- and Career-Ready (SCCCR) Probability and Statistics

UF EDGE brings the classroom to you with online, worldwide course delivery!

Statistics Graduate Courses

Analysis of a Production/Inventory System with Multiple Retailers

Markovian Process and Novel Secure Algorithm for Big Data in Two-Hop Wireless Networks

Quality of Building Performance Simulation Predictions - Quality Assurance

Lecture 8 February 4

Network management and QoS provisioning - QoS in the Internet

VoIP Network Dimensioning using Delay and Loss Bounds for Voice and Data Applications

Minimizing code defects to improve software quality and lower development costs.

Predictive and Prescriptive Analytics An Example: Advanced Sales & Operations Planning

Module 1: Introduction to Computer System and Network Validation

Establishing How Many VoIP Calls a Wireless LAN Can Support Without Performance Degradation

Copyright. GSM - Phase 2+ From GSM to GPRS. From GSM to GPRS. Motivations. General Packet Radio Service (GPRS) HSCSD EDGE GPRS

Study Plan Masters of Science in Computer Engineering and Networks (Thesis Track)

Simulation in a Nutshell

ModelingandSimulationofthe OpenSourceSoftware Community

CDC UNIFIED PROCESS PRACTICES GUIDE

Data Mining and Neural Networks in Stata

Software Engineering. Software Processes. Based on Software Engineering, 7 th Edition by Ian Sommerville

Operations and Supply Chain Management Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

6PANview: A Network Monitoring System for the Internet of Things

Stability of QOS. Avinash Varadarajan, Subhransu Maji

E10: Controlled Experiments

Custom Web Development Guidelines

Assignment 2: Option Pricing and the Black-Scholes formula The University of British Columbia Science One CS Instructor: Michael Gelbart

SMIB A PILOT PROGRAM SYSTEM FOR STOCHASTIC SIMULATION IN INSURANCE BUSINESS DMITRII SILVESTROV AND ANATOLIY MALYARENKO

General Problem Solving Model. Software Development Methodology. Chapter 2A

Monte Carlo Methods in Finance

AN ANALYSIS OF DELAY OF SMALL IP PACKETS IN CELLULAR DATA NETWORKS

On the Use of Compression Algorithms for Network Traffic Classification

MSCA Introduction to Statistical Concepts

Advanced Big Data Analytics with R and Hadoop

Dynamic Network Analyzer Building a Framework for the Graph-theoretic Analysis of Dynamic Networks

A Comparison of System Dynamics (SD) and Discrete Event Simulation (DES) Al Sweetser Overview.


VisuSniff: A Tool For The Visualization Of Network Traffic

ANALYTICS IN BIG DATA ERA

Oracle Value Chain Planning Inventory Optimization

Enterprise Application Performance Management: An End-to-End Perspective

EDUMECH Mechatronic Instructional Systems. Ball on Beam System

Figure 1. Basic Petri net Elements

Configuration of Cisco Routers. Mario Baldi

Transcription:

Copyright Network and Protocol Simulation Michela Meo Maurizio M. Munafò Michela.Meo@polito.it Maurizio.Munafo@polito.it Quest opera è protetta dalla licenza Creative Commons NoDerivs-NonCommercial. Per vedere una copia di questa licenza, consultare: http://creativecommons.org/licenses/nd-nc/1.0/ oppure inviare una lettera a: Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA. This work is licensed under the Creative Commons NoDerivs-NonCommercial License. To view a copy of this license, visit: http://creativecommons.org/licenses/nd-nc/1.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA. TLC Networks Group - Politecnico di Torino 1 TLC Networks Group - Politecnico di Torino 2 To simulate a system means to imitate its behavior in time By imitating the system behavior, we artificially recreate its history and evolution From the system evolution we can deduce a lot of information on the system itself We may be interested in discovering or verifying system performance correctness capabilities reliability TLC Networks Group - Politecnico di Torino 3 TLC Networks Group - Politecnico di Torino 4 Several simulation objectives: System design Dimensioning of the system components to satisfy requirements Effects of the improvements or changes of system components on the overall system performance Comparison of different system designs To simulate we need to develop a simulation model A simulation model is made by a set of on the system and its behavior A model describes a dynamic system as a set of components interacting according to specific rules TLC Networks Group - Politecnico di Torino 5 TLC Networks Group - Politecnico di Torino 6 1

The system and its components are described by state variables To describe the system evolution we need to describe the rules according which the system changes its own state To imitate the system and recreate its history means to rebuild the sequence of states visited by the system When do we need to simulate? During the design phase no existing implementation or prototype of the actual system On systems already existing To study the system in special conditions, like critical or future scenarios To design improvements for the system components TLC Networks Group - Politecnico di Torino 7 TLC Networks Group - Politecnico di Torino 8 Areas of Application Manufacturing applications Logistics, supply chains and distribution applications Transportation modes and traffic Business process simulation Construction engineering and project management Health care and many others Performance analysis Verification of the correct workings of the network under different assumptions: traffic, environment (e.g., radio-channel noise), failures Verification of conditions to guarantee QoS levels System performance under future traffic TLC Networks Group - Politecnico di Torino 9 TLC Networks Group - Politecnico di Torino 10 System dimensioning Effects due to the increase of the link capacities in the network Effects on the network due to the introduction of new nodes/routers Choice of the node buffer capacity Choice of the number of new resources in the system (radio channels for cellular systems, physical channels for telephone networks) Protocol design Performance comparison between different protocols (e.g., different TCP versions) Selection of protocol parameters as a function of the network conditions and the traffic load Design and development of new protocols Interaction between protocols at different architectural layers TLC Networks Group - Politecnico di Torino 11 TLC Networks Group - Politecnico di Torino 12 2

Network design Comparison between resource allocation schemes Study of the interaction among network elements Performance analysis of networks with different topologies Verification of network reliability and resilience TLC Networks Group - Politecnico di Torino 13 Simulation models A simulation model is a formal representation of a system (in the form a set of ) derived from the theoretical knowledge of the system or from empirical observations We need to identify the boundary between the system and its environment The system environment, even if it not the object of our model, will have effects on the model and on the system behavior TLC Networks Group - Politecnico di Torino 14 Some definitions State: describes the system behavior in any time instant Entities: objects of interest in the system Attributes: properties of an entity Activity: a time period dedicated to a specific operation Event: an instantaneous occurrence that changes the system state Endogenous: events and activities internal to the system Exogenous: events and activities in the environment that affect the system Models can be classified as being mathematical or physical Mathematical models uses symbolic notation and mathematical equations to represent a system (simulation models are special mathematical models) Physical models are simplified physical systems that try to reproduce some of the characteristics of the original system TLC Networks Group - Politecnico di Torino 15 TLC Networks Group - Politecnico di Torino 16 Analytical models An analytical model of the system can be a viable alternative to simulation for simple systems or under special Using an analytical model we can obtain indications on the system performance through mathematical expressions Physics laws, differential equations, Markov chains, Petri nets Analytical models The analytical models can have Exact solution: the solution is represented by a closed form expression (e.g., Physics laws, some basic results from queuing theory) Numerical solution: due to its complexity, the solution can be obtained only though numerical approximation (e.g. fixed-point methods, solutions not expressed in closed form, solutions of equation systems) TLC Networks Group - Politecnico di Torino 17 TLC Networks Group - Politecnico di Torino 18 3

Analytical vs. simulation models Analytical models Emphasize the cause-effect relations between inputs and outputs Limited solution cost (in time and computational power) Help the system comprehension Fewer technical errors (bugs) Simulation models Better adherence the actual system Easier to introduce incremental improvements in the model Easier to modify some to the underlying model Simpler model construction TLC Networks Group - Politecnico di Torino 19 Models can further be classified as Static: the system behavior does not change in time (or it is studied in a fixed moment in time) (e.g. Monte Carlo models) Dynamic: the system behavior changes in time Dynamic models can be classified as Discrete models Continuous models TLC Networks Group - Politecnico di Torino 20 Dynamic models can be classified as Discrete: the system state changes only in a discrete set of points in time Continuous: the system state changes continuously in time (fluid models) state state Models can be classified as being Deterministic: the model does not contain random variables, therefore a set of input values will produce a unique set of outputs Stochastic: inputs are represented by random variables, so the outputs are random processes (and an estimate of the true characteristics of the model) t TLC Networks Group - Politecnico di Torino 21 t TLC Networks Group - Politecnico di Torino 22 When considering stochastic models, a simulation run will consist in Performing a stochastic experiment Observing a single possible realization of the process describing the evolution of the system state in time The simulation output analysis will require the application of statistic techniques on results collected in several simulation runs Analytical / Numeric Static / Dynamic Deterministic / Stochastic Ohm s Law A S D Law of Large Numbers A S S Markovian Processes A (N) D S Non-linear differential equations N D D Simulation N D S TLC Networks Group - Politecnico di Torino 23 TLC Networks Group - Politecnico di Torino 24 4

Problem formulation Setting of objectives Overall project plan Model conceptualization Ability of abstracting the essential features of the system Selection of simplifying at a suitable level of details The level of details will depend from a tradeoff between accuracy and realism A simulation model with too many details will Require longer development time (debugging) Require a higher running time (long simulations) Produce complex results difficult to be interpretated A simulation model with too little details will Be unsuitable to observe some interesting and particular behavior of the system Be unrealistic and produce wrong conclusions on the system behavior TLC Networks Group - Politecnico di Torino 25 TLC Networks Group - Politecnico di Torino 26 Data collection Selection of the input parameters considered to be important for the model Study and characterization of the parameters (from raw data to statistical distributions) Model translation -> Coding Model verification -> Is the code correct? Model validation -> Is the model correct? Comparison of some model results with the expected model behavior (e.g. with data previously collected) Experimental design Length of the initialization periods Length of simulation runs Number of simulation runs Production runs and analysis More runs? TLC Networks Group - Politecnico di Torino 27 TLC Networks Group - Politecnico di Torino 28 Common issues Wrong detail level Unsuitable programming language or modeling approach Unrealistic model Bias due to long initialization periods Short simulation runs Too few simulation runs Wrong/unsuitable random number generators 5