Process Scheduling for RTS. RTS Scheduling Approach. Cyclic Executive Approach

Size: px
Start display at page:

Download "Process Scheduling for RTS. RTS Scheduling Approach. Cyclic Executive Approach"

Transcription

1 Process Scheduling for RTS Dr. Hugh Melvin, Dept. of IT, NUI,G RTS Scheduling Approach RTS typically control multiple parameters concurrently Eg. Flight Control System Speed, altitude, inclination etc.. Eg. Power Station Temperature, Pressure, Flowrate Options Use a single process Simple/limited approach No OS required Use multiple processes More complex but more flexible/scalable Use threads Light weight relative to processes Dr. Hugh Melvin, Dept. of IT, NUI,G Cyclic Executive Approach Single Process while(){ Task ; Task ;.... Task n; } No Operating System No scheduler Manually construct cycle schedule Encapsulate all tasks within single infinite loop Dr. Hugh Melvin, Dept. of IT, NUI,G 3

2 Cyclic Executive Ok for very well defined / periodic tasks with bounded execution times Need to ensure that tasks cannot block and halt all others Recall: different parameters being controlled may have different physical characteristics Eg. Temperature, pressure, voltage in power station Different tasks require different sample rates and response times Above example All tasks run at same frequency Overall cycle will run as fast as processor can handle tasks May need to slow tasks down to meet particular RTS reqds Dr. Hugh Melvin, Dept. of IT, NUI,G 4 Cyclic Executive Possible Strategies Run as fast as required by highest freq task Use lower harmonics for remaining tasks Possible use of counters to control sequence Use of major and minor cycles Eg. Highest freq Task is 00 Hz Other tasks at 50Hz, 5 Hz etc Possible use of timers/interval timers to correctly schedule tasks Dr. Hugh Melvin, Dept. of IT, NUI,G 5 Cyclic Executive Task Set Major Cycle = 00 Minor Cycle = 5 Use interval timer interrupts to enable scheduler to loop through minor cycles Manually construct schedule to meet criteria Task A B C D E Period p msec Exec Time msec Dr. Hugh Melvin, Dept. of IT, NUI,G 6

3 CE Time Line Interrupts generated every 5 msec eg. via interval timer INT INT INT INT A B C D E Dr. Hugh Melvin, Dept. of IT, NUI,G 7 loop wait_for_int task_a task_b task_c wait_for_int task_a task_b task_d task_e wait_for_int task_a task_b task_c wait_for_int task_a task_b task_d end loop CE Pseudocode Dr. Hugh Melvin, Dept. of IT, NUI,G 8 Cyclic Executive Major cycle must be multiple of minor cycle All tasks share common address space Can pass data easily Little/no need for data protection (eg via semaphores/mutex) Only one task operates at any time no concurrent access possible Large tasks may need to be subdivided to facilitate/meet overall schedule adds to complexity Dr. Hugh Melvin, Dept. of IT, NUI,G 9 3

4 Cyclic Executive Requires very precise knowledge of RTS Sample rate/response time for parameter controlled by each task WCET for each task bounded Once well constructed schedulability test not needed Difficulty in constructing static schedule! Limited scope for aperiodic tasks eg. Interrupts Inflexible Adding a new task may involve a lot of work Hardware specific very limited portability Dr. Hugh Melvin, Dept. of IT, NUI,G 0 Cyclic Executive Moneypoint AS Station Example Cyclic executive approach Each AS station handles well defined tasks Execution time of each task precisely known Task schedule constructed Ensure total schedule runtime will meet sample rate/response time of each parameter being controlled Slack time in each cycle built in for interrupt processing If total task time exceeded repeatedly, timeout fault Dr. Hugh Melvin, Dept. of IT, NUI,G Multiple Process Approach Allows each parameter within RTS to be controlled by separate process Advantages Each process is much more simple as handling a small subset of overall RTS More robust and flexible Facilitates process priorities More scalable Can run on multiprocessor machine Modular Individual process code more portable Protected Each process operates in isolation with dedicated memory less risk of overall system failure Dr. Hugh Melvin, Dept. of IT, NUI,G 4

5 Multiple Process Approach Downside Complexity Requires an OS to schedule multiple processes Task priorities may need to be assigned More memory reqd for process overhead Context switch overhead May be slower Communication between processes has to be explicitly done (advantage!) Impact of complexity on reliability? Operating envelope for a RTS can usually be very well defined Benefits of MP approach achieved through complexity often not that relevant CE approach still widespread within Hard RTS Dr. Hugh Melvin, Dept. of IT, NUI,G 3 Multiple Process Generic Process States Dormant : Process created but not eligible to execute Ready: Process released and eligible to execute but not doing so May be preempted May have been blocked for resources move to ready May have reached end of timeslice Executing: Process being executed Suspended (Blocked): Process waiting for resource to be freed or self-suspended Terminated: Process finished execution Dr. Hugh Melvin, Dept. of IT, NUI,G 4 Process State Diagram Ready Schedule Task Pre-empt or Timeslice allocated Preempted, timeslice up Dormant Executing Resource freed Blocked/ Self suspended Resource freed Blocked Process terminated Terminated Dr. Hugh Melvin, Dept. of IT, NUI,G 5 5

6 Scheduling for RTS Fundamental OS function for any Computer System Fairness and time-sharing are usual scheduling objectives of non RTS Scheduling much more critical for RTS Allocating resources and scheduling processes to ensure that deadlines are met Note Terminology Confusion In CE approach, we saw that multiple tasks control multiple parameters and are contained within a single process In MP approach, we saw that multiple processes, each perhaps controlling a single parameter coexist using an OS However, much of literature on schedulability analysis for MP systems refers to tasks rather than processes should be clear from the context Dr. Hugh Melvin, Dept. of IT, NUI,G 6 Scheduling for RTS A schedule is feasible iff all the tasks/processes start after their release time and complete before their deadlines Scheduling Policy may be determined Pre-run-time Schedule created offline Not unlike Cyclic Executive approach Run-time Schedule determined online as tasks arrive Needs to be done quickly! Can have static or dynamic process priority Dr. Hugh Melvin, Dept. of IT, NUI,G 7 Scheduling for RTS Run-time Static versus Run-time Dynamic Priority Static Priority Scheduling Alg. Task priority does not change Rate Monotonic Alg. Dynamic Priority Scheduling Alg. Priority can change over time Earliest Deadline First (EDF) Preemptive versus non-preemptive Preemptive Schedule Task can be preempted by other tasks Penalty of context switches Non preemptive Task runs to completion unless blocked over resource Dr. Hugh Melvin, Dept. of IT, NUI,G 8 6

7 Task Characteristics T i Precedence Constraints Other tasks reqd before task T i can run Release Time of task T i = r i Phase Φ i of task T i = release time of st instance of task T i Execution time e i of task T i = time (worst case) for task to complete (WCET) Period p i = interval between consecutive instances of task T i (presuming periodic) Absolute Deadline D i = instant by which task must be complete Relative Deadline d i.. Relative to release time r i Dr. Hugh Melvin, Dept. of IT, NUI,G 9 Task Characteristics T i p i d i e i r i Φi D i Dr. Hugh Melvin, Dept. of IT, NUI,G 0 Simplifications All tasks are periodic Relative deadline is equal to period No precedence constraints No task has any non-preemptible sections Cost of preemption is zero Non CPU resources are infinite eg. Memory / I/O limited use in the real world! Dr. Hugh Melvin, Dept. of IT, NUI,G 7

8 Rate Monotonic Scheduling Run time, Static priority and Preemptive Priority inversely related to period Eg. Given task T i and T j where p i < p j Priority of task T i greater than T j In real world, the more critical RTS parameters tend to require faster sample rate/response times of processes controlling those parameters RM is a good match in this regard Scheduling decision made when Current task execution complete New task released n Recall task T i utilisation u i = e i / p i Overall CPU Utilisation U = u i i= Dr. Hugh Melvin, Dept. of IT, NUI,G RM Example Task T T T 3 e 5 p u All Tasks released at time 0 Priority T > T > T 3 Overall U = 0.9 Sequence st inst Task runs to completion st inst Task runs to completion st inst Task 3 runs for unit..at Eu=4, Task released preempts Task 3 nd inst Task runs to completion..at Eu =5, Task released nd inst Task runs to completion st inst Task 3 runs for unit.. At Eu = 8, Task released preempts Task3 3 rd inst Task runs to completion st inst Task 3 runs for unit.. At Eu = 0, 3 rd inst of Task released preempts 3.. At Eu = 5, st inst Task 3 completes.. CPU idle Eu 8-0 At Eu = 0, all 3 tasks released.. Cycle repeats Execution Units Eu Dr. Hugh Melvin, Dept. of IT, NUI,G 3 RM Scheduling General schedulability test If U <= n( /n -) where n = no of tasks RM will definitely produce feasible schedule No need for further analysis However RM may produce feasible schedule where U > n( /n -) i.e. Sufficient but not necessary condition Recall Example: CPU U = 0.9 but still schedulable Depends on particular task characteristics If U > n( /n -) need to perform further schedulability analysis As n increases, bound 69% Dr. Hugh Melvin, Dept. of IT, NUI,G 4 8

9 Utilisation Bound for RM Alg. Bound No of Tasks Dr. Hugh Melvin, Dept. of IT, NUI,G 5 Eg. Taskset T T T 3 T 4 where p < p < p 3 < p 4 Task Highest priority.. never preempted Will run immediately once released For Task to be feasibly scheduled Only condition is that e <= p Include Task in task set Can only preempted by Task Will be executed iff can find sufficient time e over period [0, p ] Say Task completes at time t within [0, p ] How many times did Task run over [0,t]? Each iteration must also complete in this interval [0,t] Dr. Hugh Melvin, Dept. of IT, NUI,G 6 Over interval [0,t], Task completes Must satisfy condition t = e + e t p i Need to find t over interval [ 0, p ] Only need to check this when new instances of task are released Find integer k such that: k p >= k e + e k p <= p t p i Dr. Hugh Melvin, Dept. of IT, NUI,G 7 9

10 Include Task 3 Can be preempted by Task and Need to find t over [0,p 3 ] such that = t p e + Need to check only at multiples of p and/or p Similar analysis for Task 4 Can be preempted by Task,,3 t e e t p 3 + Dr. Hugh Melvin, Dept. of IT, NUI,G 8 General Rule W i (t) = i e t j p j= j = total work carried out by tasks T T T 3... T i initiated in interval [0,t] If W i (t) <= t, then schedule is feasible (W i (t) / t) <= W i (t) only changes at finite no of points when tasks are released Check points defined by p τ = = = i i lp j j,.., i; l,.., p j Dr. Hugh Melvin, Dept. of IT, NUI,G 9 Consider Task set Check points W: {00} W: {00,80} W3: {00,80,00,40} W4: {00,80,00,40,300,360,400} i 3 4 e i p i n = 4 n( /n -) = 0.76 Note U = 0.95 ( ) further analysis Dr. Hugh Melvin, Dept. of IT, NUI,G 30 0

11 Task is RM Schedulable iff e <=00 (True) Task / is RM Schedulable iff e + e <= 00 or.(true: 50) e + e <= 80. (True: 70) Task //3 is RM Schedulable iff e + e + e 3 <= 00 or. (False: 30) e + e + e 3 <= 80 or.. (True:50) e + e + e 3 <= 00 or (True:80) 3 e + e + e 3 <= 40. (True:00) Dr. Hugh Melvin, Dept. of IT, NUI,G 3 Task //3/4 is RM Schedulable iff e + e + e 3 + e 4 <= 00 or. (False:30) e + e + e 3 + e 4 <= 80 or.. (False:50) e + e + e 3 + e 4 <= 00 or (False:80) 3e + e + e 3 + e 4 <= 40 or. (False:300) 3e + e + e 3 + e 4 <=300 or. (False:380) 4e + e + e 3 + e 4 <=360 or. (False:400) 4e + 3e + e 3 + e 4 <=400. (False:430) By includingtask 4, not RM schedulable Can also plot results Check whether W i (t) falls on or below W i (t) =t line Dr. Hugh Melvin, Dept. of IT, NUI,G 3 i W i (t) = e t j p j= j W Interval [0,00] W (t) = e = 0 W : checkpoints{00,80} Interval [0,00] ; W (t) = e =0() +30() = 50 Interval [0,80] ; W(t)= e 0() +30() = e 00 p p 80 + e 80 p p Dr. Hugh Melvin, Dept. of IT, NUI,G 33

12 W3 : checkpoints{00,80,00,40} W 3 (t)= e t + e t + e p 3 p Interval [0,00] W 3 (t) = 0() +30() +80() = 30 Interval [0,80] 0() + 30()+ 80() = 50 Interval [0,00] 0() + 30() + 80() = 80 Interval [0,40] 0(3) + 30() + 80() = 00 p3 t Dr. Hugh Melvin, Dept. of IT, NUI,G 34 W Wi(t) =t W 0 Time 00 Time Dr. Hugh Melvin, Dept. of IT, NUI,G 35 W3 Wi(t) =t 430 W ? Wi(t) =t 00 Time Time 400 Dr. Hugh Melvin, Dept. of IT, NUI,G 36

13 Sporadic Tasks So far have only considered periodic tasks unrealistic Can view sporadic task as infrequent periodic task if can specify Minimum interarrival time between release of successive sporadic tasks Maximum execution time Simply treat as additional task in RM analysis Dr. Hugh Melvin, Dept. of IT, NUI,G 37 Earliest Deadline First (EDF) Run-time, Dynamic and Preemptable Ready task whose absolute deadline is the earliest is given highest priority Task priorities are re-evaluated when tasks released/completed EDF is an optimal uni-processor sched alg If all tasks are periodic n Task n ; CPU U = u i i= If U <=, then task set is EDF schedulable Dr. Hugh Melvin, Dept. of IT, NUI,G 38 Task T T T 3 EDF Example e 5 p u All Tasks released at time 0 Overall U = 0.9 Sequence st inst Task runs st as earliest deadline of 4 st inst Task runs to completion st inst Task 3 runs for unit..note: Deadline is 0..at Eu=4, Task rel. preempy Task 3 as deadline is 8 nd inst Task runs to completion..at Eu =5, Task released nd inst Task runs to completion as deadline is 0 st inst Task 3 runs for unit.. At Eu = 8, Task released preempts Task3 3 rd inst Task runs to completion st inst Task 3 runs for unit.. At Eu =0, Task rel.. Preempts task 3 as deadline is 5.. At Eu =, Task runs as deadline 6 < 0 At Eu =5 Task released and runs with deadline 0 At Eu =6 Task rel with deadline 0 no preemption Execution Units Eu Dr. Hugh Melvin, Dept. of IT, NUI,G 39 3

14 Task T T T 3 EDF Example e p u All Tasks released at time 0 Overall U = 0.93 Sequence st inst Task runs st as earliest deadline of 3 st inst Task runs to completion.. At Eu=3, nd inst Task rel & runs as deadline is 6 st inst Task 3 runs..at Eu=5, Task rel. doesn t preempt Task 3 as deadline is also 0.. Task 3 completes.. At Eu = 6, Task released deadline 9 runs.. At Eu = 7 Task runs to completion.. At Eu =9, Task rel deadline..runs.. At Eu =0, Task 3 rel. deadline 0, Task also rel with deadline 5 Task runs.. At Eu =5, Task and released with deadlines 6,0 Task runs.. At Eu=6, Task runs.. At Eu = 8 Task rel with deadline but Task 3 has deadline 0 Task 3 runs Execution Units Eu Dr. Hugh Melvin, Dept. of IT, NUI,G 40 EDF vs RM With RM, priorities fixed Lowest period tasks guaranteed proc time Only higher period tasks will miss deadlines In overload conditions, same lower priority tasks lose out Bound on CPU utilisation must be considered Necessary but not sufficient EDF, dynamic priority More flexible.. Less predictable In overload conditions, Aall tasks may miss deadlines Schedulable if CPU U <= Dr. Hugh Melvin, Dept. of IT, NUI,G 4 Conventional OS Scheduling Time Sharing Emphasis Balance needs of interactive and CPU intensive traffic Complex alg Constantly adjust process priority CPU intensive processes lose priority as they run As a process waits, priority is increased will get CPU slot sooner Unix command nice nice -0 process_high_priority nice +0 process_low_priority nice will work but underlying sched alg unchanged Windows RealTime Threads Somewhat equivalent Dr. Hugh Melvin, Dept. of IT, NUI,G 4 4

Real-Time Scheduling. Real Time Operating Systems and Middleware. Luca Abeni

Real-Time Scheduling. Real Time Operating Systems and Middleware. Luca Abeni Real Time Operating Systems and Middleware Luca Abeni luca.abeni@unitn.it Definitions Algorithm logical procedure used to solve a problem Program formal description of an algorithm, using a programming

More information

Lecture 13. Real-Time Scheduling. Daniel Kästner AbsInt GmbH 2013

Lecture 13. Real-Time Scheduling. Daniel Kästner AbsInt GmbH 2013 Lecture 3 Real-Time Scheduling Daniel Kästner AbsInt GmbH 203 Model-based Software Development 2 SCADE Suite Application Model in SCADE (data flow + SSM) System Model (tasks, interrupts, buses, ) SymTA/S

More information

Real-Time Systems. Event-Driven Scheduling

Real-Time Systems. Event-Driven Scheduling Real-Time Systems Event-Driven Scheduling Hermann Härtig WS 2018/19 Outline mostly following Jane Liu, Real-Time Systems Principles Scheduling EDF and LST as dynamic scheduling methods Fixed Priority schedulers

More information

Real-time Scheduling of Periodic Tasks (1) Advanced Operating Systems Lecture 2

Real-time Scheduling of Periodic Tasks (1) Advanced Operating Systems Lecture 2 Real-time Scheduling of Periodic Tasks (1) Advanced Operating Systems Lecture 2 Lecture Outline Scheduling periodic tasks The rate monotonic algorithm Definition Non-optimality Time-demand analysis...!2

More information

Embedded Systems Development

Embedded Systems Development Embedded Systems Development Lecture 3 Real-Time Scheduling Dr. Daniel Kästner AbsInt Angewandte Informatik GmbH kaestner@absint.com Model-based Software Development Generator Lustre programs Esterel programs

More information

Real-Time and Embedded Systems (M) Lecture 5

Real-Time and Embedded Systems (M) Lecture 5 Priority-driven Scheduling of Periodic Tasks (1) Real-Time and Embedded Systems (M) Lecture 5 Lecture Outline Assumptions Fixed-priority algorithms Rate monotonic Deadline monotonic Dynamic-priority algorithms

More information

CIS 4930/6930: Principles of Cyber-Physical Systems

CIS 4930/6930: Principles of Cyber-Physical Systems CIS 4930/6930: Principles of Cyber-Physical Systems Chapter 11 Scheduling Hao Zheng Department of Computer Science and Engineering University of South Florida H. Zheng (CSE USF) CIS 4930/6930: Principles

More information

Real-Time Systems. Event-Driven Scheduling

Real-Time Systems. Event-Driven Scheduling Real-Time Systems Event-Driven Scheduling Marcus Völp, Hermann Härtig WS 2013/14 Outline mostly following Jane Liu, Real-Time Systems Principles Scheduling EDF and LST as dynamic scheduling methods Fixed

More information

Embedded Systems 15. REVIEW: Aperiodic scheduling. C i J i 0 a i s i f i d i

Embedded Systems 15. REVIEW: Aperiodic scheduling. C i J i 0 a i s i f i d i Embedded Systems 15-1 - REVIEW: Aperiodic scheduling C i J i 0 a i s i f i d i Given: A set of non-periodic tasks {J 1,, J n } with arrival times a i, deadlines d i, computation times C i precedence constraints

More information

Task Models and Scheduling

Task Models and Scheduling Task Models and Scheduling Jan Reineke Saarland University June 27 th, 2013 With thanks to Jian-Jia Chen at KIT! Jan Reineke Task Models and Scheduling June 27 th, 2013 1 / 36 Task Models and Scheduling

More information

Embedded Systems 14. Overview of embedded systems design

Embedded Systems 14. Overview of embedded systems design Embedded Systems 14-1 - Overview of embedded systems design - 2-1 Point of departure: Scheduling general IT systems In general IT systems, not much is known about the computational processes a priori The

More information

Clock-driven scheduling

Clock-driven scheduling Clock-driven scheduling Also known as static or off-line scheduling Michal Sojka Czech Technical University in Prague, Faculty of Electrical Engineering, Department of Control Engineering November 8, 2017

More information

Real-Time Scheduling

Real-Time Scheduling 1 Real-Time Scheduling Formal Model [Some parts of this lecture are based on a real-time systems course of Colin Perkins http://csperkins.org/teaching/rtes/index.html] Real-Time Scheduling Formal Model

More information

Andrew Morton University of Waterloo Canada

Andrew Morton University of Waterloo Canada EDF Feasibility and Hardware Accelerators Andrew Morton University of Waterloo Canada Outline 1) Introduction and motivation 2) Review of EDF and feasibility analysis 3) Hardware accelerators and scheduling

More information

Real-time operating systems course. 6 Definitions Non real-time scheduling algorithms Real-time scheduling algorithm

Real-time operating systems course. 6 Definitions Non real-time scheduling algorithms Real-time scheduling algorithm Real-time operating systems course 6 Definitions Non real-time scheduling algorithms Real-time scheduling algorithm Definitions Scheduling Scheduling is the activity of selecting which process/thread should

More information

Lecture 6. Real-Time Systems. Dynamic Priority Scheduling

Lecture 6. Real-Time Systems. Dynamic Priority Scheduling Real-Time Systems Lecture 6 Dynamic Priority Scheduling Online scheduling with dynamic priorities: Earliest Deadline First scheduling CPU utilization bound Optimality and comparison with RM: Schedulability

More information

Real-time Scheduling of Periodic Tasks (2) Advanced Operating Systems Lecture 3

Real-time Scheduling of Periodic Tasks (2) Advanced Operating Systems Lecture 3 Real-time Scheduling of Periodic Tasks (2) Advanced Operating Systems Lecture 3 Lecture Outline The rate monotonic algorithm (cont d) Maximum utilisation test The deadline monotonic algorithm The earliest

More information

Real-Time Scheduling and Resource Management

Real-Time Scheduling and Resource Management ARTIST2 Summer School 2008 in Europe Autrans (near Grenoble), France September 8-12, 2008 Real-Time Scheduling and Resource Management Lecturer: Giorgio Buttazzo Full Professor Scuola Superiore Sant Anna

More information

Real-time Systems: Scheduling Periodic Tasks

Real-time Systems: Scheduling Periodic Tasks Real-time Systems: Scheduling Periodic Tasks Advanced Operating Systems Lecture 15 This work is licensed under the Creative Commons Attribution-NoDerivatives 4.0 International License. To view a copy of

More information

Aperiodic Task Scheduling

Aperiodic Task Scheduling Aperiodic Task Scheduling Jian-Jia Chen (slides are based on Peter Marwedel) TU Dortmund, Informatik 12 Germany Springer, 2010 2017 年 11 月 29 日 These slides use Microsoft clip arts. Microsoft copyright

More information

Scheduling I. Today Introduction to scheduling Classical algorithms. Next Time Advanced topics on scheduling

Scheduling I. Today Introduction to scheduling Classical algorithms. Next Time Advanced topics on scheduling Scheduling I Today Introduction to scheduling Classical algorithms Next Time Advanced topics on scheduling Scheduling out there You are the manager of a supermarket (ok, things don t always turn out the

More information

Networked Embedded Systems WS 2016/17

Networked Embedded Systems WS 2016/17 Networked Embedded Systems WS 2016/17 Lecture 2: Real-time Scheduling Marco Zimmerling Goal of Today s Lecture Introduction to scheduling of compute tasks on a single processor Tasks need to finish before

More information

CPU SCHEDULING RONG ZHENG

CPU SCHEDULING RONG ZHENG CPU SCHEDULING RONG ZHENG OVERVIEW Why scheduling? Non-preemptive vs Preemptive policies FCFS, SJF, Round robin, multilevel queues with feedback, guaranteed scheduling 2 SHORT-TERM, MID-TERM, LONG- TERM

More information

3. Scheduling issues. Common approaches 3. Common approaches 1. Preemption vs. non preemption. Common approaches 2. Further definitions

3. Scheduling issues. Common approaches 3. Common approaches 1. Preemption vs. non preemption. Common approaches 2. Further definitions Common approaches 3 3. Scheduling issues Priority-driven (event-driven) scheduling This class of algorithms is greedy They never leave available processing resources unutilized An available resource may

More information

CHAPTER 5 - PROCESS SCHEDULING

CHAPTER 5 - PROCESS SCHEDULING CHAPTER 5 - PROCESS SCHEDULING OBJECTIVES To introduce CPU scheduling, which is the basis for multiprogrammed operating systems To describe various CPU-scheduling algorithms To discuss evaluation criteria

More information

EDF Feasibility and Hardware Accelerators

EDF Feasibility and Hardware Accelerators EDF Feasibility and Hardware Accelerators Andrew Morton University of Waterloo, Waterloo, Canada, arrmorton@uwaterloo.ca Wayne M. Loucks University of Waterloo, Waterloo, Canada, wmloucks@pads.uwaterloo.ca

More information

There are three priority driven approaches that we will look at

There are three priority driven approaches that we will look at Priority Driven Approaches There are three priority driven approaches that we will look at Earliest-Deadline-First (EDF) Least-Slack-Time-first (LST) Latest-Release-Time-first (LRT) 1 EDF Earliest deadline

More information

Priority-driven Scheduling of Periodic Tasks (1) Advanced Operating Systems (M) Lecture 4

Priority-driven Scheduling of Periodic Tasks (1) Advanced Operating Systems (M) Lecture 4 Priority-driven Scheduling of Periodic Tasks (1) Advanced Operating Systems (M) Lecture 4 Priority-driven Scheduling Assign priorities to jobs, based on their deadline or other timing constraint Make scheduling

More information

CSE 380 Computer Operating Systems

CSE 380 Computer Operating Systems CSE 380 Computer Operating Systems Instructor: Insup Lee & Dianna Xu University of Pennsylvania, Fall 2003 Lecture Note 3: CPU Scheduling 1 CPU SCHEDULING q How can OS schedule the allocation of CPU cycles

More information

Real-Time Systems. Lecture #14. Risat Pathan. Department of Computer Science and Engineering Chalmers University of Technology

Real-Time Systems. Lecture #14. Risat Pathan. Department of Computer Science and Engineering Chalmers University of Technology Real-Time Systems Lecture #14 Risat Pathan Department of Computer Science and Engineering Chalmers University of Technology Real-Time Systems Specification Implementation Multiprocessor scheduling -- Partitioned

More information

Che-Wei Chang Department of Computer Science and Information Engineering, Chang Gung University

Che-Wei Chang Department of Computer Science and Information Engineering, Chang Gung University Che-Wei Chang chewei@mail.cgu.edu.tw Department of Computer Science and Information Engineering, Chang Gung University } 2017/11/15 Midterm } 2017/11/22 Final Project Announcement 2 1. Introduction 2.

More information

CEC 450 Real-Time Systems

CEC 450 Real-Time Systems CEC 450 Real-Time Systems Lecture 3 Real-Time Services Part 2 (Rate Monotonic Theory - Policy and Feasibility for RT Services) September 7, 2018 Sam Siewert Quick Review Service Utility RM Policy, Feasibility,

More information

Scheduling. Uwe R. Zimmer & Alistair Rendell The Australian National University

Scheduling. Uwe R. Zimmer & Alistair Rendell The Australian National University 6 Scheduling Uwe R. Zimmer & Alistair Rendell The Australian National University References for this chapter [Bacon98] J. Bacon Concurrent Systems 1998 (2nd Edition) Addison Wesley Longman Ltd, ISBN 0-201-17767-6

More information

EECS 571 Principles of Real-Time Embedded Systems. Lecture Note #7: More on Uniprocessor Scheduling

EECS 571 Principles of Real-Time Embedded Systems. Lecture Note #7: More on Uniprocessor Scheduling EECS 571 Principles of Real-Time Embedded Systems Lecture Note #7: More on Uniprocessor Scheduling Kang G. Shin EECS Department University of Michigan Precedence and Exclusion Constraints Thus far, we

More information

TDDB68 Concurrent programming and operating systems. Lecture: CPU Scheduling II

TDDB68 Concurrent programming and operating systems. Lecture: CPU Scheduling II TDDB68 Concurrent programming and operating systems Lecture: CPU Scheduling II Mikael Asplund, Senior Lecturer Real-time Systems Laboratory Department of Computer and Information Science Copyright Notice:

More information

EDF Scheduling. Giuseppe Lipari CRIStAL - Université de Lille 1. October 4, 2015

EDF Scheduling. Giuseppe Lipari  CRIStAL - Université de Lille 1. October 4, 2015 EDF Scheduling Giuseppe Lipari http://www.lifl.fr/~lipari CRIStAL - Université de Lille 1 October 4, 2015 G. Lipari (CRIStAL) Earliest Deadline Scheduling October 4, 2015 1 / 61 Earliest Deadline First

More information

A Dynamic Real-time Scheduling Algorithm for Reduced Energy Consumption

A Dynamic Real-time Scheduling Algorithm for Reduced Energy Consumption A Dynamic Real-time Scheduling Algorithm for Reduced Energy Consumption Rohini Krishnapura, Steve Goddard, Ala Qadi Computer Science & Engineering University of Nebraska Lincoln Lincoln, NE 68588-0115

More information

Non-Preemptive and Limited Preemptive Scheduling. LS 12, TU Dortmund

Non-Preemptive and Limited Preemptive Scheduling. LS 12, TU Dortmund Non-Preemptive and Limited Preemptive Scheduling LS 12, TU Dortmund 09 May 2017 (LS 12, TU Dortmund) 1 / 31 Outline Non-Preemptive Scheduling A General View Exact Schedulability Test Pessimistic Schedulability

More information

TDDI04, K. Arvidsson, IDA, Linköpings universitet CPU Scheduling. Overview: CPU Scheduling. [SGG7] Chapter 5. Basic Concepts.

TDDI04, K. Arvidsson, IDA, Linköpings universitet CPU Scheduling. Overview: CPU Scheduling. [SGG7] Chapter 5. Basic Concepts. TDDI4 Concurrent Programming, Operating Systems, and Real-time Operating Systems CPU Scheduling Overview: CPU Scheduling CPU bursts and I/O bursts Scheduling Criteria Scheduling Algorithms Multiprocessor

More information

EDF Scheduling. Giuseppe Lipari May 11, Scuola Superiore Sant Anna Pisa

EDF Scheduling. Giuseppe Lipari   May 11, Scuola Superiore Sant Anna Pisa EDF Scheduling Giuseppe Lipari http://feanor.sssup.it/~lipari Scuola Superiore Sant Anna Pisa May 11, 2008 Outline 1 Dynamic priority 2 Basic analysis 3 FP vs EDF 4 Processor demand bound analysis Generalization

More information

Non-preemptive Fixed Priority Scheduling of Hard Real-Time Periodic Tasks

Non-preemptive Fixed Priority Scheduling of Hard Real-Time Periodic Tasks Non-preemptive Fixed Priority Scheduling of Hard Real-Time Periodic Tasks Moonju Park Ubiquitous Computing Lab., IBM Korea, Seoul, Korea mjupark@kr.ibm.com Abstract. This paper addresses the problem of

More information

Load Regulating Algorithm for Static-Priority Task Scheduling on Multiprocessors

Load Regulating Algorithm for Static-Priority Task Scheduling on Multiprocessors Technical Report No. 2009-7 Load Regulating Algorithm for Static-Priority Task Scheduling on Multiprocessors RISAT MAHMUD PATHAN JAN JONSSON Department of Computer Science and Engineering CHALMERS UNIVERSITY

More information

Scheduling I. Today. Next Time. ! Introduction to scheduling! Classical algorithms. ! Advanced topics on scheduling

Scheduling I. Today. Next Time. ! Introduction to scheduling! Classical algorithms. ! Advanced topics on scheduling Scheduling I Today! Introduction to scheduling! Classical algorithms Next Time! Advanced topics on scheduling Scheduling out there! You are the manager of a supermarket (ok, things don t always turn out

More information

Rate Monotonic Analysis (RMA)

Rate Monotonic Analysis (RMA) Rate Monotonic Analysis (RMA) ktw@csie.ntu.edu.tw (Real-Time and Embedded System Laboratory) Major References: An Introduction to Rate Monotonic Analysis Tutorial Notes SEI MU* Distributed Real-Time System

More information

Deadline-driven scheduling

Deadline-driven scheduling Deadline-driven scheduling Michal Sojka Czech Technical University in Prague, Faculty of Electrical Engineering, Department of Control Engineering November 8, 2017 Some slides are derived from lectures

More information

UC Santa Barbara. Operating Systems. Christopher Kruegel Department of Computer Science UC Santa Barbara

UC Santa Barbara. Operating Systems. Christopher Kruegel Department of Computer Science UC Santa Barbara Operating Systems Christopher Kruegel Department of Computer Science http://www.cs.ucsb.edu/~chris/ Many processes to execute, but one CPU OS time-multiplexes the CPU by operating context switching Between

More information

Real-Time Systems. Lecture 4. Scheduling basics. Task scheduling - basic taxonomy Basic scheduling techniques Static cyclic scheduling

Real-Time Systems. Lecture 4. Scheduling basics. Task scheduling - basic taxonomy Basic scheduling techniques Static cyclic scheduling Real-Time Systems Lecture 4 Scheduling basics Task scheduling - basic taxonomy Basic scheduling techniques Static cyclic scheduling 1 Last lecture (3) Real-time kernels The task states States and transition

More information

Exam Spring Embedded Systems. Prof. L. Thiele

Exam Spring Embedded Systems. Prof. L. Thiele Exam Spring 20 Embedded Systems Prof. L. Thiele NOTE: The given solution is only a proposal. For correctness, completeness, or understandability no responsibility is taken. Sommer 20 Eingebettete Systeme

More information

Optimal Utilization Bounds for the Fixed-priority Scheduling of Periodic Task Systems on Identical Multiprocessors. Sanjoy K.

Optimal Utilization Bounds for the Fixed-priority Scheduling of Periodic Task Systems on Identical Multiprocessors. Sanjoy K. Optimal Utilization Bounds for the Fixed-priority Scheduling of Periodic Task Systems on Identical Multiprocessors Sanjoy K. Baruah Abstract In fixed-priority scheduling the priority of a job, once assigned,

More information

Probabilistic Preemption Control using Frequency Scaling for Sporadic Real-time Tasks

Probabilistic Preemption Control using Frequency Scaling for Sporadic Real-time Tasks Probabilistic Preemption Control using Frequency Scaling for Sporadic Real-time Tasks Abhilash Thekkilakattil, Radu Dobrin and Sasikumar Punnekkat Mälardalen Real-Time Research Center, Mälardalen University,

More information

On-line scheduling of periodic tasks in RT OS

On-line scheduling of periodic tasks in RT OS On-line scheduling of periodic tasks in RT OS Even if RT OS is used, it is needed to set up the task priority. The scheduling problem is solved on two levels: fixed priority assignment by RMS dynamic scheduling

More information

RUN-TIME EFFICIENT FEASIBILITY ANALYSIS OF UNI-PROCESSOR SYSTEMS WITH STATIC PRIORITIES

RUN-TIME EFFICIENT FEASIBILITY ANALYSIS OF UNI-PROCESSOR SYSTEMS WITH STATIC PRIORITIES RUN-TIME EFFICIENT FEASIBILITY ANALYSIS OF UNI-PROCESSOR SYSTEMS WITH STATIC PRIORITIES Department for Embedded Systems/Real-Time Systems, University of Ulm {name.surname}@informatik.uni-ulm.de Abstract:

More information

System Model. Real-Time systems. Giuseppe Lipari. Scuola Superiore Sant Anna Pisa -Italy

System Model. Real-Time systems. Giuseppe Lipari. Scuola Superiore Sant Anna Pisa -Italy Real-Time systems System Model Giuseppe Lipari Scuola Superiore Sant Anna Pisa -Italy Corso di Sistemi in tempo reale Laurea Specialistica in Ingegneria dell Informazione Università di Pisa p. 1/?? Task

More information

CEC 450 Real-Time Systems

CEC 450 Real-Time Systems E 450 Real-ime Systems Lecture 4 Rate Monotonic heory Part September 7, 08 Sam Siewert Quiz Results 93% Average, 75 low, 00 high Goal is to learn what you re not learning yet Motivation to keep up with

More information

Segment-Fixed Priority Scheduling for Self-Suspending Real-Time Tasks

Segment-Fixed Priority Scheduling for Self-Suspending Real-Time Tasks Segment-Fixed Priority Scheduling for Self-Suspending Real-Time Tasks Junsung Kim, Björn Andersson, Dionisio de Niz, and Raj Rajkumar Carnegie Mellon University 2/31 Motion Planning on Self-driving Parallel

More information

Real-Time Systems. LS 12, TU Dortmund

Real-Time Systems. LS 12, TU Dortmund Real-Time Systems Prof. Dr. Jian-Jia Chen LS 12, TU Dortmund April 24, 2014 Prof. Dr. Jian-Jia Chen (LS 12, TU Dortmund) 1 / 57 Organization Instructor: Jian-Jia Chen, jian-jia.chen@cs.uni-dortmund.de

More information

Non-Work-Conserving Non-Preemptive Scheduling: Motivations, Challenges, and Potential Solutions

Non-Work-Conserving Non-Preemptive Scheduling: Motivations, Challenges, and Potential Solutions Non-Work-Conserving Non-Preemptive Scheduling: Motivations, Challenges, and Potential Solutions Mitra Nasri Chair of Real-time Systems, Technische Universität Kaiserslautern, Germany nasri@eit.uni-kl.de

More information

CPU scheduling. CPU Scheduling

CPU scheduling. CPU Scheduling EECS 3221 Operating System Fundamentals No.4 CPU scheduling Prof. Hui Jiang Dept of Electrical Engineering and Computer Science, York University CPU Scheduling CPU scheduling is the basis of multiprogramming

More information

Chapter 6: CPU Scheduling

Chapter 6: CPU Scheduling Chapter 6: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time Scheduling Algorithm Evaluation 6.1 Basic Concepts Maximum CPU utilization obtained

More information

Process Scheduling. Process Scheduling. CPU and I/O Bursts. CPU - I/O Burst Cycle. Variations in Bursts. Histogram of CPU Burst Times

Process Scheduling. Process Scheduling. CPU and I/O Bursts. CPU - I/O Burst Cycle. Variations in Bursts. Histogram of CPU Burst Times Scheduling The objective of multiprogramming is to have some process running all the time The objective of timesharing is to have the switch between processes so frequently that users can interact with

More information

Task assignment in heterogeneous multiprocessor platforms

Task assignment in heterogeneous multiprocessor platforms Task assignment in heterogeneous multiprocessor platforms Sanjoy K. Baruah Shelby Funk The University of North Carolina Abstract In the partitioned approach to scheduling periodic tasks upon multiprocessors,

More information

Schedulability analysis of global Deadline-Monotonic scheduling

Schedulability analysis of global Deadline-Monotonic scheduling Schedulability analysis of global Deadline-Monotonic scheduling Sanjoy Baruah Abstract The multiprocessor Deadline-Monotonic (DM) scheduling of sporadic task systems is studied. A new sufficient schedulability

More information

Scheduling Slack Time in Fixed Priority Pre-emptive Systems

Scheduling Slack Time in Fixed Priority Pre-emptive Systems Scheduling Slack Time in Fixed Priority Pre-emptive Systems R.I.Davis Real-Time Systems Research Group, Department of Computer Science, University of York, England. ABSTRACT This report addresses the problem

More information

EDF and RM Multiprocessor Scheduling Algorithms: Survey and Performance Evaluation

EDF and RM Multiprocessor Scheduling Algorithms: Survey and Performance Evaluation 1 EDF and RM Multiprocessor Scheduling Algorithms: Survey and Performance Evaluation Omar U. Pereira Zapata, Pedro Mejía Alvarez CINVESTAV-IPN, Sección de Computación Av. I.P.N. 258, Zacatenco, México,

More information

Module 5: CPU Scheduling

Module 5: CPU Scheduling Module 5: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time Scheduling Algorithm Evaluation 5.1 Basic Concepts Maximum CPU utilization obtained

More information

CPU Scheduling. CPU Scheduler

CPU Scheduling. CPU Scheduler CPU Scheduling These slides are created by Dr. Huang of George Mason University. Students registered in Dr. Huang s courses at GMU can make a single machine readable copy and print a single copy of each

More information

A 2-Approximation Algorithm for Scheduling Parallel and Time-Sensitive Applications to Maximize Total Accrued Utility Value

A 2-Approximation Algorithm for Scheduling Parallel and Time-Sensitive Applications to Maximize Total Accrued Utility Value A -Approximation Algorithm for Scheduling Parallel and Time-Sensitive Applications to Maximize Total Accrued Utility Value Shuhui Li, Miao Song, Peng-Jun Wan, Shangping Ren Department of Engineering Mechanics,

More information

Online Energy-Aware I/O Device Scheduling for Hard Real-Time Systems with Shared Resources

Online Energy-Aware I/O Device Scheduling for Hard Real-Time Systems with Shared Resources Online Energy-Aware I/O Device Scheduling for Hard Real-Time Systems with Shared Resources Abstract The challenge in conserving energy in embedded real-time systems is to reduce power consumption while

More information

Rate-monotonic scheduling on uniform multiprocessors

Rate-monotonic scheduling on uniform multiprocessors Rate-monotonic scheduling on uniform multiprocessors Sanjoy K. Baruah The University of North Carolina at Chapel Hill Email: baruah@cs.unc.edu Joël Goossens Université Libre de Bruxelles Email: joel.goossens@ulb.ac.be

More information

Multiprocessor Scheduling I: Partitioned Scheduling. LS 12, TU Dortmund

Multiprocessor Scheduling I: Partitioned Scheduling. LS 12, TU Dortmund Multiprocessor Scheduling I: Partitioned Scheduling Prof. Dr. Jian-Jia Chen LS 12, TU Dortmund 22/23, June, 2015 Prof. Dr. Jian-Jia Chen (LS 12, TU Dortmund) 1 / 47 Outline Introduction to Multiprocessor

More information

Scheduling Periodic Real-Time Tasks on Uniprocessor Systems. LS 12, TU Dortmund

Scheduling Periodic Real-Time Tasks on Uniprocessor Systems. LS 12, TU Dortmund Scheduling Periodic Real-Time Tasks on Uniprocessor Systems Prof. Dr. Jian-Jia Chen LS 12, TU Dortmund 08, Dec., 2015 Prof. Dr. Jian-Jia Chen (LS 12, TU Dortmund) 1 / 38 Periodic Control System Pseudo-code

More information

Tardiness Bounds under Global EDF Scheduling on a Multiprocessor

Tardiness Bounds under Global EDF Scheduling on a Multiprocessor Tardiness ounds under Global EDF Scheduling on a Multiprocessor UmaMaheswari C. Devi and James H. Anderson Department of Computer Science The University of North Carolina at Chapel Hill Abstract This paper

More information

Real Time Operating Systems

Real Time Operating Systems Real Time Operating ystems Luca Abeni luca.abeni@unitn.it Interacting Tasks Until now, only independent tasks... A job never blocks or suspends A task only blocks on job termination In real world, jobs

More information

Last class: Today: Threads. CPU Scheduling

Last class: Today: Threads. CPU Scheduling 1 Last class: Threads Today: CPU Scheduling 2 Resource Allocation In a multiprogramming system, we need to share resources among the running processes What are the types of OS resources? Question: Which

More information

2/5/07 CSE 30341: Operating Systems Principles

2/5/07 CSE 30341: Operating Systems Principles page 1 Shortest-Job-First (SJR) Scheduling Associate with each process the length of its next CPU burst. Use these lengths to schedule the process with the shortest time Two schemes: nonpreemptive once

More information

Scheduling Lecture 1: Scheduling on One Machine

Scheduling Lecture 1: Scheduling on One Machine Scheduling Lecture 1: Scheduling on One Machine Loris Marchal October 16, 2012 1 Generalities 1.1 Definition of scheduling allocation of limited resources to activities over time activities: tasks in computer

More information

Cache-Aware Compositional Analysis of Real- Time Multicore Virtualization Platforms

Cache-Aware Compositional Analysis of Real- Time Multicore Virtualization Platforms University of Pennsylvania ScholarlyCommons Departmental Papers (CIS) Department of Computer & Information Science -25 Cache-Aware Compositional Analysis of Real- Time Multicore Virtualization Platforms

More information

Task Reweighting under Global Scheduling on Multiprocessors

Task Reweighting under Global Scheduling on Multiprocessors ask Reweighting under Global Scheduling on Multiprocessors Aaron Block, James H. Anderson, and UmaMaheswari C. Devi Department of Computer Science, University of North Carolina at Chapel Hill March 7 Abstract

More information

ENHANCING CPU PERFORMANCE USING SUBCONTRARY MEAN DYNAMIC ROUND ROBIN (SMDRR) SCHEDULING ALGORITHM

ENHANCING CPU PERFORMANCE USING SUBCONTRARY MEAN DYNAMIC ROUND ROBIN (SMDRR) SCHEDULING ALGORITHM ENHANCING CPU PERFORMANCE USING SUBCONTRARY MEAN DYNAMIC ROUND ROBIN (SMD) SCHEDULING ALGORITHM Sourav Kumar Bhoi *1, Sanjaya Kumar Panda 2 and Debashee Tarai 3 * 1 Department of Computer Science & Engineering,

More information

Comp 204: Computer Systems and Their Implementation. Lecture 11: Scheduling cont d

Comp 204: Computer Systems and Their Implementation. Lecture 11: Scheduling cont d Comp 204: Computer Systems and Their Implementation Lecture 11: Scheduling cont d 1 Today Scheduling algorithms continued Shortest remaining time first (SRTF) Priority scheduling Round robin (RR) Multilevel

More information

LSN 15 Processor Scheduling

LSN 15 Processor Scheduling LSN 15 Processor Scheduling ECT362 Operating Systems Department of Engineering Technology LSN 15 Processor Scheduling LSN 15 FCFS/FIFO Scheduling Each process joins the Ready queue When the current process

More information

CPU Scheduling. Heechul Yun

CPU Scheduling. Heechul Yun CPU Scheduling Heechul Yun 1 Recap Four deadlock conditions: Mutual exclusion No preemption Hold and wait Circular wait Detection Avoidance Banker s algorithm 2 Recap: Banker s Algorithm 1. Initialize

More information

CycleTandem: Energy-Saving Scheduling for Real-Time Systems with Hardware Accelerators

CycleTandem: Energy-Saving Scheduling for Real-Time Systems with Hardware Accelerators CycleTandem: Energy-Saving Scheduling for Real-Time Systems with Hardware Accelerators Sandeep D souza and Ragunathan (Raj) Rajkumar Carnegie Mellon University High (Energy) Cost of Accelerators Modern-day

More information

A New Task Model and Utilization Bound for Uniform Multiprocessors

A New Task Model and Utilization Bound for Uniform Multiprocessors A New Task Model and Utilization Bound for Uniform Multiprocessors Shelby Funk Department of Computer Science, The University of Georgia Email: shelby@cs.uga.edu Abstract This paper introduces a new model

More information

AS computer hardware technology advances, both

AS computer hardware technology advances, both 1 Best-Harmonically-Fit Periodic Task Assignment Algorithm on Multiple Periodic Resources Chunhui Guo, Student Member, IEEE, Xiayu Hua, Student Member, IEEE, Hao Wu, Student Member, IEEE, Douglas Lautner,

More information

Static priority scheduling

Static priority scheduling Static priority scheduling Michal Sojka Czech Technical University in Prague, Faculty of Electrical Engineering, Department of Control Engineering November 8, 2017 Some slides are derived from lectures

More information

Multiprocessor Scheduling of Age Constraint Processes

Multiprocessor Scheduling of Age Constraint Processes Multiprocessor Scheduling of Age Constraint Processes Lars Lundberg Department of Computer Science, University of Karlskrona/Ronneby, Soft Center, S-372 25 Ronneby, Sweden, email: Lars.Lundberg@ide.hk-r.se

More information

Supporting Intra-Task Parallelism in Real- Time Multiprocessor Systems José Fonseca

Supporting Intra-Task Parallelism in Real- Time Multiprocessor Systems José Fonseca Technical Report Supporting Intra-Task Parallelism in Real- Time Multiprocessor Systems José Fonseca CISTER-TR-121007 Version: Date: 1/1/2014 Technical Report CISTER-TR-121007 Supporting Intra-Task Parallelism

More information

Desynchronized Pfair Scheduling on Multiprocessors

Desynchronized Pfair Scheduling on Multiprocessors Desynchronized Pfair Scheduling on Multiprocessors UmaMaheswari C. Devi and James H. Anderson Department of Computer Science, The University of North Carolina, Chapel Hill, NC Abstract Pfair scheduling,

More information

A Utilization Bound for Aperiodic Tasks and Priority Driven Scheduling

A Utilization Bound for Aperiodic Tasks and Priority Driven Scheduling A Utilization Bound for Aperiodic Tasks and Priority Driven Scheduling Tarek F. Abdelzaher, Vivek Sharma Department of Computer Science, University of Virginia, Charlottesville, VA 224 Chenyang Lu Department

More information

Multiprocessor Scheduling II: Global Scheduling. LS 12, TU Dortmund

Multiprocessor Scheduling II: Global Scheduling. LS 12, TU Dortmund Multiprocessor Scheduling II: Global Scheduling Prof. Dr. Jian-Jia Chen LS 12, TU Dortmund 28, June, 2016 Prof. Dr. Jian-Jia Chen (LS 12, TU Dortmund) 1 / 42 Global Scheduling We will only focus on identical

More information

Cache-Aware Compositional Analysis of Real- Time Multicore Virtualization Platforms

Cache-Aware Compositional Analysis of Real- Time Multicore Virtualization Platforms University of Pennsylvania ScholarlyCommons Departmental Papers (CIS) Department of Computer & Information Science 12-2013 Cache-Aware Compositional Analysis of Real- Time Multicore Virtualization Platforms

More information

Design and Analysis of Time-Critical Systems Response-time Analysis with a Focus on Shared Resources

Design and Analysis of Time-Critical Systems Response-time Analysis with a Focus on Shared Resources Design and Analysis of Time-Critical Systems Response-time Analysis with a Focus on Shared Resources Jan Reineke @ saarland university ACACES Summer School 2017 Fiuggi, Italy computer science Fixed-Priority

More information

Design of Real-Time Software

Design of Real-Time Software Design of Real-Time Software Reference model Reinder J. Bril Technische Universiteit Eindhoven Department of Mathematics and Computer Science System Architecture and Networking Group P.O. Box 513, 5600

More information

The Concurrent Consideration of Uncertainty in WCETs and Processor Speeds in Mixed Criticality Systems

The Concurrent Consideration of Uncertainty in WCETs and Processor Speeds in Mixed Criticality Systems The Concurrent Consideration of Uncertainty in WCETs and Processor Speeds in Mixed Criticality Systems Zhishan Guo and Sanjoy Baruah Department of Computer Science University of North Carolina at Chapel

More information

A Framework for Automated Competitive Analysis of On-line Scheduling of Firm-Deadline Tasks

A Framework for Automated Competitive Analysis of On-line Scheduling of Firm-Deadline Tasks A Framework for Automated Competitive Analysis of On-line Scheduling of Firm-Deadline Tasks Krishnendu Chatterjee 1, Andreas Pavlogiannis 1, Alexander Kößler 2, Ulrich Schmid 2 1 IST Austria, 2 TU Wien

More information

Static-Priority Scheduling. CSCE 990: Real-Time Systems. Steve Goddard. Static-priority Scheduling

Static-Priority Scheduling. CSCE 990: Real-Time Systems. Steve Goddard. Static-priority Scheduling CSCE 990: Real-Time Systems Static-Priority Scheduling Steve Goddard goddard@cse.unl.edu http://www.cse.unl.edu/~goddard/courses/realtimesystems Static-priority Scheduling Real-Time Systems Static-Priority

More information

On the Soft Real-Time Optimality of Global EDF on Multiprocessors: From Identical to Uniform Heterogeneous

On the Soft Real-Time Optimality of Global EDF on Multiprocessors: From Identical to Uniform Heterogeneous On the Soft Real-Time Optimality of Global EDF on Multiprocessors: From Identical to Uniform Heterogeneous Kecheng Yang and James H. Anderson Department of Computer Science, University of North Carolina

More information

Tardiness Bounds under Global EDF Scheduling on a. Multiprocessor

Tardiness Bounds under Global EDF Scheduling on a. Multiprocessor Tardiness Bounds under Global EDF Scheduling on a Multiprocessor UmaMaheswari C. Devi and James H. Anderson Department of Computer Science The University of North Carolina at Chapel Hill Abstract We consider

More information

Scheduling Algorithms for Multiprogramming in a Hard Realtime Environment

Scheduling Algorithms for Multiprogramming in a Hard Realtime Environment Scheduling Algorithms for Multiprogramming in a Hard Realtime Environment C. Liu and J. Layland Journal of the ACM, 20(1):46--61, January 1973. 2 Contents 1. Introduction and Background 2. The Environment

More information