Computer Simulation of Networks ECE/CSC 777: Telecommunications Network Design Fall, 2013, Rudra Dutta.

Slides:



Advertisements
Similar presentations
Network II.5 simulator ..
Advertisements

Seminar On “ OMNET++ Network Simulator” Presented By: Saurav K Bengani Guided By: Guided By: Dr. Andrew yang Dr. Andrew yang.
UML Diagrams Jung Woo. What is UML? Standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems, business.
MIS 325 PSCJ. 2  Business processes can be quite complex  Process model: any abstract representation of a process  Process-modeling tools provide a.
Copyright © 2005 Department of Computer Science CPSC 641 Winter PERFORMANCE EVALUATION Often in Computer Science you need to: – demonstrate that.
Introduction To System Analysis and Design
L4-1-S1 UML Overview © M.E. Fayad SJSU -- CmpE Software Architectures Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I.
SE 450 Software Processes & Product Metrics Reliability: An Introduction.
Component-Level Design
CS 501: Software Engineering Fall 2000 Lecture 16 System Architecture III Distributed Objects.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
Introduction to Management Information Systems Chapter 5 Data Communications and Internet Technology HTM 304 Fall 07.
Matnet – Matlab Network Simulator for TinyOS Alec WooTerence Tong July 31 st, 2002.
1 PERFORMANCE EVALUATION H Often in Computer Science you need to: – demonstrate that a new concept, technique, or algorithm is feasible –demonstrate that.
A Tool for Describing and Evaluating Hierarchical Real-Time Bus Scheduling Policies Author: Trevor Meyerowitz, Claudio Pinello, Alberto DAC2003, June 24,2003.
Receiver-driven Layered Multicast Paper by- Steven McCanne, Van Jacobson and Martin Vetterli – ACM SIGCOMM 1996 Presented By – Manoj Sivakumar.
Network Simulation Internet Technologies and Applications.
Copyrighted material John Tullis 8/13/2015 page 1 Blaze Software John Tullis DePaul Instructor
I NTRODUCTION OF S IMULATION AND OPNET I.Aseel AlTurki King Saud University.
 A network simulator is a piece of software or hardware that predicts the behavior of a network, without an actual network being present.
EstiNet Network Simulator & Emulator 2014/06/ 尉遲仲涵.
QualNet 2014/05/ 尉遲仲涵. Outline Directory Structure QualNet Basic Message & Event QualNet simulation architecture Protocol Model Programming.
OMNET++. Outline Introduction Overview The NED Language Simple Modules.
OPNET Modeler - An Introduction For COSC (taught by Dr. Osborne) - Zankar Parekh.
Redes Inalámbricas Máster Ingeniería de Computadores 2008/2009 Tema 7.- CASTADIVA PROJECT Performance Evaluation of a MANET architecture.
(C) 2009 J. M. Garrido1 Object Oriented Simulation with Java.
Institute of Computer and Communication Network Engineering OFC/NFOEC, 6-10 March 2011, Los Angeles, CA Lessons Learned From Implementing a Path Computation.
CIT UPES | Sept 2013 | Unified Modeling Language - UML.
HyunJun Choi Aug 27, 2004 OPNET Simulator HyunJun Choi Aug 27, 2004 Informational Communication University.
ARQ Mechanisms Rudra Dutta ECE/CSC Fall 2010, Section 001, 601.
 Protocols used by network systems are not effective to distributed system  Special requirements are needed here.  They are in cases of: Transparency.
Introduction To System Analysis and Design
Data and Computer Communications Circuit Switching and Packet Switching.
Clever Framework Name That Doesn’t Violate Copyright Laws MARCH 27, 2015.
Parallel and Distributed Simulation Introduction and Motivation.
Real Time Event Based Communication Team Abhishekh Padmanabhan CIS 798 Final Presentation.
Control in ATLAS TDAQ Dietrich Liko on behalf of the ATLAS TDAQ Group.
4 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved. Computer Software Chapter 4.
UML diagrams What is UML UML diagrams –Static modeoing –Dynamic modeling 1.
L6-S1 UML Overview 2003 SJSU -- CmpE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College.
CS3505: DATA LINK LAYER. data link layer  phys. layer subject to errors; not reliable; and only moves information as bits, which alone are not meaningful.
CPSC 871 John D. McGregor Module 3 Session 1 Architecture.
Workshop BigSim Large Parallel Machine Simulation Presented by Eric Bohm PPL Charm Workshop 2004.
Interconnect simulation. Different levels for Evaluating an architecture Numerical models – Mathematic formulations to obtain performance characteristics.
Interconnect simulation. Different levels for Evaluating an architecture Numerical models – Mathematic formulations to obtain performance characteristics.
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 4 TCP/IP Network Simulation.
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.
MODELING EXAMPLES Types of model Conceptual Containing components that have not been clearly Identified in terms of theoretic categories such as state,
Protocol Specification Prof Pallapa. Venkataram Department of Electrical Communication Engineering Indian Institute of Science Bangalore – , India.
1 Copyright  2001 Pao-Ann Hsiung SW HW Module Outline l Introduction l Unified HW/SW Representations l HW/SW Partitioning Techniques l Integrated HW/SW.
Architecture View Models A model is a complete, simplified description of a system from a particular perspective or viewpoint. There is no single view.
1 Technical & Business Writing (ENG-715) Muhammad Bilal Bashir UIIT, Rawalpindi.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
Finite State Machines (FSM) OR Finite State Automation (FSA) - are models of the behaviors of a system or a complex object, with a limited number of defined.
Network Protocol Simulation: A look at Discrete Event Simulation Grant D. Lanterman 5/21/2004.
6/28/ A global mesh of interconnected networks (internetworks) meets these human communication needs. Some of these interconnected networks are.
Traffic Simulation L2 – Introduction to simulation Ing. Ondřej Přibyl, Ph.D.
INTRODUCTION TO WIRELESS SENSOR NETWORKS
Network Simulation with Opnet
OPERATING SYSTEMS CS 3502 Fall 2017
UML Diagrams By Daniel Damaris Novarianto S..
Network Simulators.
UML Diagrams Jung Woo.
Introduction to Opnet Mobile Networks Introduction to Opnet
Computer Simulation of Networks
Computer Systems Performance Evaluation
Computer Systems Performance Evaluation
Chapter-5 Traffic Engineering.
Presentation transcript:

Computer Simulation of Networks ECE/CSC 777: Telecommunications Network Design Fall, 2013, Rudra Dutta

Copyright Fall 2013, Rudra Dutta, NCSU Objective - Performance Study Direct Measurement – Reactive Disrupts the user/system, affects the behavior/characteristics Can be done only on completed running systems Predictive – Analytical Methods Useful if the model is available and is computationally efficient – Most systems are complex and require highly complex mathematical models Usually only steady state can be modeled – Simulation Give more detail than analytical modeling – Very useful when large design space to be explored – Can study dynamic behavior Not exact and involves some amount of approximation – Can explore only part of operational space Halfway approach - some implementation

Copyright Fall 2013, Rudra Dutta, NCSU Simulation and Model Image courtesy of GSU, “Hyperphysics” site, Rovio

Copyright Fall 2013, Rudra Dutta, NCSU Simulation Programmatic representation of system entities – We know how bits and pieces of the system work algorithmically Possibly for some bits we know mathematically – Implement these algorithms and let them interact Two main types of simulation – Discrete event discrete points in time, using random number generators – Continuous time State changes occur continuously across time Packages – E.g. OPNET (commercial), NS-2 (open source), OMNeT++ – Levels of detail E.g. packet level, flow level

Copyright Fall 2013, Rudra Dutta, NCSU Discrete Event Simulation Useful for speeding up when details are abstracted Decide what happens first – Many things happen after this that are not modeled in the simulation – E.g. in GBN the next thing after receiving frame is sending ACK Decide what events are triggered by this event that are modeled by simulation – Arrange in order of time of occurrence Jump to next event, do the same – Until you run out of events, or have run it for “long enough”

Discrete Event Example Sender transmits three messages at times 0s, 10s, 20s The channel takes 2s to propagate Receiver takes a random time between 1s and 9s to process Sends back either a “more info” request or an “OK”, alternately Upon “more info”, sender sends one more message immediately Copyright Fall 2013, Rudra Dutta, NCSU S S D D 0s: S sends P1 10s: S sends P2 20s: S sends P3 2s: R rcvs P1

Discrete Event Example Sender transmits three messages at times 0s, 10s, 20s The channel takes 2s to propagate Receiver takes a random time between 1s and 9s to process Sends back either a “more info” request or an “OK”, alternately Upon “more info”, sender sends one more message immediately Copyright Fall 2013, Rudra Dutta, NCSU S S D D 0s: S sends P1 10s: S sends P2 20s: S sends P3 13s: R rcvs P1+ 11s: S sends P1+ 11s: S rcvs MI 9s: R sends MI 2s: R rcvs P1 12s: R rcvs P2

Copyright Fall 2013, Rudra Dutta, NCSU Event Processors Each event generates new events – Event generation algorithm is an algorithmic model of the part of the system being simulated – “Callback” handlers or processors Processing algorithms represent specific entities, e.g. GBN receiver – These can obviously grow quite complex Usually the bulk of the effort of simulation – Also the problem specific part – The Discrete Event framework is an engine and can be commoditized – Hence the concept of “entity models” that plug into such an engine

Copyright Fall 2013, Rudra Dutta, NCSU Introduction to OPNET A variegated software package – Modeler, IT Guru, SP Guru, … Modeler: a comprehensive development environment driven from GUI Features – Object-oriented modeling – Discrete event simulator – Integrated data analysis tool – More scalable and efficient simulation engine – Hundreds of protocol and vendor device models – Flexibility to develop detailed custom models Extensive online documentation and tutorials - quick overview here

Copyright Fall 2013, Rudra Dutta, NCSU Specification Data Collection and Simulation Analysis Using OPNET The cycle is repeated until we achieve the correct objective

Copyright Fall 2013, Rudra Dutta, NCSU Typical Applications Network (LAN/WAN) performance modeling Network planning R & D in communications architectures and protocols Resource sizing …

Copyright Fall 2013, Rudra Dutta, NCSU Model Specification Objective - developing a representation of the system Mirrors the hierarchical structure of real networks/systems/… Primarily three levels of abstraction – Network Model (highest level) Entire network, e.g., the entire Internet – Node Model Individual devices, e.g., computers, routers, servers, … – Process Model (lowest level) Basic level of functionality Typically individual protocols

Copyright Fall 2013, Rudra Dutta, NCSU

Creating Models in OPNET (1-a) Project Editor  Network Model – Main work place for creating a network simulation – Where you can : Create a network model using models from the Standard Model Library (the highest level of abstraction) Choose statistics to collect Execute a simulation View results – Two options Object Palette (use built-in models) Build your own nodes

Copyright Fall 2013, Rudra Dutta, NCSU Creating Models in OPNET (1-b) Corresponds to the network architecture / topology

Copyright Fall 2013, Rudra Dutta, NCSU Creating Models in OPNET (2-a) Node Editor  Node Model 2nd level of abstraction Used to define the behavior of each network object (node/system) Important constituents of node model are – Modules They model some internal aspect of node behavior E.g. simple traffic source, processor, … – Packet streams (flow of data) Connect modules Two options – Use the library – Build your own process modules

Copyright Fall 2013, Rudra Dutta, NCSU Creating Models in OPNET (2-b) Corresponds to the internal structure of devices in the network

Copyright Fall 2013, Rudra Dutta, NCSU Creating Models in OPNET (3-a) Process Editor  Process Model The lowest level of abstraction Represented by Finite State Machines (FSMs) – State (icons) – Transitions (lines) Operations performed in each state or for a transition are described in embedded C/C++ code blocks

Copyright Fall 2013, Rudra Dutta, NCSU Creating Models in OPNET (3-b)

Copyright Fall 2013, Rudra Dutta, NCSU Many Other Editors E.g. link model editor, path editor, … Probe editor – Specify the statistics to be collected during simulation, e.g. delay, throughput, utilization, … – Two types of statistics Global Local Two ways to collect statistics – Probe editor – Straight from the project editor

Copyright Fall 2013, Rudra Dutta, NCSU Simulation & Analysis Simulation execution – using the “configure simulation” tool, or “advanced configure simulation” tool – Can specify various attributes, simulation time and other details Analysis – Directly from project editor – No. of ways to analyze the results: get time-average, peak values, etc. – Graphical analysis