Multiprocessor Real-time Scheduling Jing Ma 马靖. Classification Partitioned Scheduling In the partitioned approach, the tasks are statically partitioned.

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.
EE5900 Advanced Embedded System For Smart Infrastructure
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.
CPE555A: Real-Time Embedded Systems
Courseware Scheduling of Distributed Real-Time Systems Jan Madsen Informatics and Mathematical Modelling Technical University of Denmark Richard Petersens.
An Introduction to Real Time Systems
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 ‡
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.
Preemptive Behavior Analysis and Improvement of Priority Scheduling Algorithms Xiaoying Wang Northeastern University China.
Chapter 6 Dynamic Priority Servers
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.
Wk 2 – Scheduling 1 CS502 Spring 2006 Scheduling The art and science of allocating the CPU and other resources to processes.
By Group: Ghassan Abdo Rayyashi Anas to’meh Supervised by Dr. Lo’ai Tawalbeh.
Technische Universität Dortmund Classical scheduling algorithms for periodic systems Peter Marwedel TU Dortmund, Informatik 12 Germany 2007/12/14.
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.
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.
Abhilash Thekkilakattil, Radu Dobrin, Sasikumar Punnekkat Mälardalen Real-time Research Center, Mälardalen University Västerås, Sweden Preemption Control.
More Scheduling cs550 Operating Systems David Monismith.
MM Process Management Karrie Karahalios Spring 2007 (based off slides created by Brian Bailey)
A S CHEDULABILITY A NALYSIS FOR W EAKLY H ARD R EAL - T IME T ASKS IN P ARTITIONING S CHEDULING ON M ULTIPROCESSOR S YSTEMS Energy Reduction in Weakly.
Probabilistic Preemption Control using Frequency Scaling for Sporadic Real-time Tasks Abhilash Thekkilakattil, Radu Dobrin and Sasikumar Punnekkat.
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.
Chapter 101 Multiprocessor and Real- Time Scheduling Chapter 10.
Progress Report 2014/02/12. Previous in IPDPS’14 Energy-efficient task scheduling on per- core DVFS architecture ◦ Batch mode  Tasks with arrival time.
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.
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
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.
CS244-Introduction to Embedded Systems and Ubiquitous Computing Instructor: Eli Bozorgzadeh Computer Science Department UC Irvine Winter 2010.
Mapping: Applications  Processors
Special Class on Real-Time Systems
Module 2 Overview of Real Time System Scheduling
Real-Time systems By Dr. Amin Danial Asham.
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.
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.
CS333 Intro to Operating Systems Jonathan Walpole.
Operating System Concepts and Techniques Lecture 6 Scheduling-2* M. Naghibzadeh Reference M. Naghibzadeh, Operating System Concepts and Techniques, First.
Lecture 6: Real-Time Scheduling
Distributed Process Scheduling- Real Time Scheduling Csc8320(Fall 2013)
Real-Time Operating Systems RTOS For Embedded systems.
Embedded System Scheduling
Reducing the Number of Preemptions in Real-Time Systems Scheduling by CPU Frequency Scaling Abhilash Thekkilakattil, Anju S Pillai, Radu Dobrin, Sasikumar.
Multiprocessor Real-Time Scheduling
EEE Embedded Systems Design Process in Operating Systems 서강대학교 전자공학과
EEE 6494 Embedded Systems Design
Chapter 8 – Processor Scheduling
Lecture 24: Process Scheduling Examples and for Real-time Systems
Chapter 6 Dynamic Priority Servers
Real Time Scheduling Mrs. K.M. Sanghavi.
Processes and operating systems
Chapter 6: CPU Scheduling
Ch 4. Periodic Task Scheduling
Presentation transcript:

Multiprocessor Real-time Scheduling Jing Ma 马靖

Classification Partitioned Scheduling In the partitioned approach, the tasks are statically partitioned among the processors, i.e., each task is assigned to a processor and is always executed on it. Multiprocessor Scheduling algorithm Global Scheduling Under global scheduling, it is permitted that a job that has previously been preempted from one processor resume execution at a later point in time upon a different processor.

Uniprocessor Scheduling Algorithm static 1 dynamic but fixed within a job 2 fully dynamic 3 By priority:

Rate Monotonic (RM) Scheduling Assumption:  All tasks that have hard deadlines are periodic.  All tasks are independent.  di=pi, for all tasks.  ci is constant and is known for all tasks.  The time required for context switching is negligible  For a single processor with n tasks, the following equation holds for the accumulated utilization µ:

Rate Monotonic (RM) Scheduling  The priority of a task is a monotonically decreasing function of its period.  At any time, a highest priority task among all those that are ready for execution is allocated. If all assumptions are met, schedulability is guaranteed. The idle capacity is not required if the period of all tasks is a multiple of the period of the highest priority task

EDF scheduling  each time a new ready task arrives, it is inserted into a queue of ready tasks, sorted by their deadlines. If a newly arrived task is inserted at the head of the queue, the currently executing task is preempted

EDF scheduling Earlier deadline  preemption Later deadline  no preemption

LLF (Least Laxity First)  Priorities = decreasing function of the laxity (the less laxity, the higher the priority);  dynamically changing priority;  preemptive. Requires calling the scheduler periodically, and to recompute the laxity. Overhead for many calls of the scheduler and many context switches. Detects missed deadlines early.

Partitioned Scheduling  Several polynomial-time heuristics have been proposed for solving this problem. (eg. FF and BF) the worst-case achievable utilization on M processors for all of the heuristics (and also for an optimal partitioning algorithm) is only (M+1)/2, even when an optimal uniprocessor scheduling algorithm such as EDF is used.

Classification 1 no migration In partitioned scheduling algorithms, the set of tasks is partitioned into as many disjoint subsets as there are processors available, and each such subset is associated with a unique processor. 2 migration allowed (Restricted migration) Each job must execute entirely upon a single processor. However, different jobs of the same task may execute upon different processors. 3 unrestricted migration

Different Scheduling Algorithm

Global Scheduling  PD2 PD2 incurs significant run-time overhead due to its quantum- based scheduling approach.  EKG EKG concentrates workloads on some processors due to the approach similar to partitioned scheduling.  LNREF energy efficient compare to other algorithm

fluid scheduling model

T-N plane

LNREF scheduling algorithm

Future Trend (I guess)  Combine with other algorithm RT-DVFS(real-time dynamic voltage and frequency scaling)  Reduce Overhead  Uncertain Task Execution Time

reference  Energy-efficient Optimal Real-Time Scheduling on Multiprocessors,Kenji Funaoka, Shinpei Kato, IEEE,  Energy-Aware Scheduling for Real-Time Multiprocessor Systems with Uncertain Task Execution Time, Changjiu Xian, Yung-Hsiang Lu, Zhiyuan Li, DAC, June  Scheduling Algorithms and Operating Systems Support for Real- Time Systems, Krithi Ramamritham, John A. Stankovic, IEEE Vol 82, No. 1, January 1994  An Optimal Real-Time Scheduling Algorithm for Multiprocessors, Hyeonjoong Cho, Binoy Ravindran, 27 th IEEE International Real- Time System Symposium, 2006  s09/slides/softwareComponents.ppt

问题?