A Categorization of Real-Time Multiprocessor Scheduling Problems and Algorithms Presentation by Tony DeLuce CS 537 Scheduling Algorithms Spring Quarter.

Slides:



Advertisements
Similar presentations
Fakultät für informatik informatik 12 technische universität dortmund Classical scheduling algorithms for periodic systems Peter Marwedel TU Dortmund,
Advertisements

Washington WASHINGTON UNIVERSITY IN ST LOUIS Real-Time: Periodic Tasks Fred Kuhns Applied Research Laboratory Computer Science Washington University.
EE5900 Advanced Embedded System For Smart Infrastructure
Time Demand Analysis.
REAL TIME SYSTEM Scheduling.
1 EE5900 Advanced Embedded System For Smart Infrastructure RMS and EDF Scheduling.
Resource Management §A resource can be a logical, such as a shared file, or physical, such as a CPU (a node of the distributed system). One of the functions.
CPE555A: Real-Time Embedded Systems
Courseware Scheduling of Distributed Real-Time Systems Jan Madsen Informatics and Mathematical Modelling Technical University of Denmark Richard Petersens.
Mehdi Kargahi School of ECE University of Tehran
RUN: Optimal Multiprocessor Real-Time Scheduling via Reduction to Uniprocessor Paul Regnier † George Lima † Ernesto Massa † Greg Levin ‡ Scott Brandt ‡
Real-Time Scheduling CIS700 Insup Lee October 3, 2005 CIS 700.
Module 2 Priority Driven Scheduling of Periodic Task
Soft Real-Time Semi-Partitioned Scheduling with Restricted Migrations on Uniform Heterogeneous Multiprocessors Kecheng Yang James H. Anderson Dept. of.
How Many Boundaries Are Required to Ensure Optimality in Multiprocessor Scheduling? Geoffrey Nelissen Shelby Funk Dakai Zhu Joёl Goossens.
Preemptive Behavior Analysis and Improvement of Priority Scheduling Algorithms Xiaoying Wang Northeastern University China.
Scheduling for Embedded Real-Time Systems Amit Mahajan and Haibo.
Resource augmentation and on-line scheduling on multiprocessors Phillips, Stein, Torng, and Wein. Optimal time-critical scheduling via resource augmentation.
Recap from last time -I qGiven a system of periodic tasks:  = {  1,  2,...  n };  i = (T i, C i ) qSchedule using static priorities (of the first.
CS 104 Introduction to Computer Science and Graphics Problems Operating Systems (2) Process Management 10/03/2008 Yang Song (Prepared by Yang Song and.
Recap Priorities task-level static job-level static dynamic Migration task-level fixed job-level fixed migratory Baker/ Oh (RTS98) Pfair scheduling This.
Aperiodic Task Scheduling
Scheduling Algorithms for Multiprogramming in a Hard-Real-Time Environment Presented by Pete Perlegos C.L. Liu and James W. Layland.
By Group: Ghassan Abdo Rayyashi Anas to’meh Supervised by Dr. Lo’ai Tawalbeh.
CprE 458/558: Real-Time Systems
Real-Time Operating System Chapter – 8 Embedded System: An integrated approach.
Scheduling Parallel Task
Scheduling Master - Slave Multiprocessor Systems Professor: Dr. G S Young Speaker:Darvesh Singh.
Multiprocessor Real- Time Scheduling Aaron Harris CSE 666 Prof. Ganesan.
New Schedulability Tests for Real- Time task sets scheduled by Deadline Monotonic on Multiprocessors Marko Bertogna, Michele Cirinei, Giuseppe Lipari Scuola.
Fair Scheduling of Real-Time Tasks on Multiprocessors Uday Prabhala.
MM Process Management Karrie Karahalios Spring 2007 (based off slides created by Brian Bailey)
Task Scheduling By Dr. Amin Danial Asham.
Real Time Operating Systems Scheduling & Schedulers Course originally developed by Maj Ron Smith 8-Oct-15 Dr. Alain Beaulieu Scheduling & Schedulers- 7.
Real-Time Scheduling CS4730 Fall 2010 Dr. José M. Garrido Department of Computer Science and Information Systems Kennesaw State University.
1 Reducing Queue Lock Pessimism in Multiprocessor Schedulability Analysis Yang Chang, Robert Davis and Andy Wellings Real-time Systems Research Group University.
Scheduling policies for real- time embedded systems.
Multiprocessor Real-time Scheduling Jing Ma 马靖. Classification Partitioned Scheduling In the partitioned approach, the tasks are statically partitioned.
Multiprocessor and Real-Time Scheduling Chapter 10.
Chapter 101 Multiprocessor and Real- Time Scheduling Chapter 10.
BFair: An Optimal Scheduler for Periodic Real-Time Tasks
Real-Time Scheduling CS4730 Fall 2010 Dr. José M. Garrido Department of Computer Science and Information Systems Kennesaw State University.
The Global Limited Preemptive Earliest Deadline First Feasibility of Sporadic Real-time Tasks Abhilash Thekkilakattil, Sanjoy Baruah, Radu Dobrin and Sasikumar.
Resource Mapping and Scheduling for Heterogeneous Network Processor Systems Liang Yang, Tushar Gohad, Pavel Ghosh, Devesh Sinha, Arunabha Sen and Andrea.
6. Application mapping 6.1 Problem definition
Real Time Systems Real-Time Schedulability Part I.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems RMS and EDF Schedulers.
KUKUM Real Time System 1/21 Module 2 Real Time System Scheduling Lecture 05.
Distributed Process Scheduling : A Summary
Computer Science & Engineering, ASU1/17 Pfair Scheduling of Periodic Tasks with Allocation Constraints on Multiple Processors Deming Liu and Yann-Hang.
Real Time Operating Systems Schedulability - Part 2 Course originally developed by Maj Ron Smith 12/20/2015Dr Alain Beaulieu1.
Module 2 Overview of Real Time System Scheduling
Real-Time systems By Dr. Amin Danial Asham.
Common Approaches to Real-Time Scheduling Clock-driven (time-driven) schedulers Priority-driven schedulers Examples of priority driven schedulers Effective.
CSCI1600: Embedded and Real Time Software Lecture 23: Real Time Scheduling I Steven Reiss, Fall 2015.
Dynamic Priority Driven Scheduling of Periodic Task
Introduction to Real-Time Systems
Mok & friends. Resource partition for real- time systems (RTAS 2001)
Real-Time Scheduling --- An Overview Real-Time Scheduling --- An Overview Xiaoping He.
Negotiating Socially Optimal Allocations of Resources U. Endriss, N. Maudet, F. Sadri, and F. Toni Presented by: Marcus Shea.
1 Uniprocessor Scheduling Chapter 3. 2 Alternating Sequence of CPU And I/O Bursts.
Distributed Process Scheduling- Real Time Scheduling Csc8320(Fall 2013)
Embedded System Scheduling
EEE 6494 Embedded Systems Design
Sanjoy Baruah The University of North Carolina at Chapel Hill
Limited-Preemption Scheduling of Sporadic Tasks Systems
Multiprocessor and Real-Time Scheduling
Shortest-Job-First (SJR) Scheduling
The End Of The Line For Static Cyclic Scheduling?
Ch 4. Periodic Task Scheduling
Presentation transcript:

A Categorization of Real-Time Multiprocessor Scheduling Problems and Algorithms Presentation by Tony DeLuce CS 537 Scheduling Algorithms Spring Quarter Dr. Gilbert Young

Agenda Introduction Classification Relationships Conclusion

Introduction - Preliminary Real-time multiprocessor systems are now commonplace Problem of ensuring that deadline constraints of Uniprocessor systems has been widely studied In contrast, researchers are just beginning to understand the tradeoffs that exist in multiprocessor systems This presentation will present a classification and taxonomy for scheduling independent, periodic real-time tasks on a multiprocessor

Introduction

Introduction – Liu and Layland model Simplist model of a recurring process Task T is characterized by two parameters e – a worse case execution requirement p – a period Task T is invoked (known as a Job Release) at each non negative integer p Requires at most e units of processor time Must complete its execution in p units of time Collection of Periodic tasks is known as a Periodic Task System (denoted t)

Liu and Leyland - definitions Task system t is schedulable by an algorithm A if A ensures that the timing constraints of all tasks in t are met. t is said to be feasible under a class C of scheduling algorithms if t is schedulable by some algorithm A that is a member of C An algorithm A is said to be optimal with respect to class C if A is a member of C and A correctly schedules every task that is feasible under C Note: When C is not specified, it should be assumed to include all possible scheduling algorithms.

Classification of Scheduling Approaches

Two Traditional Approaches Partitioning Each task is assigned to a single processor Processors are scheduled independently Main advantage is reduces problem to a uniprocessor problem Problem is NP-HARD! Global Scheduling All eligible tasks are stored in single priority-ordered queue Global Scheduler selects highest priority tasks from this queue Unforunately using this with optimal uniprocessor algorithms may result in very low processor utilization But recent research on Pfair scheduling has shown considerable progress – optimal!

New “Middle” Approach also considered Each job is still assigned to a processor but tasks are allowed to migrate Interprocessor task migration is permitted only at job boundaries Resolves issue of low processor utilization to some extent In effort to understand cost of migration a classification was created that ranks scheduling schemes along two dimensions: Complexity of the Priority Scheme Degree of Migration Allowed

New Classification of Scheduling Approaches Complexity of the Priority Scheme Static Dynamic but fixed within a job Fully Dynamic Degree of Migration Allowed No Migration Migration allowed, but only at job boundaries Unrestricted Migration

9 Different Classes of Scheduling Algorithms Job preemption is permitted Two Axes of of Classification are orthogonal to each other in the sense that restricting an algorithm along one axis does not restrict freedom along the other Thus there are 3 x 3 = 9 different classes of Scheduling Algoithms in this Taxonomy

Migration-Based Classification Axis Interprocessor migration was traditionally forbidden in real-time systems for a number of reasons In many systems the cost of transferring a job from one processor to the next can be prohibitive (recent developments in very fast interconnection networks over small areas have reduced this concern somewhat) Until recently, traditional real-time scheduling lacked the techniques and tools to permit a detailed analysis Therefore Partitioning was preferred approach solely due to the nonexistence of viable alternative approaches

Degrees of Migration-Based Classification Axis No Migration Set of tasks partitioned into as many disjoint subsets as processors available Each subset is associated with a unique processor All jobs generated by the tasks in a subset must execute on the corresponding processor Same as Partition problem Restricted Migration Each job must execute entirely upon a single processor However, different jobs of the same task may execute upon different processors Job level context on unique processor but task-level context may be migrated Full Migration no restrictions of any kind

Degrees of Priority-Based Classification Static Priorities Unique Priority is associated with each task All jobs generated by a task have the priority associated with that task Job-level Dynamic Priorities for any pair of jobs Ji and Jj, if Ji has a higher priority than Jj at some instant in time, then Ji always has higher priority than Jj Unrestricted Dynamic Priorities No restrictions placed on priorities that may be assigned to jobs Relative Priority between jobs may change at any time

Two Definitions A scheduling algorithm is (x,y)-restricted for x is a member of {1,2,3} and y is a member of {1,2,3}, if it is in priority class x and migration class y An ordered pair denoted by denotes the set of task systems that are feasible under (x,y)-restricted scheduling

Table of Classification of Algorithms

Schedulability Relationships

Schedulability Relationships - Definitions The class of (w,x)-restricted algorithms is strictly more powerful than the class of (y,z)-restricted algorithms That is, any task system that is feasible under (y,z)-restricted class is also feasible under the (w,x)-restricted class Furthermore, there exists at least one task system that is feasible under the (w,x)-restricted class but not under the (y,z)-restricted class

Schedulability Relationships Definitions The class of (w,x)-restricted algorithms and the class of (y,z)- restricted algorithms are equivalent That is, a task system is feasible under the (w,x)-restricted class if and only if it is feasible under the (y,z)-restricted class The class of (w,x)-restricted algorithms and the class of (y,z)- restricted algorithms are incomparable That is, there exists at least one task system that is feasible under the (w,x)-restricted class but not under the (y,z)-restricted class, and vice-versa

Table of Scheduling Relationships

Relationships among Classes

Conclusion

This presentation detailed a new taxonomy of scheduling algorithms for scheduling preemptive tasks on multiprocessors. We described new classes of scheduling algorithms and considered the relationship of these classes to each other