CS433: Modeling and Simulation Dr. Anis Koubâa Al-Imam Mohammad Ibn Saud University 27 February 2010 Lecture 01: Introduction.

Slides:



Advertisements
Similar presentations
Categories of I/O Devices
Advertisements

Embedded Network Controller with Web Interface Bradley University Department of Electrical & Computer Engineering By: Ed Siok Advisor: Dr. Malinowski.
CPE 412 SIMULATION and MODELING n Instructor: Dr. Mahmoud Alrefaei n Various notes and transparencies can be found on web page.
1 PERFORMANCE EVALUATION H Often in Computer Science you need to: – demonstrate that a new concept, technique, or algorithm is feasible –demonstrate that.
1 Internet Management and Security We will look at management and security of networks and systems. Systems: The end nodes of the Internet Network: The.
Introduction to Simulation Modeling Jason R. W. Merrick.
Chapter 1 Introduction to Simulation Modeling T. Altiok and B. Melamed.
Parallel and Distributed Simulation Introduction and Motivation By Syed S. Rizvi.
Lab 01 Fundamentals SE 405 Discrete Event Simulation
Computer Networks IGCSE ICT Section 4.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 12 Slide 1 Distributed Systems Design 1.
Lecture 2: Technology Trends and Performance Evaluation Performance definition, benchmark, summarizing performance, Amdahl’s law, and CPI.
EstiNet Network Simulator & Emulator 2014/06/ 尉遲仲涵.
Reformatted slides from the textbook, C++ How to Program, 6/e Pearson Education, Inc. All rights reserved Chapter 3. [Lecture 01] Introduction to.
Discrete Event Systems Simulation
Introduction to Discrete Event Simulation Customer population Service system Served customers Waiting line Priority rule Service facilities Figure C.1.
(C) 2009 J. M. Garrido1 Object Oriented Simulation with Java.
Chapter 1 Introduction to Simulation
CS433: Modeling and Simulation Dr. Anis Koubâa Al-Imam Mohammad Ibn Saud University 27 February 2010 Lecture 02: Modeling.
1 Lecture 2 Introduction, OS History n objective of an operating system n OS history u no OS u batch system u multiprogramming u multitasking.
1 Performance Evaluation of Computer Networks: Part II Objectives r Simulation Modeling r Classification of Simulation Modeling r Discrete-Event Simulation.
Introduction and Overview Questions answered in this lecture: What is an operating system? How have operating systems evolved? Why study operating systems?
CS 732 Software Engineering Semester 1/2545 Dr.Choonhapong Thaiupathump.
Logistics and Systems Rabby Q. Lavilles. Supply chain is a system of organizations, people, technology, activities, information and resources involved.
Modeling & Simulation: An Introduction Some slides in this presentation have been copyrighted to Dr. Amr Elmougy.
10/6/2015 ©2007 Scott Miller, University of Victoria 1 2a) Systems Introduction to Systems Introduction to Software Systems Rev. 2.0.
Performance Evaluation of Computer Systems Introduction
1 Performance Evaluation of Computer Systems and Networks Introduction, Outlines, Class Policy Instructor: A. Ghasemi Many thanks to Dr. Behzad Akbari.
Unit – I CLIENT / SERVER ARCHITECTURE. Unit Structure  Evolution of Client/Server Architecture  Client/Server Model  Characteristics of Client/Server.
Parallel and Distributed Simulation Introduction and Motivation.
CS433 Modeling and Simulation Lecture 12 Queueing Theory Dr. Anis Koubâa 03 May 2008 Al-Imam Mohammad Ibn Saud University.
Parallel and Distributed Simulation Introduction and Motivation.
ECE 466/658: Performance Evaluation and Simulation Introduction Instructor: Christos Panayiotou.
Welcome to CPS 210 Graduate Level Operating Systems –readings, discussions, and programming projects Systems Quals course –midterm and final exams Gateway.
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.
CS433 Modeling and Simulation Lecture 01 Introduction 1 Dr. Anis Koubâa Al-Imam Mohammad Ibn Saud University 19.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
Computer Simulation of Networks ECE/CSC 777: Telecommunications Network Design Fall, 2013, Rudra Dutta.
1 CDA 4527 Computer Communication Networking (not “analysis”) Prof. Cliff Zou School of Electrical Engineering and Computer Science University of Central.
Modeling and Simulation Introduction 1 TA. May Almousa Princess Nora Bint Abdul Rahman University.
Computer Science, FSU1 CNT5505 DATA/COMUTER COMMUNICATIONS Fall 2010.
Dr. Anis Koubâa CS433 Modeling and Simulation
BMTS 242: Computer and Systems Lecture 1: Introduction to Computer System Yousef Alharbi Website
ECE 374: Computer Networks & Internet Introduction Spring 2015 Prof. Michael Zink.
CSC 480 Software Engineering Lecture 17 Nov 4, 2002.
OPERATING SYSTEM OVERVIEW. Contents   O.S.Functions   The Evolution of O.S.   Characteristics of O.S.   Basic hardware elements.
Lecture 4 Page 1 CS 111 Summer 2013 Scheduling CS 111 Operating Systems Peter Reiher.
NETW 707: Modeling & Simulation Course Instructor: Tallal Elshabrawy Instructor Office: C3.321 Instructor Teaching.
System Architecture CS 560. Project Design The requirements describe the function of a system as seen by the client. The software team must design a system.
Introduction To Modeling and Simulation 1. A simulation: A simulation is the imitation of the operation of real-world process or system over time. A Representation.
Dr D. Greer, Queens University Belfast ) Software Engineering Chapter 7 Software Architectural Design Learning Outcomes Understand.
Network Processing Systems Design
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.
CPSC 531: System Modeling and Simulation
3.1 Types of Servers.
OPERATING SYSTEMS CS 3502 Fall 2017
Lecture 2: Performance Evaluation
CNT 4704 Computer Communication Networking (not “analysis”)
Modeling and Simulation (An Introduction)
Al-Imam Mohammad Ibn Saud University
Chapter 1 Introduction to Simulation Modeling
Simulation Department of Industrial Engineering Anadolu University
Frequently asked questions about software engineering
Operating Systems : Overview
Modeling and Simulation: Fundamentals and Implementation
Performance Evaluation of Computer Networks
Computer Systems Performance Evaluation
Performance Evaluation of Computer Networks
Modeling and Simulation
Presentation transcript:

CS433: Modeling and Simulation Dr. Anis Koubâa Al-Imam Mohammad Ibn Saud University 27 February 2010 Lecture 01: Introduction

2 Who I Am?  Dr. Anis Koubâa  Assistant Professor at CS Dept.  Research Associate at ISEP/IPP-HURRAY! (Portugal)  (Teaching):  Phone:  Background  PhD from INPL/LORIA, Nancy (France)  Master from UHP Nancy I (France)  My Research  Main: Wireless Sensor Networks, Cyber-Physical Systems, Real-Time Embedded Systems, Quality-of-Service, Performance Evaluation  Other: Security

3 Teaching Assistant  Basmah Al-Soli  Office no. 4034/8  Office phone: 

4 Texbook  Tayfur Altiok, Benjamin Melamed,  SIMULATION MODELING AND ANALYSIS WITH ARENA  Hardbound, 456 pages,  publication date: JUN-2007 ISBN-13: ISBN-10: Imprint: ACADEMIC PRESS

5 Grading (may be changed)  Grading: Grades will be determined roughly as follows: (Grading may be changed)  One Mid-term, 20% total  One Final Exam, 40% total  Project 1, 151% total  Project 2, 10% total  Lab Exams, 15%

6 For more information …  Official course website   All announcements will be posted on the website  Interaction with students  Mailing list:   To register: 

7 Goals of today  Understand what is simulation and what is modelling  Some applications of simulation and modelling  What is the Life Cycle of the Modelling Process

8 Some keywords to know …  System  It is a collection of entities that act and interact together toward the accomplishment of some logical end (computer, network, communication systems, queuing systems etc.)  Simulation  It is an experiment in a computer where the real system is replaced by the execution of the program  It is a program that mimics (imitate) the behaviour of the real system

9 Some keywords to know …  Model  It is a simplification of the reality  A (usually miniature) representation of something; an example for imitation or emulation  A model can be Analytical (Queuing Theory) or by Simulation.  Performance evaluation (of a system)  It means quantifying the service delivered by the System  Experimental, Analytical, or by simulation

10 Some keywords to know …  Queuing System  It is a system where entities ask service from a shared resource(s) and have to wait for service until resource is available.  Examples  Customers waiting in a bank  Packets waiting in a network router/switch  Travelers waiting in airport for flight registration  Tasks requesting execution in a processor (semaphors)  Bank Transactions requesting access to a database

11 A Simple Queuing Model  Use Queuing models to:  Describe the behavior of queuing systems  Evaluate system performance  A Queue System has:  Queue (Buffer): with a finite or infinite size  Server: with a given processing speed  Customers: Entities requesting the shared resource (i.e. server).  Events: Arrival/Departure (with given rates) Queue Server Queuing System

12 Examples Real System (Motherboard) Models of the system

13 Simulation models of the system Examples

14 Models of the System Examples

15 Example Models of the System

16 Examples Circuit Simulator Models of the system

What is Computer Simulation? ماهي المحاكاة عن طريق الحاسب؟

18 Computer Simulation  A Computer Simulation is a computer program  that attempts to simulate an abstract model of a particular system.  that describes the behavior of a real (physical) system and its evolution in time  How it works?  The behavior of the system is described by state variables  The simulation program modifies the states variables to emulate the evolution

19 Why we need simulation? It may be too difficult, risky, or expensive to observe a real, operational system Parts of the system may not be observable (e.g., internals of a silicon chip or biological system) Minimize production risk Analyze systems (performance, behavior) before they are built Reduce the number of design errors Optimize design to improve the behavior Analyze operational systems Create virtual environments for training, entertainment Make design more efficient

20 System Analysis Telecommunication Networks (ATM, IP, TCP, UDP, …) Transportation systems (Traffic, Urban planning, Metro Planning, …) Electronic systems (e.g., microelectronics, computer systems) Battlefield simulations (blue army vs. red army) Ecological systems, Manufacturing systems, Logistics … Virtual Environments Physical phenomena (e.g. Trajectory of projectiles) training and entertainment (e.g., military, medicine, emergency planning, flight simulation) Applications of Simulation

21 War gaming: test strategies; training Flight Simulator Transportation systems: improved operations; urban planning Computer communication network: protocol design Parallel computer systems: developing scalable software Games A few more applications …

22 Why Modeling and Simulation? Why to use models? Implementation on real systems is very complex and costly, Experimentation on real systems may be dangerous (e.g. chemical systems) If models adequately describes the reality, experimenting with them can save money and time, and reduce the development complexity When to use simulations? Analytic models may be very complex to evaluate, and may lead to over implication of the real system Simulation can be a good alternative to evaluate the system behavior very close to reality

تقييم الأداء Performance Evaluation

24 Performance Metrics The delay metric how much time do I need to wait? The throughput metric how much customer the system is able to serve per time unit? Performance Metrics

25 The Queuing Times Queue Server Queuing System Queuing TimeService Time Response Time (or Delay)

26  The Performance Metric is a measurable quantity that precisely captures what we want to measure (response time, throughput, delay, etc.). Performance Metrics

27  For example, in computer systems, we might evaluate  The response time of a processor to execute a given task.  The execution time of two programs in a multi-processor machine.  In network systems, we might evaluate  The (maximum/average) delay experienced by a voice packet to reach the destination  The throughput of the network  The required bandwidth to avoid congestion Performance Metrics

28 What does affect the performance?  The performance of a system is dramatically affected by the Workload.  The Workload: it characterizes the  Quantity: e.g. number of cars  Nature: type of cars (cars, trucks, motocycle, etc.)

29  In the context of Web Servers, system inputs are http requests (GET or POST requests). The workload characterizes:  The intensity of the requests: how many requests are received by the web server. High intensities deteriorate the performance.  The nature of the requests: the request can be simple GET request or a request that require the access of a remote database. The performance will be different for different request types. What does affect the performance?

30 Benchmarks  Benchmarks: used to generate loads that is intended to mimic a typical user behaviour.  Wikipedia definition:  In computing, a benchmark is the act of running a computer program, a set of programs, or other operations, in order to assess the relative performance of an object, normally by running a number of standard tests and trials against it.  Benchmarking is usually associated with assessing performance characteristics of computer hardware:  Example: the floating point operation performance of a CPU.  Software benchmarks: run against compilers or database management systems.