PDEVS Protocol Performance Prediction using Activity Patterns with Finite Probabilistic DEVS DEMO L. Capocchi, J.F. Santucci, B.P. Zeigler University of.

Slides:



Advertisements
Similar presentations
System Integration and Performance
Advertisements

Extended DEVSML as a Model Transformation Intermediary to Make UML Diagrams Executable Jianpeng Hu Dept. of Computer Science and Engineering Shanghai Jiao.
Parallel Programming Motivation and terminology – from ACM/IEEE 2013 curricula.
1 Semester 2 Module 4 Learning about Other Devices Yuda college of business James Chen
1 Mechanical Verification of Timed Automata Myla Archer and Constance Heitmeyer Presented by Rasa Bonyadlou 24 October 2002.
Dynamic Bayesian Networks (DBNs)
Date:2011/06/08 吳昕澧 BOA: The Bayesian Optimization Algorithm.
Dynamic Tuning of the IEEE Protocol to Achieve a Theoretical Throughput Limit Frederico Calì, Marco Conti, and Enrico Gregori IEEE/ACM TRANSACTIONS.
Distributed systems Module 1 -Basic networking Teaching unit 1 – LAN standards Ernesto Damiani University of Bozen-Bolzano Lesson 2 – LAN Medium Access.
Causality Interface  Declares the dependency that output events have on input events.  D is an ordered set associated with the min ( ) and plus ( ) operators.
CS 5253 Workshop 1 MAC Protocol and Traffic Model.
EEC-484/584 Computer Networks Lecture 7 Wenbing Zhao
EEC-484/584 Computer Networks Lecture 13 Wenbing Zhao
Simulation Waiting Line. 2 Introduction Definition (informal) A model is a simplified description of an entity (an object, a system of objects) such that.
DEVS and DEVS Model Dr. Feng Gu. Cellular automata with fitness.
CPSC 531: DES Overview1 CPSC 531:Discrete-Event Simulation Instructor: Anirban Mahanti Office: ICT Class Location:
CS 5253 Workshop 1 MAC Protocol and Traffic Model.
Enabling Flexible Integration of Business and Technology Using Service-based Processes Jelena Zdravkovic, University of Gävle/Royal Institute of Technology.
1 Software Testing and Quality Assurance Lecture 5 - Software Testing Techniques.
Models for Software Reliability N. El Kadri SEG3202.
COGNITIVE RADIO FOR NEXT-GENERATION WIRELESS NETWORKS: AN APPROACH TO OPPORTUNISTIC CHANNEL SELECTION IN IEEE BASED WIRELESS MESH Dusit Niyato,
Simulation II IE 2030 Lecture 18. Outline: Simulation II Advanced simulation demo Review of concepts from Simulation I How to perform a simulation –concepts:
(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.
1 Dynamic Adaption of DCF and PCF mode of IEEE WLAN Abhishek Goliya Guided By: Prof. Sridhar Iyer Dr. Leena-Chandran Wadia MTech Dissertation.
Hardware Supported Time Synchronization in Multi-Core Architectures 林孟諭 Dept. of Electrical Engineering National Cheng Kung University Tainan, Taiwan,
The Architecture of Secure Systems Jim Alves-Foss Laboratory for Applied Logic Department of Computer Science University of Idaho By, Nagaashwini Katta.
LECTURE9 NET301. DYNAMIC MAC PROTOCOL: CONTENTION PROTOCOL Carrier Sense Multiple Access (CSMA): A protocol in which a node verifies the absence of other.
DEVS Namespace for Interoperable DEVS/SOA
Propagation Delay and Receiver Collision Analysis in WDMA Protocols I.E. Pountourakis, P.A. Baziana and G. Panagiotopoulos School of Electrical and Computer.
Discrete Event Modeling and Simulation of Distributed Architectures using the DSSV Methodology E. de Gentili, F. Bernardi, J.F. Santucci University Pascal.
Model-Driven Analysis Frameworks for Embedded Systems George Edwards USC Center for Systems and Software Engineering
Common Set of Tools for Assimilation of Data COSTA Data Assimilation Summer School, Sibiu, 6 th August 2009 COSTA An Introduction Nils van Velzen
1 M. Tudruj, J. Borkowski, D. Kopanski Inter-Application Control Through Global States Monitoring On a Grid Polish-Japanese Institute of Information Technology,
Presentation of Wireless sensor network A New Energy Aware Routing Protocol for Wireless Multimedia Sensor Networks Supporting QoS 王 文 毅
LOCAL AREA NETWORKS. CSMA/CD Carrier Sense Multiple Access with Collision Detection The CSMA method does not specify the procedure following a collision.
Medium Access Control Sub Layer
A Passive Approach to Sensor Network Localization Rahul Biswas and Sebastian Thrun International Conference on Intelligent Robots and Systems 2004 Presented.
DEVS Based Modeling and Simulation of the CORBA POA F. Bernardi, E. de Gentili, Pr. J.F. Santucci {bernardi, gentili, University.
Simulator Protocol. coordinator simulator Component tN tN. tL After each transition tN = t + ta(), tL = t simulator Component tN tN. tL simulator Component.
CS3502: Data and Computer Networks Local Area Networks - 1 introduction and early broadcast protocols.
An Energy Efficient MAC Protocol for Wireless LANs, E.-S. Jung and N.H. Vaidya, INFOCOM 2002, June 2002 吳豐州.
Course: COMS-E6125 Professor: Gail E. Kaiser Student: Shanghao Li (sl2967)
Copyright © 2007 OPNET Technologies, Inc. CONFIDENTIAL - RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format.
IEEE 802.X Standards The Institute of Electrical and Electronics Engineers (IEEE) has developed a series of networking standards to ensure that networking.
Big traffic data processing framework for intelligent monitoring and recording systems 學生 : 賴弘偉 教授 : 許毅然 作者 : Yingjie Xia a, JinlongChen a,b,n, XindaiLu.
CS3502: Data and Computer Networks Local Area Networks - 1 introduction and early broadcast protocols.
Cross-Layer Scheduling for Power Efficiency in Wireless Sensor Networks Mihail L. Sichitiu Department of Electrical and Computer Engineering North Carolina.
LECTURE9 NET301 11/5/2015Lect 9 NET DYNAMIC MAC PROTOCOL: CONTENTION PROTOCOL Carrier Sense Multiple Access (CSMA): A protocol in which a node verifies.
DEVS-based Modeling and Simulation References: 1.B. P. Zeigler, Hessam S. Sarjoughian, Introduction to DEVS Modeling and Simulation with JAVA: Developing.
1 An infrastructure for context-awareness based on first order logic 송지수 ISI LAB.
Relying on Safe Distance to Achieve Strong Partitionable Group Membership in Ad Hoc Networks Authors: Q. Huang, C. Julien, G. Roman Presented By: Jeff.
ECE 449/549 Class Notes #2 Introduction to Discrete-Event Systems Specification (DEVS) Sept
CSMA/CD Simulation Carrier Sense Multiple Access (CSMA), although more efficient than ALOHA or slotted ALOHA, still has one glaring inefficiency: When.
MODELING AND SIMULATION CS 313 Simulation Examples 1.
Www. senseglobal.com 1 MS4 Modeling Environment (MS4 Me) System Entity Structure based DEVS Modeling and Simulation environment July, 2015 MS4 Systems,
Extension du formalisme SES pour l’intégration de la hiérarchie d’abstraction et la granularité temporelle au sein de la modélisation et la simulation.
Tel Hai Academic College Department of Computer Science Prof. Reuven Aviv Markov Models for Access Control in Computer Networks Resource: Fayez Gebali,
COMPUTER NETWORKS Data-link Layer (The Medium Access Control Sublayer) MAC Sublayer.
CS 5253 Workshop 1 MAC Protocol and Traffic Model.
A Taxonomy of Mechanisms for Multi-Access
Parallel DEVS & DEVSJAVA
Medium Access Control Protocols
Parallel and Distributed Simulation Techniques
Net301 lecture9 11/5/2015 Lect 9 NET301.
Model-Driven Analysis Frameworks for Embedded Systems
Learning Objectives After interacting with this Learning Object, the learner will be able to: Explain the process of collision detection in CSMA/CD.
Atomic Model Simulator
Lecture 2 Part 3 CPU Scheduling
DEVS Background DEVS = Discrete Event System Specification
Presentation transcript:

PDEVS Protocol Performance Prediction using Activity Patterns with Finite Probabilistic DEVS DEMO L. Capocchi, J.F. Santucci, B.P. Zeigler University of Corsica France RTSync Corp. USA

INTRODUCTION Context of the work difficulties inherent in conservative and optimistic simulation algorithms persist successes exploit properties in specific domains models not routinely constructed for parallel computing – despite cheap multicore technology Question costs and benefits of the available DES parallelization strategies relatively simple PDEVS(Parallel DEVS) algorithm can reduce cost independently of application area – SpringSim 2015 paper from B.P. Zeigler,J Nutaro and C. Seo - achieves competitive speedup PDES algorithms not in general use commercially or academically

INTRODUCTION to develop a methodology and tools to predict the performance of a PDEVS simulation before it is mapped to a parallel or distributed platform. Proposed approach to model the PDEVS (Parallel DEVS) protocol using a Markov Continuous Time Model (CTM), which is a DEVS modeling scheme that leans on FP-DEVS (Finite Probabilistic DEVS) ( in Ms4Me). to compute, for a given Markov CTM atomic model describing the PDEVS protocol, several parameters such as the probability of a state giving an output according to input patterns and the rate of the coordinator's release of imminents (in DEVSimPy) to insert these parameters into the PDEVS modeling scheme in order to predict the performance of the PDEVS protocol in the framework of distributed simulations. Objective

Outline  PDEVS Protocol Modeling  Computation of the parameters involved in PDEVS Protocol modeling  Case Study  Conclusion

Outline  PDEVS Protocol Modeling  Computation of the parameters involved in PDEVS Protocol modeling  Case Study  Conclusion

PDEVS Protocol Modeling Until specified number of global transitions done: Do global transition { For each imminent (own tN = global tN): compute output and send it to receivers (1) For each active (imminent and input receiver}: compute state transition (internal, external, confl.) (2) send own tN ) Advance global clock, global tN = min active tNs } (1)and (2) can each be executed in series or in parallel. Imminent components execute their internal state transitions simultaneously.

PDEVS Protocol Modeling

The State set represents the states of the PDEVS simulator as it processes the events: WaitForImminent- Having sent the TransiionDone message to the Coordinator, the simulator is waiting for the return Imminent message (*-message, similar to time advance in HLA) which will allow it to proceed to compute its next internal transition. Imminent-Having received the Imminent message the simulator will transition to either the DoOutput or the DoStateTransition states, depending on probability parameters of the model. DoOutput- The simulator outputs the model’s output event and goes to DoStateTransition DoStateTransition-The simulator performs the model’s internal transition unless it receives an external event, in which case it goes to the ConfluentTransition state ConfluentTransition-This represents having received an external event while ready to perform an internal transition. The internal transition performed may be different from that that would have been done in DoStateTransition, but we simplify by transitioning to the same InternalTransition state. ImmediateOrContinue- This state is entered if the simulator receives an external event while waiting for the coordinator’s imminent message. Depending on the model’s probabilities, the simulator can transition to Continue or InternalTransition. Continue- This state represents ignoring the input and returning to WaitForImminent InternalTransition- This state represents performing the internal transition and then sending the TransitionDone message to the coordinator.

PDEVS Protocol Modeling PDEVS protocol restricted to receive-only mode.

PDEVS Protocol Modeling PDEVS protocol restricted to send-only mode.

PDEVS Protocol Modeling In order to use the Markov model of the PDEVS protocol, estimate for each atomic model involved in the coupled model under study :  the probability of a state giving an output according to input patterns (called first parameter).  the rate of release of imminents by the coordinator (called second parameter)  the probability to that the simulator performs the model’s internal transition without receiving an external event (called third parameter).

PDEVS Protocol Modeling These three parameters defined for each atomic model will be introduced in the corresponding CTM PDEVS model in order to specify:  The probability of output before δint (P1)  The probability that inputs cause δint (P2)  The probability that the simulator performs the model’s δint without receiving an external event (P3) Of course we can compute their associated probabilities:  The probability of δint (1-P1)  The probability that input does not cause any rescheduling (1-P2)  The probability that the atomic model have received an external event while ready to perform an δint (1- P3)

PDEVS Protocol Modeling Parallel Utilization Computed From Markov Model Steady State Parallel Utilization is the probability of activity (other than waiting for the coordinator to activate the simulator with an imminent input) PU = Prob. Of Activity = 1 – WaitForImminent (1) For Receive Only Mode p = rate of Trans. to Continue WaitForImminent = p/(1+2p) From (1) PU = (1+p)/(1+2p) Use of the measurements to estimate parallel utilization will be used with the pedagogical example.

Outline  Background: DEVS,FPDEVS, MS4Me, DEVSimPy  PDEVS Protocol Modeling  Computation of the parameters involved in PDEVS Protocol modeling  Case Study  Conclusion

Parameters Computation using Activity patterns Three parameters have to be estimated : The probability of output before δint (P1) The probability that inputs cause δint (P2) The probability that the simulator performs the model’s δint without receiving an external event (P3)  For these estimations Activity Patterns Profiling is used.  The concept of activity is introduced for DEVS models as the number of transition functions executions.  This quantitative-activity (QA) metric consists in counting the number of state-to-state transitions in a model over some time interval.

Parameters Computation using Activity patterns Another notion which helps to perform Activity Tracking (AT) at the simulation level is the simulation time spent by the coordinator waiting for activity.  The DEVS activity pattern profiling includes the computation of the average simulation time that a model waits for the coordinator to give it a *message which we call the *Time metric.  It also permits to compute the average simulation time (we call T metric) that it takes for a model to go from imminent to end of the δint

Parameters Computation using Activity patterns The DEVS activity pattern profiling has been realized using the DEVSimPy framework DEVSimPy implements a plug-in called «Activity Tracking » The DEVSimPy plug-in AT is generic and can be applied to any DEVS model. It does not require any modification on the DEVS simulation algorithm and does not require any additional methods in DEVS models to operate. The plug-in offers a table resuming the QA and *Time quantities for each tracked model

Parameters Computation using Activity patterns First parameter : The QA metric gives the number of output transition function activations with the generation of an output (QAout) as well as the δint activations (QAint) using a simulation process. The idea is to perform a set of pseudo- random generation of input patterns which are simulated in order to estimate the probability of a state giving an output according to inputs patterns. The rate is given by QAout/QAint that corresponds to the first parameter (the probability of the state giving an output).

Parameters Computation using Activity patterns Second parameter: In order to compute the second parameter (the rate of release imminents) we can point out that this rate is the inverse of the average time that a model waits for the coordinator to give a *message. This time is given by the DEVSimPy AT plug-in which computes the *Time metric The RIT metric (Release of Imminents Time) is then obtained as the inverse of the *Time metric.

Parameters Computation using Activity patterns Third parameter: In order to compute the third parameter (the probability that the simulator performs the model’s δint without receiving an external event) we can point out that this probability can be computed as the inverse of the average time that it takes for a model to go from imminent to end of the δint. This time is given by the DEVSimPy AT plug-in which computes the T metric

Outline  Background: DEVS,FPDEVS, MS4Me, DEVSimPy  PDEVS Protocol Modeling  Computation of the parameters involved in PDEVS Protocol modeling  Case Study  Conclusion

Implementation: Case Study  This case study concerns the IEEE CSMA/CD (Carrier Sense, Multiple Access with Collision Detection) protocol  The basic structure of the protocol is as follows: when a station has data to send, it listens to the medium, after which, if the medium was free (no one transmitting), the station starts to send its data.

Implementation: Case Study  Station model automata

Implementation: Case Study  Medium model automata.

Implementation: Case Study  A DEVS coupled model involving three atomic models has been implemented in order to model the CSMA/CD protocol..

Implementation: Case Study  DEVSimPy model of the case study. “Station_1” and “Station_2” can be considered as the model AM1 and the “Medium_3” as the model AM2. Simulation has been performed during 1000 seconds (simulation time).

Implementation: Case Study  setup interface of AT plug-in in DEVSimPy for the DEVS model of the case study

Implementation: Case Study  setup interface of AT plug-in in DEVSimPy for the DEVS model of the case study

Implementation: Case Study  The QAint, QAout and RIT (1/ *Time) are used to compute the three parameters in the PDEVS protocol modeling scheme.

Implementation: Case Study  We have performed the simulation using the send-only mode (no external events have occurred)  for all the five states, which are active in the send only mode, associated probabilities obtained after simulation..

Outline  Background: DEVS,FPDEVS, MS4Me, DEVSimPy  PDEVS Protocol Modeling  Computation of the parameters involved in PDEVS Protocol modeling  Case Study  Conclusion

Conclusion  We have shown how activity patterns can be used in order to elaborate a modeling scheme for the PDEVS protocol using a Markov CTM DEVS atomic model. The PDEVS protocol offers a straight-forward solution to the problems raised by the conservative and optimistic algorithms.  We described how activity patterns are used to calibrate the parameters required by the CTM Markov mod el.

Conclusion: Future work  Future work: Attempt to verify that the predictions about parallel utilization using the theory are correct. These verifications will be performed using real cases of parallel and distributed implementations.