1 Scheduling Processes with Release Times, Deadlines, Precedence and Exclusion Relations J. Xu and D. L. Parnas IEEE Transactions on Software Engineering,

Slides:



Advertisements
Similar presentations
Real Time Scheduling.
Advertisements

Priority INHERITANCE PROTOCOLS
© 2004 Wayne Wolf Topics Task-level partitioning. Hardware/software partitioning.  Bus-based systems.
ECE 667 Synthesis and Verification of Digital Circuits
Hadi Goudarzi and Massoud Pedram
1 EE5900 Advanced Embedded System For Smart Infrastructure RMS and EDF Scheduling.
COT 4600 Operating Systems Fall 2009 Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 3:00-4:00 PM.
CALTECH CS137 Winter DeHon CS137: Electronic Design Automation Day 14: March 3, 2004 Scheduling Heuristics and Approximation.
Real-time concepts Lin Zhong ELEC424, Fall Real time Correctness – Logical correctness – Timing Hard vs. Soft – Hard: lateness is intolerable Pass/Fail.
RUN: Optimal Multiprocessor Real-Time Scheduling via Reduction to Uniprocessor Paul Regnier † George Lima † Ernesto Massa † Greg Levin ‡ Scott Brandt ‡
Is It Time Yet? Wing On Chan. Distributed Systems – Chapter 18 - Scheduling Hermann Kopetz.
1 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Embedded Systems Exercise 2: Scheduling Real-Time Aperiodic Tasks.
Precedence Constrained Scheduling Abhiram Ranade Dept. of CSE IIT Bombay.
Martha Garcia.  Goals of Static Process Scheduling  Types of Static Process Scheduling  Future Research  References.
SIGMETRICS 2008: Introduction to Control Theory. Abdelzaher, Diao, Hellerstein, Lu, and Zhu. CPU Utilization Control in Distributed Real-Time Systems Chenyang.
CSE 421 Algorithms Richard Anderson Lecture 6 Greedy Algorithms.
EDA (CS286.5b) Day 11 Scheduling (List, Force, Approximation) N.B. no class Thursday (FPGA) …
Deterministic Scheduling
By Group: Ghassan Abdo Rayyashi Anas to’meh Supervised by Dr. Lo’ai Tawalbeh.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Imprecise Computations.
CprE 458/558: Real-Time Systems
Spring 2002Real-Time Systems (Shin) Rate Monotonic Analysis Assumptions – A1. No nonpreemptible parts in a task, and negligible preemption cost –
Definition of terms Definition of terms Explain business conditions driving distributed databases Explain business conditions driving distributed databases.
Embedded System Design Framework for Minimizing Code Size and Guaranteeing Real-Time Requirements Insik Shin, Insup Lee, & Sang Lyul Min CIS, Penn, USACSE,
Distributed Constraint Optimization * some slides courtesy of P. Modi
Summary :- Distributed Process Scheduling Prepared BY:- JAYA KALIDINDI.
Multiprocessor Real- Time Scheduling Aaron Harris CSE 666 Prof. Ganesan.
Embedded System Design Framework for Minimizing Code Size and Guaranteeing Real-Time Requirements Insik Shin, Insup Lee, & Sang Lyul Min CIS, Penn, USACSE,
Database Design – Lecture 16
Quantifying the Sub-optimality of Non-preemptive Real-time Scheduling Abhilash Thekkilakattil, Radu Dobrin and Sasikumar Punnekkat.
CALTECH CS137 Winter DeHon CS137: Electronic Design Automation Day 12: February 13, 2002 Scheduling Heuristics and Approximation.
1 Reducing Queue Lock Pessimism in Multiprocessor Schedulability Analysis Yang Chang, Robert Davis and Andy Wellings Real-time Systems Research Group University.
SOFTWARE / HARDWARE PARTITIONING TECHNIQUES SHaPES: A New Approach.
Scheduling policies for real- time embedded systems.
 A System Performance Model  Static Process Scheduling  Dynamic Load Sharing and Balancing  Real-Time Scheduling.
Real Time Scheduling Telvis Calhoun CSc Outline Introduction Real-Time Scheduling Overview Tasks, Jobs and Schedules Rate/Deadline Monotonic Deferrable.
Real-Time Scheduling CS 3204 – Operating Systems Lecture 20 3/3/2006 Shahrooz Feizabadi.
Static Process Scheduling Section 5.2 CSc 8320 Alex De Ruiter
CS244-Introduction to Embedded Systems and Ubiquitous Computing Instructor: Eli Bozorgzadeh Computer Science Department UC Irvine Winter 2010.
6. Application mapping 6.1 Problem definition
1 SYNTHESIS of PIPELINED SYSTEMS for the CONTEMPORANEOUS EXECUTION of PERIODIC and APERIODIC TASKS with HARD REAL-TIME CONSTRAINTS Paolo Palazzari Luca.
2004/06/01 1 Issues about Scheduling for Dependent Multimedia Tasks 電機所控制組 R 馮天俊 R 戴兆弘 Adviser :陳少傑 老師 Date : 2004/06/01.
Real-Time Support for Mobile Robotics K. Ramamritham (+ Li Huan, Prashant Shenoy, Rod Grupen)
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems RMS and EDF Schedulers.
End-To-End Scheduling Angelo Corsaro & Venkita Subramonian Department of Computer Science Washington University Distributed Systems Seminar, Spring 2003.
Distributed Process Scheduling : A Summary
Advanced Operating Systems - Spring 2009 Lecture 14 – February 25, 2009 Dan C. Marinescu Office: HEC 439 B. Office.
CS244-Introduction to Embedded Systems and Ubiquitous Computing Instructor: Eli Bozorgzadeh Computer Science Department UC Irvine Winter 2010.
CSE 522 Real-Time Scheduling (2)
Real-Time Scheduling CS 3204 – Operating Systems Lecture 13 10/3/2006 Shahrooz Feizabadi.
1 Real-Time Scheduling. 2Today Operating System task scheduling –Traditional (non-real-time) scheduling –Real-time scheduling.
CSCI1600: Embedded and Real Time Software Lecture 24: Real Time Scheduling II Steven Reiss, Fall 2015.
CSCI1600: Embedded and Real Time Software Lecture 23: Real Time Scheduling I Steven Reiss, Fall 2015.
Lecture 2, CS52701 The Real Time Computing Environment I CS 5270 Lecture 2.
Introduction to Real-Time Systems
A Fault-Tolerant Scheduling Algorithm for Real-Time Periodic Tasks with Possible Software Faults Ching-Chih Han, Kang G. Shin, and Jian Wu.
1.  System Characteristics  Features of Real-Time Systems  Implementing Real-Time Operating Systems  Real-Time CPU Scheduling  An Example: VxWorks5.x.
Determining Optimal Processor Speeds for Periodic Real-Time Tasks with Different Power Characteristics H. Aydın, R. Melhem, D. Mossé, P.M. Alvarez University.
Unit - I Real Time Operating System. Content : Operating System Concepts Real-Time Tasks Real-Time Systems Types of Real-Time Tasks Real-Time Operating.
Pradeep Konduri Static Process Scheduling:  Proceedance process model  Communication system model  Application  Dicussion.
Distributed Process Scheduling- Real Time Scheduling Csc8320(Fall 2013)
Embedded System Scheduling
ECE 720T5 Fall 2012 Cyber-Physical Systems
Lecture 24: Process Scheduling Examples and for Real-time Systems
CprE 458/558: Real-Time Systems
CSCI1600: Embedded and Real Time Software
CSCI1600: Embedded and Real Time Software
Limited-Preemption Scheduling of Sporadic Tasks Systems
CSCI1600: Embedded and Real Time Software
The End Of The Line For Static Cyclic Scheduling?
Presentation transcript:

1 Scheduling Processes with Release Times, Deadlines, Precedence and Exclusion Relations J. Xu and D. L. Parnas IEEE Transactions on Software Engineering, March 1990 Presented by: Umamaheswaran Arumugam Amit Sahoo

[Xu and Parnas, TSE 1990]2 Original paper Periodic processes in real-time systems Pre-run time scheduling Arbitrary release times, deadlines, precedence and exclusion relations NP-Hard problem Branch & bound approach used

[Xu and Parnas, TSE 1990]3 Original paper contd. Terms: Segments Lateness Feasibility and Optimality Adjusted release time Eligibility

[Xu and Parnas, TSE 1990]4 Algorithm Initial solution using earliest-deadline first Root of the search tree Identify segment with maximum lateness Z[j]: Set of segments that affect the lateness of the latest segment j Calculate lowerbound at the root Select a segment from Z[j] which when moved to the end will minimize the lateness

[Xu and Parnas, TSE 1990]5 Algorithm (contd.) G 1 : segments which can be preceded by j G 2 : segments which can be preempted by j Successor nodes created for all nodes in G 1 and G 2 Appropriate relations are added to the schedule Initial solution, lowerbound and lateness calculated at each child node Branch and Bound until solution found

[Xu and Parnas, TSE 1990]6 Impact First paper to consider the most general case of precedence and exclusion relations Acceptable performance for reasonably large problem sets Used in Air Information Management System for Boeing 777

[Abdelzaher and Shin, RTSS 1995]7 Related paper 1 Optimal Combined Task and Message Scheduling in Distributed Real-Time Systems Pre-run time scheduling algorithm for distributed systems Integrated strategy for scheduling both tasks and messages in distributed real-time systems Algorithm: At the root Initial schedule using EDF Message are prioritized according to the sum of the laxity of the receiving process and the difference between the send and receive times

[Abdelzaher and Shin, RTSS 1995]8 Related Paper 1 (contd.) Task graph created at root node to calculate adjusted release times and deadlines EDF scheduling done again to get complete schedule M i : latest module, B i : Busy period before M i (same as Z[j] in original paper) Branching Functions Set L: Exclusion relations between two modules in B i replaced by precedence relations Set M: Increment the priority of a message received by a module in B i

[Abdelzaher and Shin, RTSS 1995]9 Related Paper 1 (contd.) Set N: Deadline of a remote predecessor of a module in B i is reduced so that it has the same lateness as M i Lower bound on lateness is used to bound the search tree Search ends when only one node, with a computed schedule, is left in the set of active vertices

[Chevochot and Puaut, RTCSA 1999] Related Paper 2 Scheduling Fault-Tolerant Distributed Real-Time Tasks Independently of Replication Strategies Objective Scheduling real-time tasks independently of replication strategies (active or passive replication). Requirements 1. Tasks – synchronized using precedence relations. 2. Determinism – enforced using ordering constraints. 1 and 2 should be satisfied for a scheduling algorithm to be independent of replication.

[Chevochot and Puaut, RTCSA 1999] Related Paper 2 (contd.) Ordering Constraints Identical order (IO) relation between two couples of elementary units (segments) that execute in the same site. Identical Order (eu i, eu j ) IO (eu k, eu l ) E(REP, gr) gr – granularity at which fault-tolerance is applied. Represent the set of all groups of segments that leads to non-deterministic execution.

[Chevochot and Puaut, RTCSA 1999] Related Paper 2 (contd.) E/(s i, s j, R); E - Union of E(REP, gr) Set of all segments that use the replica R and are in site s i and s j. ((eu i, eu j ), (eu k, eu l )) belongs to E/(s i, s j, R) and exclusive request, then (eu i, eu j ) IO (eu k, eu l ) is added. Extension to Xu and Parnas’ algorithm Exclusion relation - segments in different sites. Precedence relation - segments in different sites. Ordering constraints.

[Young and Shu, RTMS 1996] Related Paper 3 Hybrid Online/Offline Scheduling for Hard Real- Time Systems Objective To improve the utilization of the systems that require schedulability guarantees. Offline Scheduling Periodic tasks using a modified version of Xu and Parnas’ algorithm. Online Scheduling Priority based scheduling technique for sporadic tasks.

[Young and Shu, RTMS 1996] Related Paper 3 (contd.) Technical Overview Rate monotonic task assignment – A periodic task should finish executing before its period. Optimal allocation of idle times across different periodic tasks – using binary search algorithm Algorithm Find a schedule using Xu and Parnas’ algorithm. If lateness > 0, no valid schedule. Else distribute the idle time across task boundaries using binary search method.

[Young and Shu, RTMS 1996] Related Paper 3 (contd.) Advantages of this approach Not all tasks are scheduled offline (compared to pure offline scheduling). Reduces semaphores and context-switch overhead (compared to pure online scheduling). Suggested improvements to Xu and Parnas’ algorithm Observation – Partial initial schedule Vs Complete initial schedule.

[Peng and Shin, TSE 1993]16 Uncited paper Optimal scheduling of cooperative tasks in a distributed system using an enumerative method To minimize the system hazard (maximum normalized task response time) Task graphs are used to describe precedence relations and message passing between modules Sets of preceded/dependent modules:  0,  1 Dominance properties (DPs)  Z sp ,  , S  Used to generate immaterial sets (IM) of modules

[Peng and Shin, TSE 1993]17 Uncited Paper (contd.) Branch and bound approach used to schedule the dominant IM at all times Search continues until a complete schedule is determined Similarities/Extensions to original paper Set of schedules generated at each node Algorithm to compute lower bound similar to the one in the original paper DPs take into account the aftereffects of scheduling a module, not just its deadline/response time

18 References T. F. Abdelzaher and K. G. Shin, "Optimal Combined Task and Message Scheduling in Distributed Real-Time Systems", in Proceedings. of the IEEE Real- Time Systems Symposium, Dec. 5-7, 1995, pp P. Chevochot and I. Puaut, "Scheduling fault-tolerant distributed hard real-time tasks independently of the replication strategies", in Proceedings of the 6th International Conference on Real-Time Computing Systems and Applications, December 1999, pp D. Peng and K. G. Shin, "Optimal scheduling of cooperative tasks in a distributed system using an enumerative method", IEEE Transactions on Software Engineering, vol. 19, no. 3, March 1993, pp J. Xu and D. L. Parnas, "Scheduling Processes with Release Times, Deadlines, Precedence, and Exclusion Relations", IEEE Transactions on Software Engineering, vol. 16, March 1990, pp Michal Young and Lih-Chyun Shu, "Hybrid Online/Offline Scheduling for Hard Real-Time Systems", in Proceedings of 2nd International Symposium on Real- Time and Media Systems, July 1996, pp