HASSO-PLATTNER-INSTITUT für Softwaresystemtechnik GmbH an der Universität Potsdam Multiprocessor Scheduling “Global Multiprocessor Scheduling of Aperiodic.

Slides:



Advertisements
Similar presentations
Multiprocessor Scheduling
Advertisements

Fakultät für informatik informatik 12 technische universität dortmund Classical scheduling algorithms for periodic systems Peter Marwedel TU Dortmund,
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
Introduction to Embedded Systems Resource Management - III Lecture 19.
Priority INHERITANCE PROTOCOLS
1 Adapted from UCB CS252 S01, Revised by Zhao Zhang in IASTATE CPRE 585, 2004 Lecture 14: Hardware Approaches for Cache Optimizations Cache performance.
CPE555A: Real-Time Embedded Systems
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:
1 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Embedded Systems Exercise 2: Scheduling Real-Time Aperiodic Tasks.
Towards Feasibility Region Calculus: An End-to-end Schedulability Analysis of Real- Time Multistage Execution William Hawkins and Tarek Abdelzaher Presented.
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.
Spring 2002Real-Time Systems (Shin) Rate Monotonic Analysis Assumptions – A1. No nonpreemptible parts in a task, and negligible preemption cost –
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.
Operating System Concepts and Techniques Lecture 5 Scheduling-1 M. Naghibzadeh Reference M. Naghibzadeh, Operating System Concepts and Techniques, First.
Task Scheduling By Dr. Amin Danial Asham.
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.
Chapter 101 Multiprocessor and Real- Time Scheduling Chapter 10.
Real-Time Systems Mark Stanovich. Introduction System with timing constraints (e.g., deadlines) What makes a real-time system different? – Meeting timing.
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.
5 May CmpE 516 Fault Tolerant Scheduling in Multiprocessor Systems Betül Demiröz.
6. Application mapping 6.1 Problem definition
A Delay Composition theorem for Real-Time Pipelines P. Jayachandran T. Abdelzaher Presenter: Sina Meraji.
Real Time Systems Real-Time Schedulability Part I.
Copyright ©: Nahrstedt, Angrave, Abdelzaher1 Scheduling II: priority scheduling.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems RMS and EDF Schedulers.
Distributed Process Scheduling : A Summary
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.
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.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Distributed Real-Time Systems.
Real time scheduling G.Anuradha Ref:- Stallings. Real time computing Correctness of the system depends not only on the logical result of computation,
Introduction to Embedded Systems Rabie A. Ramadan 5.
A presentation for Brian Evans’ Embedded Software Class By Nate Forman Liaison Technology Inc. 3/30/2000 For Real-Time Scheduling.
CSCI1600: Embedded and Real Time Software Lecture 23: Real Time Scheduling I Steven Reiss, Fall 2015.
Introduction to Real-Time Systems
Sandtids systemer 2.modul el. Henriks 1. forsøg m. Power Point.
Mok & friends. Resource partition for real- time systems (RTAS 2001)
Real-Time Scheduling --- An Overview Real-Time Scheduling --- An Overview Xiaoping He.
11 G53SRP: Feasibility analysis Chris Greenhalgh School of Computer Science.
1.  System Characteristics  Features of Real-Time Systems  Implementing Real-Time Operating Systems  Real-Time CPU Scheduling  An Example: VxWorks5.x.
Undergraduate course on Real-time Systems Linköping University TDDD07 Real-time Systems Lecture 2: Scheduling II Simin Nadjm-Tehrani Real-time Systems.
CS Spring 2010 CS 414 – Multimedia Systems Design Lecture 32 – Multimedia OS Klara Nahrstedt Spring 2010.
Lecture 6: Real-Time Scheduling
Embedded System Scheduling
Multiprocessor Real-Time Scheduling
Chapter 19: Real-Time Systems
Unit OS9: Real-Time and Embedded Systems
EEE 6494 Embedded Systems Design
Lecture 24: Process Scheduling Examples and for Real-time Systems
Real Time Scheduling Mrs. K.M. Sanghavi.
Sanjoy Baruah The University of North Carolina at Chapel Hill
CSCI1600: Embedded and Real Time Software
Chapter 19: Real-Time Systems
CSCI1600: Embedded and Real Time Software
Processes and operating systems
Real-Time Process Scheduling Concepts, Design and Implementations
Ch 4. Periodic Task Scheduling
Real-Time Process Scheduling Concepts, Design and Implementations
Presentation transcript:

HASSO-PLATTNER-INSTITUT für Softwaresystemtechnik GmbH an der Universität Potsdam Multiprocessor Scheduling “Global Multiprocessor Scheduling of Aperiodic Tasks using Time- Independent Priorities” Alexander Küchler

Multiprocessor Scheduling Prof. Dr. Lars Lundberg, Prof. Dr. Andreas Polze 2 Agenda  Definitions  Previous work  Problems, assumptions and goals  Results  ‘Calculating’ U threshold  Strategy for using the bound  References

Alexander Küchler Multiprocessor Scheduling Prof. Dr. Lars Lundberg, Prof. Dr. Andreas Polze 3 Definitions I  Global/dynamic scheduling = a process can be migrate from one processor to another at run- time (assumption: no penalty for migration)  Aperiodic tasks = subgroup of periodic tasks, where no statements for arrival can be made  Time-independent priorities = assigned priority does not depend of its absolute arrival time  Preemptive scheduling = a task can be interrupted and continued later

Alexander Küchler Multiprocessor Scheduling Prof. Dr. Lars Lundberg, Prof. Dr. Andreas Polze 4 Definitions II  Multiprocessor with m processors and a set of n independent tasks  Each task T n has an arrival time A n a worst-case execution time C n a deadline D n, a synthetic utilization U n =C n /D n a priority P n  Total utilization U is the sum of all U n of tasks that have arrived but not yet reached their deadline

Alexander Küchler Multiprocessor Scheduling Prof. Dr. Lars Lundberg, Prof. Dr. Andreas Polze 5 Definitions III  V(t) is a task set with A i ≤t<A i +D i  Synthetic utilization is

Alexander Küchler Multiprocessor Scheduling Prof. Dr. Lars Lundberg, Prof. Dr. Andreas Polze 6 Previous work I  (1) shows categorization of time-independent and non-time-independent scheduling policies for aperiodic tasks  (2) shows optimal utilization bound of for liquid tasks (C i  0 and C i /D i  0) on multiprocessor machines  (3) shows avoidance of Dhall’s effect for periodic tasks by dividing tasks into two categories (U i U threshold (m) = heavy; U i U threshold (m) = light)

Alexander Küchler Multiprocessor Scheduling Prof. Dr. Lars Lundberg, Prof. Dr. Andreas Polze 7 Previous work I – Dhall’s effect

Alexander Küchler Multiprocessor Scheduling Prof. Dr. Lars Lundberg, Prof. Dr. Andreas Polze 8 Previous work II  (4) shows similar problem for periodic tasks with a result of ln(1+y)=(1-y)/(1+y) which is approx. 37,482% for m  

Alexander Küchler Multiprocessor Scheduling Prof. Dr. Lars Lundberg, Prof. Dr. Andreas Polze 9 Problems, assumptions and goals  Problems: Dhall’s effect shows that deadline monotonic priority assignment may lead to missed deadlines even if U is very low  Assumptions: Preemptive scheduling is possible Time-independent priorities for each task (depending on C and D, not A!)  Goals: All tasks in the task set meet their deadlines

Alexander Küchler Multiprocessor Scheduling Prof. Dr. Lars Lundberg, Prof. Dr. Andreas Polze 10 Results I  Optimal utilization is a function of the number of processors m: with  U threshold has two meanings: threshold for synthetic utilization in the admission control of incoming tasks: accept or reject threshold for categorization of light and heavy tasks

Alexander Küchler Multiprocessor Scheduling Prof. Dr. Lars Lundberg, Prof. Dr. Andreas Polze 11 Results II  U threshold is an always valid bound (but not always optimal for all multiprocessors)  Generalize previous single-processor results [1] to multiprocessors  Extend previous multiprocessor results by considering not only liquid tasks [2] which are a special case of the generalized formulas

Alexander Küchler Multiprocessor Scheduling Prof. Dr. Lars Lundberg, Prof. Dr. Andreas Polze 12 ‘Calculating’ U threshold I  The idea behind the calculation is that one: compute US(t) for a worst-case critically schedulable task pattern this depends on the number of processors and is a function of x=U n =C n /D n  The calculation based upon one lemma and two theorem’s …

Alexander Küchler Multiprocessor Scheduling Prof. Dr. Lars Lundberg, Prof. Dr. Andreas Polze 13 ‘Calculating’ U threshold II Lemma 1: A task T x and a task pattern where each T i that has higher priority than T x has A i ≥A x can be modified to a task pattern with same US(t) and block interference on T x

Alexander Küchler Multiprocessor Scheduling Prof. Dr. Lars Lundberg, Prof. Dr. Andreas Polze 14 ‘Calculating’ U threshold II (Lemma 1)

Alexander Küchler Multiprocessor Scheduling Prof. Dr. Lars Lundberg, Prof. Dr. Andreas Polze 15 ‘Calculating’ U threshold II (Theorem 1) Theorem 1: There is a worst-case critically schedulable task pattern, such that no task T i in this task pattern has an arrival time A i <A n : that means that we can disregard all tasks with an early arrival, because they do not influence the block interference

Alexander Küchler Multiprocessor Scheduling Prof. Dr. Lars Lundberg, Prof. Dr. Andreas Polze 16 ‘Calculating’ U threshold II (Theorem 1)

Alexander Küchler Multiprocessor Scheduling Prof. Dr. Lars Lundberg, Prof. Dr. Andreas Polze 17 ‘Calculating’ U threshold II (Theorem 1)

Alexander Küchler Multiprocessor Scheduling Prof. Dr. Lars Lundberg, Prof. Dr. Andreas Polze 18 ‘Calculating’ U threshold II (Theorem 1)

Alexander Küchler Multiprocessor Scheduling Prof. Dr. Lars Lundberg, Prof. Dr. Andreas Polze 19 ‘Calculating’ U threshold II (Theorem 2) Theorem 2: Create m copies of each task  disregarding T n, the load on each processor is identical  reduce of the problem to a single-processor case

Alexander Küchler Multiprocessor Scheduling Prof. Dr. Lars Lundberg, Prof. Dr. Andreas Polze 20 ‘Calculating’ U threshold III Important: by splitting each task into m new tasks block interference from high priority tasks occurs [1] shows the worst-case how to handle the problem An quadratic equation will be solved to get an optimal utilization bound for the single-processor case from [1] Regard for the problem of heavy tasks: m heavy tasks with large D may lead to missed deadlines  priority assignment strategy to avoid Dhall’s effect:  1. consider high utilization  2. consider short deadline

Alexander Küchler Multiprocessor Scheduling Prof. Dr. Lars Lundberg, Prof. Dr. Andreas Polze 21 Strategy for using the bound I  Accept incoming tasks when current An accepted task T i is light if  Use m: accept incoming tasks when current An accepted task T i is light if

Alexander Küchler Multiprocessor Scheduling Prof. Dr. Lars Lundberg, Prof. Dr. Andreas Polze 22 Strategy for using the bound II  Keep track of among current tasks: accept incoming tasks if for liquid tasks: accept for [2]  In admission test: for very hard tasks with increase US(t) with only in the interval A i ≤t≤A i +D i, so you reduce synthetic utilization and can accept more tasks

Alexander Küchler Multiprocessor Scheduling Prof. Dr. Lars Lundberg, Prof. Dr. Andreas Polze 23 References (1)“Schedulability Analysis and Utilization Bounds for Highly Scalable Real- Time Services”; Abdelzaher/Lu (2)“The Aperiodic Multiprocessor Utilization Bounds for Liquid Tasks”; Abdelzaher et.al (3)“Static-priority scheduling on multiprocessors”; Andersson/Baruah/Jonsson (4)“Analyzing Fixed-Priority Multiprocessor Scheduling”; Lundberg

Alexander Küchler Multiprocessor Scheduling Prof. Dr. Lars Lundberg, Prof. Dr. Andreas Polze 24 Questions? Thank you very much for your attention. Any questions left? Ask me!