Mok & friends. Resource partition for real- time systems (RTAS 2001)

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.
Time Demand Analysis.
Priority INHERITANCE PROTOCOLS
CPE555A: Real-Time Embedded Systems
THE UNIVERSITY of TEHRAN Mitra Nasri Sanjoy Baruah Gerhard Fohler Mehdi Kargahi October 2014.
From HRT-HOOD to ADA95 Real-Time Systems Lecture 5 Copyright, 2001 © Adam Czajka.
Real-Time Scheduling CIS700 Insup Lee October 3, 2005 CIS 700.
Tasks Periodic The period is the amount of time between each iteration of a regularly repeated task Time driven The task is automatically activated by.
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.
Preemptive Behavior Analysis and Improvement of Priority Scheduling Algorithms Xiaoying Wang Northeastern University China.
Periodic Task Scheduling
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.
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.
October 3, 2005CIS 7001 Compositional Real-Time Scheduling Framework Insik Shin.
MM Process Management Karrie Karahalios Spring 2007 (based off slides created by Brian Bailey)
The Design of an EDF- Scheduled Resource-Sharing Open Environment Nathan Fisher Wayne State University Marko Bertogna Scuola Superiore Santa’Anna of Pisa.
Composability and Schedulability of Real-Time Applications in Open Environments Nathan Fisher Department of Computer Science Wayne State University.
Approximation schemes Bin packing problem. Bin Packing problem Given n items with sizes a 1,…,a n  (0,1]. Find a packing in unit-sized bins that minimizes.
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.
資工系網媒所 NEWS 實驗室 Paper Discussion C. L. Liu and James W. Layland, "Scheduling Algorithms for Multiprogramming in a Hard-Real- Time Environment", JACM, Vol.
DESIGNING VM SCHEDULERS FOR EMBEDDED REAL-TIME APPLICATIONS Alejandro Masrur, Thomas Pfeuffer, Martin Geier, Sebastian Drössler and Samarjit Chakraborty.
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 Virtual Resource: a Timely Abstraction for Embedded Systems Aloysius K. Mok Alex Xiang Feng Dept. of Computer Sciences University of Texas at.
A Delay Composition theorem for Real-Time Pipelines P. Jayachandran T. Abdelzaher Presenter: Sina Meraji.
CSC 8420 Advanced Operating Systems Georgia State University Yi Pan.
1 Job Scheduling for Grid Computing on Metacomputers Keqin Li Proceedings of the 19th IEEE International Parallel and Distributed Procession Symposium.
RTOS task scheduling models
- 1 -  P. Marwedel, Univ. Dortmund, Informatik 12, 2006 Universität Dortmund Periodic scheduling For periodic scheduling, the best that we can do is to.
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.
Advanced Operating Systems - Spring 2009 Lecture 14 – February 25, 2009 Dan C. Marinescu Office: HEC 439 B. Office.
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.
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.
Real time scheduling G.Anuradha Ref:- Stallings. Real time computing Correctness of the system depends not only on the logical result of computation,
Common Approaches to Real-Time Scheduling Clock-driven (time-driven) schedulers Priority-driven schedulers Examples of priority driven schedulers Effective.
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.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 31 – Process Management (Part 1) Klara Nahrstedt Spring 2009.
Sandtids systemer 2.modul el. Henriks 1. forsøg m. Power Point.
Undergraduate course on Real-time Systems Linköping University TDDD07 Real-time Systems Lecture 2: Scheduling II Simin Nadjm-Tehrani Real-time Systems.
Real-Time Operating Systems RTOS For Embedded systems.
Embedded System Scheduling
Multiprocessor Real-Time Scheduling
Realtime Scheduling Algorithms
Real Time Scheduling Mrs. K.M. Sanghavi.
Sanjoy Baruah The University of North Carolina at Chapel Hill
Limited-Preemption Scheduling of Sporadic Tasks Systems
Richard Anderson Lecture 6 Greedy Algorithms
Richard Anderson Autumn 2016 Lecture 7
NET 424: REAL-TIME SYSTEMS (Practical Part)
Richard Anderson Lecture 7 Greedy Algorithms
Chapter 6: CPU Scheduling
Ch 4. Periodic Task Scheduling
Presentation transcript:

Mok & friends. Resource partition for real- time systems (RTAS 2001)

Feasibility analysis: the processor demand criterion methodology dbf(T,t): the maximum execution requirement by jobs of task T over any interval of length  t Feasibility  For all t o yes  system is feasible no  system is infeasible

Open systems Share one processor among many applications Develop each application in isolation  a task group  = {T 1,, T 2,..., T n }; T i = (c i, d i, p i ) a sporadic task  assume, executes on a virtual processor Two-level scheduler  top (“second”) level -- chooses which application to execute  application level -- schedules each application (task group)

Real-time virtual resources Earlier models -- the resource (processor) is available at a uniform rate Not valid when open systems are being designed The abstraction introduced in this paper  processor is available at a uniform rate in the virtual-time domain  If events e and e’ occur x time units apart in the virtual- time domain, then they occur at most (x + D) time units apart in the real-time domain for some constant D

Virtual time t V i (t) The ith task group is analyzed assuming a virtual processor of rate  V i (t) = t (  = 1) Thus far...

Virtual time t V i (t) The ith task group is analyzed assuming a virtual processor of rate  Just a slower processor... V i (t) = t (  = 1) V i (t) = 

Virtual time t V i (t) The ith task group is analyzed assuming a virtual processor of rate  The generalization... V i (t) = t

Virtual time t V i (t) The ith task group is analyzed assuming a virtual processor of rate  The generalization... V i (t) =  Real-time virtual resources: If events e and e’ occur x time units apart in the virtual-time domain, then they occur at most (x + D) time units apart in the real-time domain for some constant D e’ e

System model Periodic task T = (c,d,p) A task group  = {T 1, T 2,...,T n }, T i = (c i, d i, p i ) The processor is partitioned into real-time virtual processors, and each task group executes on its own virtual processor How to partition the processor?  [Sec 2] The static resource partition model  [Sec 3] The bounded-delay resource partition model Not static-priority!!

How to partition the processor? The static resource partition model  partition specified by a look-up table (a list) (like table-driven scheduling)  E.g. {(1,2), (4,6), (7,8), (10,12),....} The bounded-delay resource partition model  partition specified by utilization, and delay bound (the D parameter in the definition of real-time virtual resources)

Static resource partitioning: definitions A resource partition  = ( , P)  P is the partition period   = {(S 1, E 1 ), (S 2, E 2 ),..., (S N, E N )} is the partition list with 0  S 1 <E 1 <S 2 < E 2 <... < S N < E N  P The resource is available during time-slots [S i, E i ) The intervals [E i, S i+1 ) are called blocking times slots Availability factor of resource partition   (  ) = [(E 1 - S 1 ) + (E 2 - S 2 ) (E N - S N )]/P Supply function S(t) of resource partition  is the total amount of execution that is available to  over [0,t) (formula? properties[p7])

Static resource partitioning: virtual time t V i (t) The ith task group is analyzed assuming a virtual processor of rate  Executing at rate 1, or not executing at all

Static resource partitioning: fixed-pri scheduling Identify critical instance of job arrivals An idea -- start of largest blocking time slot? Theorem: Theorem: A fixed priority assignment on a task group with deadlines  periods meets all deadlines iff it meets the first deadline of each task when a job of each task arrives at the start of blocking time slot [E i, S i+1 ), for all blocking time slots Theorem: Theorem: Rate-monotonic/ deadline monotonic priority assignment is optimal Corollary: Corollary: Static-priority feasibility assignment in pseudo- polynomial time (N simulations, where N is the number of slots in the partition list)

Theorem: Theorem: A task group is feasible in a partition  iff for all positive t o and t Static resource partitioning: dynamic-pri scheduling Theorem: Theorem: EDF is an optimal scheduling algorithm Approach: Approach: facilitate the computation of rhs. Define  least supply function [S*(t)] (analogous to dbf) and  critical partition [  *] contains (N  N) time slots in its partition lists represents (perhaps not achievable in static-pri) worst-case behaviour