Fair Scheduling of Real-Time Tasks on Multiprocessors Uday Prabhala.

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.
Real Time Scheduling.
Priority INHERITANCE PROTOCOLS
Real-Time Mutli-core Scheduling Moris Behnam. Introduction Single processor scheduling – E.g., t 1 (P=10,C=5), t 2 (10, 6) – U= >1 – Use a faster.
1 EE5900 Advanced Embedded System For Smart Infrastructure RMS and EDF Scheduling.
CPU Scheduling Tanenbaum Ch 2.4 Silberchatz and Galvin Ch 5.
Courseware Scheduling of Distributed Real-Time Systems Jan Madsen Informatics and Mathematical Modelling Technical University of Denmark Richard Petersens.
SCHEDULING Kshama Desai Bijal Shah Kishore Putta Kashyap Sheth.
Mehdi Kargahi School of ECE University of Tehran
DP-F AIR : A Simple Model for Understanding Optimal Multiprocessor Scheduling Greg Levin † Shelby Funk ‡ Caitlin Sadowski † Ian Pye † Scott Brandt † †
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
How Many Boundaries Are Required to Ensure Optimality in Multiprocessor Scheduling? Geoffrey Nelissen Shelby Funk Dakai Zhu Joёl Goossens.
Computer Science Deadline Fair Scheduling: Bridging the Theory and Practice of Proportionate-Fair Scheduling in Multiprocessor Servers Abhishek Chandra.
Fakultät für informatik informatik 12 technische universität dortmund Classical scheduling algorithms for periodic systems Peter Marwedel TU Dortmund,
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 34 – Media Server (Part 3) Klara Nahrstedt Spring 2012.
A Model for Minimizing Active Processor Time Jessica Chang Joint work with Hal Gabow and Samir Khuller.
End-to-End Delay Analysis for Fixed Priority Scheduling in WirelessHART Networks Abusayeed Saifullah, You Xu, Chenyang Lu, Yixin Chen.
Multiprocessor Real- Time Scheduling Aaron Harris CSE 666 Prof. Ganesan.
Distributed Real-Time systems 1 By: Mahdi Sadeghizadeh Website: Sadeghizadeh.ir Advanced Computer Networks.
A Categorization of Real-Time Multiprocessor Scheduling Problems and Algorithms Presentation by Tony DeLuce CS 537 Scheduling Algorithms Spring Quarter.
VOLTAGE SCHEDULING HEURISTIC for REAL-TIME TASK GRAPHS D. Roychowdhury, I. Koren, C. M. Krishna University of Massachusetts, Amherst Y.-H. Lee Arizona.
Jim Anderson 1 Multiprocessor Fair Scheduling The Case for Multiprocessor Fair Scheduling James H. Anderson University of North Carolina at Chapel Hill.
More Scheduling cs550 Operating Systems David Monismith.
Module 2 Clock-Driven Scheduling
CS 153 Design of Operating Systems Spring 2015 Lecture 11: Scheduling & Deadlock.
Real Time Operating Systems Scheduling & Schedulers Course originally developed by Maj Ron Smith 8-Oct-15 Dr. Alain Beaulieu Scheduling & Schedulers- 7.
Probabilistic Results for Mixed Criticality Real-Time Scheduling Bader N. Alahmad Sathish Gopalakrishnan.
1 Reducing Queue Lock Pessimism in Multiprocessor Schedulability Analysis Yang Chang, Robert Davis and Andy Wellings Real-time Systems Research Group University.
Multiprocessor Real-time Scheduling Jing Ma 马靖. Classification Partitioned Scheduling In the partitioned approach, the tasks are statically partitioned.
Real-Time Systems Mark Stanovich. Introduction System with timing constraints (e.g., deadlines) What makes a real-time system different? – Meeting timing.
BFair: An Optimal Scheduler for Periodic Real-Time Tasks
Prepare by : Ihab shahtout.  Overview  To give an overview of fixed priority schedule  Scheduling and Fixed Priority Scheduling.
Outline Introduction Minimizing the makespan Minimizing total flowtime
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems RMS and EDF Schedulers.
Computer Science & Engineering, ASU1/17 Pfair Scheduling of Periodic Tasks with Allocation Constraints on Multiple Processors Deming Liu and Yann-Hang.
Energy-Aware Scheduling for Aperiodic Tasks on Multi-core Processors Dawei Li and Jie Wu Department of Computer and Information Sciences Temple University,
Special Class on Real-Time Systems
CSCI1600: Embedded and Real Time Software Lecture 24: Real Time Scheduling II Steven Reiss, Fall 2015.
Introduction to Embedded Systems Rabie A. Ramadan 5.
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.
Introduction to Real-Time Systems
Mok & friends. Resource partition for real- time systems (RTAS 2001)
For a good summary, visit:
Yingchao ZHAO, Caritas Institute of Higher Education Xiangtong QI, HKUST Minming LI, City University of Hong Kong.
Studying and Implementing Multi-processor based Real-time Scheduling Algorithms in Linux Musfiq Niaz Rahman
Wireless Packet Scheduling With Soft Deadlines Aditya Dua and Nicholas Bambos Department of Electrical Engineering Stanford University ICC 2007.
0 Simulation Modeling and Analysis: Input Analysis 7 Random Numbers Ref: Law & Kelton, Chapter 7.
Lecture 4 Page 1 CS 111 Summer 2013 Scheduling CS 111 Operating Systems Peter Reiher.
Process Scheduling. Scheduling Strategies Scheduling strategies can broadly fall into two categories  Co-operative scheduling is where the currently.
Improved Conditions for Bounded Tardiness under EPDF Fair Multiprocessor Scheduling UmaMaheswari Devi and Jim Anderson University of North Carolina at.
Distributed Process Scheduling- Real Time Scheduling Csc8320(Fall 2013)
Real-Time Operating Systems RTOS For Embedded systems.
Infinite loading A scheduling approach that ignores capacity constraints. Click here for Hint finite loading or infinite loading or priority rule?
Embedded System Scheduling
Multiprocessor Real-Time Scheduling
Wayne Wolf Dept. of EE Princeton University
assemble-to-order (ATO) A system that produces standard modules to be
TDC 311 Process Scheduling.
CSCI1600: Embedded and Real Time Software
COMP60621 Fundamentals of Parallel and Distributed Systems
CSCI1600: Embedded and Real Time Software
Anand Srinivasan Department of Computer Science
COMP60611 Fundamentals of Parallel and Distributed Systems
Ch 4. Periodic Task Scheduling
Presentation transcript:

Fair Scheduling of Real-Time Tasks on Multiprocessors Uday Prabhala

Introduction The roots of much of the research on this topic can be traced back to the seminal work of Baruah et al. on Proportionate fairness (Pfairness). This work proved that the problem of optimally scheduling periodic tasks on multiprocessors could be solved online in polynomial time by using Pfair scheduling algorithms. It differs from Conventional where execution is at steady rates. For example, in a periodic schedule, a task T executes at a rate defined by its required utilization (T.e/T.p) over large intervals. However, T’s execution rate over short intervals, e.g., individual periods, may vary significantly. Hence, the notion of a rate under the periodic task model is a bit inexact.

Pfair Scheduling Each task is executed at an approximately uniform rate by breaking it into a series of quantum-length subtasks Time is then subdivided into a sequence of (potentially overlapping) subintervals of approximately equal lengths, called windows. Each subtask must execute within its associated window. Different subtasks of a task are allowed to execute on different processors (i.e., interprocessor migration is permitted), but may not execute simultaneously (i.e.,parallelism is prohibited)

Periodic Task Systems In this,we consider the problem of scheduling a set τ of synchronous periodic tasks on a multiprocessor. We assume that processor time is allocated in discrete time units, or quanta, and refer to the time interval [t, t + 1), where t is a nonnegative integer, as slot t. We refer to the ratio of T.e/T.p as the weight of task T, denoted by wt(T). Informally, wt(T) is the rate at which T should be executed, relative to the speed of a single processor. A task with weight less than 1/2 is called a light task, while a task with weight at least 1/2 is called a heavy task. The sequence of scheduling decisions over time defines a schedule If S(T, t) = 1, then we say that task T is scheduled in slot t

Pfair Scheduling In a perfectly fair (ideal) schedule for a synchronous task system, every task T would receive wt(T) · t quanta over the interval [0, t) (which implies that all deadlines are met). Lag:

Windows Under Pfair scheduling, each task T is effectively divided into an infinite sequence of quantum-length subtasks Calculating Window : pseudorelease : r (Ti ) pseudo-deadline : d(Ti ).

Feasibility M is the processor

ERfair Scheduling One undesirable characteristic of Pfair scheduling is that jobs can be ineligible according to the Pfairness constraint, despite being ready. Consequently, processors may idle while ready but unscheduled jobs exist

Servicing Aperiodic Jobs : One important application of ERfair scheduling is to permit mixed scheduling of Pfair tasks and aperiodic jobs. Implementation : PF, PD, and PD2 can be easily adapted to allow early releases. In particular, if Ti is selected for execution, and if its successor Ti+1 is eligible (perhaps due to an early release), then Ti+1 can be inserted immediately into the ready queue

Intrasporadic Task Systems The intrasporadic (IS) task model was proposed as an extension of the well-studied periodic and sporadic models. The sporadic model generalizes the periodic model by allowing jobs to be released late, i.e., the separation between consecutive job releases of a task is allowed to be more than the task’s period. The IS model generalizes this by allowing subtasks to be released late,

Dynamic Task Systems In many real-time systems, the set of runnable tasks may change dynamically. For example is a desktop systemthat supports real-time applications such as multimedia and collaborative-support systems, which may be initiated at arbitrary times. When considering dynamic task systems, a key issue is that of determining when tasks may join and leave the system without compromising schedulability.

Join and Leave Conditions A task can join if the total weight of all tasks will be at most M after its admission. It remains to determine when a task may leave the system safely Join condition: A task T can join at time t if and only if Equation (31.5) continues to hold after joining. Leave condition: A task T can leave at time t if and only if t ≥ d(Ti ), where Ti is the last-scheduled subtask of T.

Resource Sharing Lock-Free Synchronization : Lock-free algorithms typically avoid locking through the use of “retry loops” and strong synchronization primitives Problems with Lock-Based Synchronization : a)Scheduling can lead to longer delays b) A task’s priority may change during one of its critical sections. c) Pfair weights are a form of reservation mechanism, which complicates blocking-time accounting.

Questions ???