Parallel and Distributed Simulation Introduction and Motivation By Syed S. Rizvi.

Slides:



Advertisements
Similar presentations
Database Architectures and the Web
Advertisements

Concurrency: introduction1 ©Magee/Kramer 2 nd Edition Concurrency State Models and Java Programs Jeff Magee and Jeff Kramer.
Modeling & Simulation. System Models and Simulation Framework for Modeling and Simulation The framework defines the entities and their Relationships that.
Development of Parallel Simulator for Wireless WCDMA Network Hong Zhang Communication lab of HUT.
FIN 685: Risk Management Topic 5: Simulation Larry Schrenk, Instructor.
Lecturer: Sebastian Coope Ashton Building, Room G.18 COMP 201 web-page: Lecture.
1 Minggu 12, Pertemuan 23 Introduction to Distributed DBMS (Chapter , 22.6, 3rd ed.) Matakuliah: T0206-Sistem Basisdata Tahun: 2005 Versi: 1.0/0.0.
Discovering Computers Fundamentals, 2011 Edition Living in a Digital World.
Parallel and Distributed Simulation Object-Oriented Simulation.
1 By Vanessa Newey. 2 Introduction Background Scalability in Distributed Simulation Traditional Aggregation Techniques Problems with Traditional Methods.
1 Simulation Methodology H Plan: –Introduce basics of simulation modeling –Define terminology and methods used –Introduce simulation paradigms u Time-driven.
DISTRIBUTED COMPUTING
Course Instructor: Aisha Azeem
Chapter 12: Simulation and Modeling Invitation to Computer Science, Java Version, Third Edition.
Introduction to Symmetric Multiprocessors Süha TUNA Bilişim Enstitüsü UHeM Yaz Çalıştayı
Introduction. Readings r Van Steen and Tanenbaum: 5.1 r Coulouris: 10.3.
Chapter 1- Introduction
Computer System Architectures Computer System Software
Discrete Event Systems Simulation
1 Chapter No 3 ICT IN Science,Maths,Modeling, Simulation.
Chapter 1 Introduction to Simulation
Computer Aided Sustainability and Green Computing BRYAN IDDINGS.
Architectural Design, Distributed Systems Architectures
An Introduction to Software Architecture
Parallel and Distributed Simulation Hardware Platforms Simulation Fundamentals.
CS433: Modeling and Simulation Dr. Anis Koubâa Al-Imam Mohammad Ibn Saud University 27 February 2010 Lecture 01: Introduction.
Multiprocessor and Real-Time Scheduling Chapter 10.
Chapter 101 Multiprocessor and Real- Time Scheduling Chapter 10.
INTERACTIVE ANALYSIS OF COMPUTER CRIMES PRESENTED FOR CS-689 ON 10/12/2000 BY NAGAKALYANA ESKALA.
Distributed Database Systems Overview
Distributed Virtual Environments Introduction. Outline What are they? DVEs vs. Analytic Simulations DIS –Design principles Example.
Parallel and Distributed Simulation Introduction and Motivation.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 10Slide 1 Architectural Design l Establishing the overall structure of a software system.
The High Level Architecture Introduction. Outline High Level Architecture (HLA): Background Rules Interface Specification –Overview –Class Based Subscription.
ECE200 – Computer Organization Chapter 9 – Multiprocessors.
Parallel and Distributed Simulation Introduction and Motivation.
Chapter 5 McGraw-Hill/Irwin Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved.
1 Chapter 12 Enterprise Computing. Objectives Overview Discuss the special information requirements of an enterprise-sized corporation Identify information.
Parallel Computing.
SUPPLY CHAIN MANAGEMENT SYSTEMS Part I. 7-2 LEARNING OUTCOMES 1.List and describe the components of a typical supply chain 2.Define the relationship between.
CS433 Modeling and Simulation Lecture 01 Introduction 1 Dr. Anis Koubâa Al-Imam Mohammad Ibn Saud University 19.
Computer Simulation of Networks ECE/CSC 777: Telecommunications Network Design Fall, 2013, Rudra Dutta.
Dillon: CSE470: INTRO1 Introduction to Software Engineering Computer Science and Engineering 470.
CS4315A. Berrached:CMS:UHD1 Introduction to Operating Systems Chapter 1.
From Use Cases to Implementation 1. Structural and Behavioral Aspects of Collaborations  Two aspects of Collaborations Structural – specifies the static.
Network Systems Lab. Korea Advanced Institute of Science and Technology No.1 Ch. 1 Introduction EE692 Parallel and Distribution Computation | Prof. Song.
Clock Synchronization (Time Management) Deadlock Avoidance Using Null Messages.
Introduction Goal: connecting multiple computers to get higher performance – Multiprocessors – Scalability, availability, power efficiency Job-level (process-level)
From Use Cases to Implementation 1. Mapping Requirements Directly to Design and Code  For many, if not most, of our requirements it is relatively easy.
Introduction to Performance Tuning Chia-heng Tu PAS Lab Summer Workshop 2009 June 30,
Lecture 13 Parallel Processing. 2 What is Parallel Computing? Traditionally software has been written for serial computation. Parallel computing is the.
Introduction to Simulation What is a simulation? A system that represents or emulates the behavior of another system over time; a computer simulation is.
Traffic Simulation L2 – Introduction to simulation Ing. Ondřej Přibyl, Ph.D.
Distributed Systems Architectures Chapter 12. Objectives  To explain the advantages and disadvantages of different distributed systems architectures.
Group Members Hamza Zahid (131391) Fahad Nadeem khan Abdual Hannan AIR UNIVERSITY MULTAN CAMPUS.
What Is Enterprise Computing?
These slides are based on the book:
Discovering Computers 2010: Living in a Digital World Chapter 14
PARALLEL COMPUTING.
Introduction to parallel programming
Parallel and Distributed Simulation
Parallel and Distributed Simulation Techniques
Grid Computing.
Frequently asked questions about software engineering
Computer Simulation of Networks
CPSC 531: System Modeling and Simulation
Modeling and Simulation: Fundamentals and Implementation
An Introduction to Software Architecture
Multiprocessor and Real-Time Scheduling
ONAP Architecture Principle Review
Presentation transcript:

Parallel and Distributed Simulation Introduction and Motivation By Syed S. Rizvi

Modeling & Simulation Model: is a representation –Entity –Process –System Simulation: The process of exercising a model –Characterize the behavior of the modeled entity process, or system over time Computer simulation: is a computer program –Simulate an abstract model of a particular system

Why & Where Use Simulations Why do we need Simulations Observe a Real Operational System –Difficult –Hazardous –expensive Parts of the system may not be observable/viewable –e.g., internals of a silicon chip or biological system Where we can use Simulations Analyze system before it is built –Reduce number of design mistakes –Optimize design Analyze operational systems –Optimize the performance –Operational mistakes Create virtual environments for training, entertainment

Applications: System Analysis Classical Application of Simulation Telecommunication networks –Example  Sim-Link tool Battlefield simulations –Example  JOFT & JFAST for JFCOM Transportation systems Electronic systems (e.g., computer systems, microelectronics) Manufacturing systems Ecological systems Etc..

Simulation tool is used for fast analysis of alternate courses of action in time critical situations –Initialize simulation from situation database –Faster-than-real-time execution to evaluate effect of decisions Applications: air traffic control, battle management Simulation results may be needed in only seconds Applications: On-Line Decision Aids live data feeds analysts and decision makers forecasting tool (fast simulation) situation database interactive simulation environment

Applications: Virtual Environments Uses: VE uses for training –Education Haptar ( –Military Example is America’s Army ( –Medicine –Emergency planning –Entertainment, – Etc.. Simulations are often used in virtual environments to create dynamic computer generated entities Defense: Computer generated forces (CGF) –Automated forces –Semi-automated forces

Simulation Fundamentals A computer simulation is a: –computer program that models the behavior of a physical system over time. Computer Simulation has: –Program variables (state variables) –Represents the current state of the physical system State Variables can be modified: –Model the development of the physical system over time.

Simulation Taxonomy Continuous time simulation –State changes occur continuously across time –Typically, behavior of CM described by differential equations Discrete time simulation –State changes only occur at discrete time instants –Simulation Time: Time stepped: time advances by fixed time increments Event stepped: time advances occur with irregular increments Computer Simulation Discrete Models Continuous Models Event driven Time- stepped

Time Stepped vs. Event Stepped Goal: compute state of system over simulation time state variables simulation time event driven execution time advances occur with irregular increments

Parallel / Distributed Simulation –Parallel Simulation: Tightly coupled architecture  shared memory multiprocessor systems Goal: reduce execution time –Distributed Simulation: Loosely coupled architecture  set of computers Goal: linking distributed resources, reusability, interoperability –Parallel (Distributed) Simulation Refers to the technology concerned with executing computer simulations over computing systems containing multiple processors

Distributed Simulation Simulation Sequential ExecutionParallel Execution Divide a single-large-simulation in a series of discrete events Discrete events can then be distributed on geographically distributed computers Time Management Algorithm is running there that ensures that the execution of the parallel distributed simulation is properly synchronized. Parallel/Distributed Simulation

Why Execute Over Multiple CPUs? Reduced model execution time –Up to N-fold reduction using N CPUs May not have enough memory on a single machine –Large physical system  large model  large simulation  enough memory & processors are required Scalable performance –Maintaining the same execution speed for bigger models/virtual environments by using more CPUs Geographically distributed users and/or resources –(e.g., simultaneous update of databases) Is there any Disadvantage ??

Chandy/Misra/Bryant algorithm Time Warp algorithm High Performance Computing Community Historical Perspective SIMulator NETworking (SIMNET) ( ) Distributed Interactive Simulation (DIS) Aggregate Level Simulation Protocol (ALSP) ( ish) High Level Architecture ( today) Defense Community Adventure (Xerox PARC) Dungeons and Dragons Board Games Multi-User Dungeon (MUD) Games Internet & Gaming Community Multi-User Video Games Conservative synchronization Optimistic synchronization

Summary Simulation is seeing widespread use in: –system design and management, as decision aids, and in creating virtual worlds for training or entertainment Fundamental concepts: State, changing state across simulation time –Continuous vs. discrete time simulations –Here, focus on discrete event simulation Reasons for distributing the execution of simulations over multiple computers include –Performance –Geographical distribution –Easier integration of systems (interoperability), reuse Parallel/Distributed simulation technologies developed largely independently in different R&D communities –High performance computing –Defense –Internet and gaming