© Oxford University Press 2011 DISTRIBUTED COMPUTING Sunita Mahajan Sunita Mahajan, Principal, Institute of Computer Science, MET League of Colleges, Mumbai.

Slides:



Advertisements
Similar presentations
Simulation of Feedback Scheduling Dan Henriksson, Anton Cervin and Karl-Erik Årzén Department of Automatic Control.
Advertisements

Real Time Scheduling.
EE5900 Advanced Embedded System For Smart Infrastructure
A Sample RTOS Presentation 4 Group A4: Sean Hudson, Manasi Kapadia Syeda Taib.
Courseware Scheduling of Distributed Real-Time Systems Jan Madsen Informatics and Mathematical Modelling Technical University of Denmark Richard Petersens.
1 An Approach to Real-Time Support in Ad Hoc Wireless Networks Mark Gleeson Distributed Systems Group Dept.
Multiple Processor Systems
Tasks Periodic The period is the amount of time between each iteration of a regularly repeated task Time driven The task is automatically activated by.
1 of 30 June 14, 2000 Scheduling and Communication Synthesis for Distributed Real-Time Systems Paul Pop Department of Computer and Information Science.
Multiprocessor and Real-Time Scheduling Chapter 10.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
1 of 16 March 30, 2000 Bus Access Optimization for Distributed Embedded Systems Based on Schedulability Analysis Paul Pop, Petru Eles, Zebo Peng Department.
By Group: Ghassan Abdo Rayyashi Anas to’meh Supervised by Dr. Lo’ai Tawalbeh.
CprE 458/558: Real-Time Systems
Misconceptions About Real-time Computing : A Serious Problem for Next-generation Systems J. A. Stankovic, Misconceptions about Real-Time Computing: A Serious.
Real-Time Operating System Chapter – 8 Embedded System: An integrated approach.
EMBEDDED SOFTWARE Team victorious Team Victorious.
Chapter 1 Embedded And Real-Time System Department of Computer Science Hsu Hao Chen Professor Hsung-Pin Chang.
Distributed Real-Time systems 1 By: Mahdi Sadeghizadeh Website: Sadeghizadeh.ir Advanced Computer Networks.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
Real-Time Software Design Yonsei University 2 nd Semester, 2014 Sanghyun Park.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
© Oxford University Press 2011 DISTRIBUTED COMPUTING Sunita Mahajan Sunita Mahajan, Principal, Institute of Computer Science, MET League of Colleges, Mumbai.
DISTRIBUTED COMPUTING
1 CS 501 Spring 2003 CS 501: Software Engineering Lecture 16 System Architecture and Design II.
© Oxford University Press 2011 DISTRIBUTED COMPUTING Sunita Mahajan Sunita Mahajan, Principal, Institute of Computer Science, MET League of Colleges, Mumbai.
1 Next Few Classes Networking basics Protection & Security.
ARMADA Middleware and Communication Services T. ABDELZAHER, M. BJORKLUND, S. DAWSON, W.-C. FENG, F. JAHANIAN, S. JOHNSON, P. MARRON, A. MEHRA, T. MITTON,
CS4730 Real-Time Systems and Modeling Fall 2010 José M. Garrido Department of Computer Science & Information Systems Kennesaw State University.
© Oxford University Press 2011 DISTRIBUTED COMPUTING Sunita Mahajan Sunita Mahajan, Principal, Institute of Computer Science, MET League of Colleges, Mumbai.
TELE202 Lecture 5 Packet switching in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lectures »C programming »Source: ¥This Lecture »Packet switching in Wide.
Scheduling policies for real- time embedded systems.
Chapter 10 Multiprocessor and Real-Time Scheduling Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community.
Multiprocessor and Real-Time Scheduling Chapter 10.
Chapter 101 Multiprocessor and Real- Time Scheduling Chapter 10.
Reference: Ian Sommerville, Chap 15  Systems which monitor and control their environment.  Sometimes associated with hardware devices ◦ Sensors: Collect.
CONTI'20041 Event Management in Distributed Control Systems Gheorghe Sebestyen Technical University of Cluj-Napoca Computers Department.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
William Stallings Data and Computer Communications
5 May CmpE 516 Fault Tolerant Scheduling in Multiprocessor Systems Betül Demiröz.
Real-time Software Design King Saud University College of Computer and Information Sciences Department of Computer Science Dr. S. HAMMAMI.
DISTRIBUTED COMPUTING
CS4730 Real-Time Systems and Modeling Fall 2010 José M. Garrido Department of Computer Science & Information Systems Kennesaw State University.
1 VxWorks 5.4 Group A3: Wafa’ Jaffal Kathryn Bean.
CSCI1600: Embedded and Real Time Software Lecture 24: Real Time Scheduling II Steven Reiss, Fall 2015.
DISTRIBUTED COMPUTING
Real time scheduling G.Anuradha Ref:- Stallings. Real time computing Correctness of the system depends not only on the logical result of computation,
Introduction to Embedded Systems Rabie A. Ramadan 5.
DISTRIBUTED COMPUTING
Introduction to Real-Time Systems
For a good summary, visit:
© Oxford University Press 2011 DISTRIBUTED COMPUTING Sunita Mahajan Sunita Mahajan, Principal, Institute of Computer Science, MET League of Colleges, Mumbai.
Unit - I Real Time Operating System. Content : Operating System Concepts Real-Time Tasks Real-Time Systems Types of Real-Time Tasks Real-Time Operating.
© Oxford University Press 2011 DISTRIBUTED COMPUTING Sunita Mahajan Sunita Mahajan, Principal, Institute of Computer Science, MET League of Colleges, Mumbai.
REAL-TIME DISTRIBUTED SYSTEMS Sean McKeon CSc 8320 – Advanced Operating Systems March 23, 2006.
CONCEPTS OF REAL-TIME OPERATING SYSTEM. OBJECTIVE  To Understand Why we need OS?  To identify Types of OS  To Define Real - Time Systems  To Classify.
Real-Time Operating Systems RTOS For Embedded systems.
Embedded System Scheduling
Real-time Software Design
REAL-TIME OPERATING SYSTEMS
TrueTime.
Wayne Wolf Dept. of EE Princeton University
Unit OS9: Real-Time and Embedded Systems
Paul Pop, Petru Eles, Zebo Peng
Lecture 4 Schedulability and Tasks
Real-time Software Design
DISTRIBUTED COMPUTING
CS 501: Software Engineering Fall 1999
Multiprocessor and Real-Time Scheduling
CS703 - Advanced Operating Systems
Presentation transcript:

© Oxford University Press 2011 DISTRIBUTED COMPUTING Sunita Mahajan Sunita Mahajan, Principal, Institute of Computer Science, MET League of Colleges, Mumbai Seema Shah Seema Shah, Principal, Vidyalankar Institute of Technology, Mumbai University

© Oxford University Press 2011 Chapter - 11 Real-Time Distributed Operating Systems

© Oxford University Press 2011 Topics Introduction Design issues in real-time O.S. Real-time communications Real-time scheduling Case study: Real-time communication in MARS

© Oxford University Press 2011 Introduction

© Oxford University Press 2011 Introduction Basic concepts – Real means system reacts to external stimuli during their evolution in real time Correctness of system depends on the time at which the results are produced Some Real-time applications are: – Computers embedded in Aircrafts, vehicles, weapons etc. – Air-traffic control systems, scientific systems, control systems

© Oxford University Press 2011 Steps followed in a real-time system - external sensor sends a stimulus to the computer -computer performs the actions before a deadline -then computer sends results through external device -if computer is idle, it waits for external stimulus

© Oxford University Press 2011 Types of stimuli Periodic stimuli occur at regular times – Example is computerized road traffic system Aperiodic stimuli are recurrent but not regular – Air traffic control system Sporadic stimuli are unexpected in nature – Device overheating, sudden power shutdown Most real-time systems have a variety of stimuli requiring specific set of actions which have to be completed before the deadline

© Oxford University Press 2011 A Real-time distributed System A real-time system consists of a collection of interconnected computers which receive inputs from external devices through sensors, process them and use actuators to send responses from the computer to external device

© Oxford University Press 2011 Classification of Real-time systems Soft real-time systems – A soft real-time system is allowed to miss a n occasional deadline, like a mobile telephone switch may miss a call Hard real-time systems – A hard real-time system cannot miss a single stimulus, like in air traffic control system, if the ground controller misses a single request from an airplane, it may lead to an accident

© Oxford University Press 2011 Design Issues in Real-time O.S.

© Oxford University Press 2011 Design Issues Clock synchronization – all clocks must be synchronized Event triggered systems – External event causes the CPU to take action Systems fail if overloaded by event showers Time triggered systems – Sensors are sampled at every clock interrupt and required actuators are sent a response from the computer System is never overloaded and all deadlines are met

© Oxford University Press 2011 Design issues cont Fault tolerance – Controls safety-critical devices in hospitals, vehicles, power plants etc – One solution is to use active replication – Second one is to use a primary backup – Third one is to use a master-slave type approach – Some systems may halt in case of serious failures and provide for gradual recovery Failsafe procedure

© Oxford University Press 2011 Design issues cont Predictability – The system should meet all the deadlines even at peak load – A real-time system should be deterministic – It should run even in worst conditions Language support

© Oxford University Press 2011 Real-Time Communications

© Oxford University Press 2011 Real-Time Communications In real-time distributed systems, predictability is necessary LAN protocols like Ethernet do not give upper limit to transmission so are unacceptable Token ring LAN is more suitable TDMA ( Time Division Multiple Access )is another method for real-time communications

© Oxford University Press 2011 Token ring and TDMA When a node wishes to send a packet, it captures the token, sends the packet and on completion, puts the token back in circulation in TDMA, packets are transmitted in fixed frames with each frame having n slots. A processor is given one slot in every frame and allowed to transmit only in the specified slot

© Oxford University Press 2011 Real-time communications in WAN Real-time connection is set up using connection-oriented technique Connection is established by negotiating quality of service in advance – Maximum delay – Variance if packet delivery time – Minimum bandwidth User is charged for the time connection was maintained

© Oxford University Press 2011 Real-Time Scheduling

© Oxford University Press 2011 Real-Time Scheduling

© Oxford University Press 2011 Dynamic scheduling Scheduling is done during program execution Rate monotonic algorithm – Designed for preemptive scheduling periodic tasks with no ordering or mutual constraints, each task having a pre-assigned priority The earliest deadline first – a preemptive algorithm having a list of waiting tasks sorted by deadline The laxity algorithm – A list of tasks with lax time available and choosing task with least lax time

© Oxford University Press 2011 Static scheduling Scheduling done before the program execution starts Maintains a list of tasks with their execution time and does static scheduling by finding optimum algorithm

© Oxford University Press 2011 Example of Static Scheduling CPUs A and B run local and remote interdependent tasks

© Oxford University Press 2011 Comparison of dynamic and static scheduling

© Oxford University Press 2011 Case study: MARS system

© Oxford University Press 2011 Case study: MARS system Real-time communication MARS system uses TTP protocol A node has 2-3 CPUs to give a single fault-tolerant fail-safe image All clocks are continuously synchronized by hardware MARS nodes are interconnected using two reliable and independent TDMA broadcast networks TTP is a single-layer protocol handling end-to-end data transport, clock synchronization and membership management

© Oxford University Press 2011 TTP

© Oxford University Press 2011 Summary Design issues in real-time O.S. Real-time communications Real-time scheduling Case study: Real-time communication in MARS