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.

Slides:



Advertisements
Similar presentations
Washington WASHINGTON UNIVERSITY IN ST LOUIS Real-Time: Periodic Tasks Fred Kuhns Applied Research Laboratory Computer Science Washington University.
Advertisements

Time Demand Analysis.
1 EE5900 Advanced Embedded System For Smart Infrastructure RMS and EDF Scheduling.
CSE 522 Real-Time Scheduling (4)
An Introduction to Real Time Systems
THE UNIVERSITY of TEHRAN Mitra Nasri Sanjoy Baruah Gerhard Fohler Mehdi Kargahi October 2014.
Mehdi Kargahi School of ECE University of Tehran
Real-Time Systems Scheduling Tool Developed by Daniel Ghiringhelli Advisor: Professor Jiacun Wang December 19, 2005.
ISE480 Sequencing and Scheduling Izmir University of Economics ISE Fall Semestre.
From HRT-HOOD to ADA95 Real-Time Systems Lecture 5 Copyright, 2001 © Adam Czajka.
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.
Task Allocation and Scheduling n Problem: How to assign tasks to processors and to schedule them in such a way that deadlines are met n Our initial focus:
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.
HASSO-PLATTNER-INSTITUT für Softwaresystemtechnik GmbH an der Universität Potsdam Multiprocessor Scheduling “Global Multiprocessor Scheduling of Aperiodic.
Courseware Scheduling Uniprocessor Real-Time Systems Jan Madsen Informatics and Mathematical Modelling Technical University of Denmark Richard Petersens.
Periodic Task Scheduling
Resource augmentation and on-line scheduling on multiprocessors Phillips, Stein, Torng, and Wein. Optimal time-critical scheduling via resource augmentation.
Fakultät für informatik informatik 12 technische universität dortmund Classical scheduling algorithms for periodic systems Peter Marwedel TU Dortmund,
EE 249, Fall Discussion: Scheduling Haibo Zeng Amit Mahajan.
Embedded Systems Exercise 3: Scheduling Real-Time Periodic and Mixed Task Sets 18. May 2005 Alexander Maxiaguine.
Recap Priorities task-level static job-level static dynamic Migration task-level fixed job-level fixed migratory Baker/ Oh (RTS98) Pfair scheduling This.
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.
Scheduling Algorithms for Multiprogramming in a Hard-Real-Time Environments.
Chapter 4 – Periodic Task Scheduling In many real-time systems periodic tasks dominate the demand. Three classic periodic task scheduling algorithms: –
Technische Universität Dortmund Classical scheduling algorithms for periodic systems Peter Marwedel TU Dortmund, Informatik 12 Germany 2007/12/14.
New Schedulability Tests for Real- Time task sets scheduled by Deadline Monotonic on Multiprocessors Marko Bertogna, Michele Cirinei, Giuseppe Lipari Scuola.
A Categorization of Real-Time Multiprocessor Scheduling Problems and Algorithms Presentation by Tony DeLuce CS 537 Scheduling Algorithms Spring Quarter.
MM Process Management Karrie Karahalios Spring 2007 (based off slides created by Brian Bailey)
Quantifying the sub-optimality of uniprocessor fixed priority non-pre-emptive scheduling Robert Davis 1, Laurent George 2, Pierre Courbin 3 1 Real-Time.
Real-Time Scheduling CS4730 Fall 2010 Dr. José M. Garrido Department of Computer Science and Information Systems Kennesaw State 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.
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.
Real-Time Scheduling CS 3204 – Operating Systems Lecture 20 3/3/2006 Shahrooz Feizabadi.
NC STATE UNIVERSITY Center for Embedded Systems Research (CESR) Electrical & Computer Engineering North Carolina State University Ali El-Haj-Mahmoud and.
Outline Introduction Minimizing the makespan Minimizing total flowtime
Scheduling Real-Time tasks on Symmetric Multiprocessor Platforms Real-Time Systems Laboratory RETIS Lab Marko Bertogna Research Area: Multiprocessor Systems.
Real Time Systems Real-Time Schedulability Part I.
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.
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.
Special Class on Real-Time Systems
CSE 522 Real-Time Scheduling (2)
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 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.
Dynamic Priority Driven Scheduling of Periodic Task
Classical scheduling algorithms for periodic systems Peter Marwedel TU Dortmund, Informatik 12 Germany 2012 年 12 月 19 日 These slides use Microsoft clip.
Mok & friends. Resource partition for real- time systems (RTAS 2001)
Undergraduate course on Real-time Systems Linköping University TDDD07 Real-time Systems Lecture 2: Scheduling II Simin Nadjm-Tehrani Real-time Systems.
Lecture 6: Real-Time Scheduling
Distributed Process Scheduling- Real Time Scheduling Csc8320(Fall 2013)
Embedded System Scheduling
Multiprocessor Real-Time Scheduling
Sanjoy Baruah The University of North Carolina at Chapel Hill
Elastic Task Model For Adaptive Rate Control
NET 424: REAL-TIME SYSTEMS (Practical Part)
Planning and Scheduling
Processes and operating systems
Ch 4. Periodic Task Scheduling
Real-Time Scheduling David Ferry CSCI 3500 – Operating Systems
Presentation transcript:

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 kind) –Two approaches: –partitioning Dhall (1977), Dhall & Liu (1979): min #-procs for given  Baker & Oh (1998): utilization bound for fixed m –non-partitioning –(John generalizes...) qIn both approaches, feasibility-determination is NP-H in the SS (Leung & Whitehead -- from bin-packing) qThe two approaches are incomparable

Recap from last time - II qRM may have arbitrarily low utilization (the “Dhall effect”) qAn upper bound on the achievable utilization of any static-priority scheme... Question: Is this bound tight? (Prove for m=2!) I.e., Given  with [ (SUM  j :  j  : C i /T i )  4/3], prove that there is a static priority-assignment for  which results in all deadlines being met.

A detour: Not-quite-static priorities Question: Construct a similar upper bound for priority- assignment schemes of type “2”. (Is this tight? For n=2?) I.e., Given  with [ (SUM  j :  j  : C i /T i )  3/2], prove that there is a static priority-assignment for  which results in all deadlines being met.

This paper -I qObs 1 & 2: increasing period may reduce feasibility –(reason: parallelism of processor left over by higher-pri tasks increases) qObs 3: Critical instant not easily identified qObs 4: Response time of a task depends upon relative priorities of higher-priority tasks –==> the Audsley technique of priority assignment cannot be used qTheorem 1: A sufficient condition for feasibility –idea of the proof –possible problems?

Recap qPhil’s example of EDF anomaly qJohn’s generalization of partitioning/ non-partitioning qShelby -- all about bin-packing Priorities task-level static job-level static dynamic Migration task-level fixed job-level fixed migratory Baker/ Oh (RTS98) Pfair scheduling This paper Jim wants to know... bin-packing + LL (no advantage) bin-packing + EDF

This paper -I qObs 1 & 2: increasing period may reduce feasibility –(reason: parallelism of processor left over by higher-pri tasks increases) qObs 3: Critical instant not easily identified qObs 4: Response time of a task depends upon relative priorities of higher-priority tasks –==> the Audsley technique of priority assignment cannot be used qTheorem 1: A sufficient condition for feasibility –idea of the proof –possible problems?

This paper -II “Circumventing Dhall’s effect” [Dhall’s effect:  1 =  2 =... =  m = (2, 2  );  m+1 = (1+ , 1) ] qWould like  m+1 to have higher priority: Least slack assignment of priorities? –doesn’t quite work qTkC priority assignment: –choose a constant k –for each  i = (T i, C i ), priority-number of  i := T i - k  C i –lowest priority-number gets highest priority qSeems a reasonable idea, but...

This paper -III Deep thoughts about TkC: (priority-number of  i := T i - k  C i ) k=0: RM –not good: Dhall’s effect qk very large: assign priorities according to C i ’s –not good:  1 =  2 = (100,1);  3 =  4 = (10000,100) is infeasible on 2 procs qk somewhere in between...

This paper -IV Why I don’t like TkC qWhere’s the simple idea? qConjecture is that (m+1) tasks is the worst-case... –goes against uniprocessor experience To disprove: (as opposed to not believe) –find a counterexample to the utilization bound (likely easiest for m=2 -- static least-slack)

How would we approach this problem? qSpecial cases (e.g., harmonic task sets) qDifferent kinds of priority schemes –priority-number of  i = f(  i ) – relative priorities of two tasks depends upon only the two tasks –must examine all tasks prior to assigning priorities qImplications to on-line admission control

Tractable special cases? Harmonic task sets qResult: Critical instant is easily identified qResult: Priority detemination remains NP-H in the SS –(since the Leung/Whitehead proof had all periods equal) Question: What about fixed number of processors? –(provably NP-H, but in the ordinary sense, for m=2)

Open problems qIs the upper bound on achievable utilization tight? qIs the type-2 priority bound tight? qAny results on harmonic task sets? q[Uniprocessors:] Think deep thoughts about type 2 vs type 3 priority-assignment