CprE 458/558: Real-Time Systems

Slides:



Advertisements
Similar presentations
Multiprocessor Scheduling
Advertisements

On the Complexity of Scheduling
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
Chapter 7 - Resource Access Protocols (Critical Sections) Protocols: No Preemptions During Critical Sections Once a job enters a critical section, it cannot.
REAL TIME SYSTEM Scheduling.
CprE 458/558: Real-Time Systems
1 EE5900 Advanced Embedded System For Smart Infrastructure RMS and EDF Scheduling.
1 “Scheduling with Dynamic Voltage/Speed Adjustment Using Slack Reclamation In Multi-processor Real-Time Systems” Dakai Zhu, Rami Melhem, and Bruce Childers.
COT 4600 Operating Systems Fall 2009 Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 3:00-4:00 PM.
CS5270 Lecture 31 Uppaal, and Scheduling, and Resource Access Protocols CS 5270 Lecture 3.
REAL TIME SYSTEMS – SCHEDULING ISSUES
CPE555A: Real-Time Embedded Systems
Real- time Dynamic Voltage Scaling for Low- Power Embedded Operating Systems Written by P. Pillai and K.G. Shin Presented by Gaurav Saxena CSE 666 – Real.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Resource Access Control Protocols.
Courseware Scheduling of Distributed Real-Time Systems Jan Madsen Informatics and Mathematical Modelling Technical University of Denmark Richard Petersens.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Resource Reclaiming (Contd.)
Mehdi Kargahi School of ECE University of Tehran
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Dynamic Planning Based Scheduling.
1 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Embedded Systems Exercise 2: Scheduling Real-Time Aperiodic Tasks.
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.
CSE 421 Algorithms Richard Anderson Lecture 6 Greedy Algorithms.
Deterministic Scheduling
Aperiodic Task Scheduling
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Best Effort Scheduling.
Distributed Real-Time systems 1 By: Mahdi Sadeghizadeh Website: Sadeghizadeh.ir Advanced Computer Networks.
Task Scheduling By Dr. Amin Danial Asham.
Quantifying the Sub-optimality of Non-preemptive Real-time Scheduling Abhilash Thekkilakattil, Radu Dobrin and Sasikumar Punnekkat.
6. Application mapping 6.1 Problem definition
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems RMS and EDF Schedulers.
Advanced Operating Systems - Spring 2009 Lecture 14 – February 25, 2009 Dan C. Marinescu Office: HEC 439 B. Office.
Special Class on Real-Time Systems
Chapter 3: Real-Time Scheduling and Schedulability Analysis Albert M. K. Cheng.
Common Approaches to Real-Time Scheduling Clock-driven (time-driven) schedulers Priority-driven schedulers Examples of priority driven schedulers Effective.
CprE 458/558: Real-Time Systems (G. Manimaran)1 Energy Aware Real Time Systems - Scheduling algorithms Acknowledgement: G. Sudha Anil Kumar Real Time Computing.
Real-Time Scheduling --- An Overview Real-Time Scheduling --- An Overview Xiaoping He.
Introductory Seminar on Research CIS5935 Fall 2008 Ted Baker.
Distributed Process Scheduling- Real Time Scheduling Csc8320(Fall 2013)
Tardiness Bounds for Global EDF Scheduling on a Uniform Multiprocessor Kecheng Yang James H. Anderson Dept. of Computer Science UNC-Chapel Hill.
Embedded System Scheduling
Multiprocessor Real-Time Scheduling
Some Topics in OR.
Scheduling and Resource Access Protocols: Basic Aspects
Networks and Operating Systems: Exercise Session 2
Unit OS9: Real-Time and Embedded Systems
EEE 6494 Embedded Systems Design
Presented by: Suresh Vadlakonda Ramanjaneya Gupta Pasumarthi
Implications of Classical Scheduling Results For Real-Time Systems
Lecture 4 Schedulability and Tasks
Lecture 24: Process Scheduling Examples and for Real-time Systems
CprE 458/558: Real-Time Systems
Dan C. Marinescu Office: HEC 439 B. Office hours: M, Wd 3 – 4:30 PM.
Richard Anderson Autumn 2015 Lecture 8 – Greedy Algorithms II
Sanjoy Baruah The University of North Carolina at Chapel Hill
Chapter5: CPU Scheduling
CSCI1600: Embedded and Real Time Software
Limited-Preemption Scheduling of Sporadic Tasks Systems
Greedy Algorithms: Homework Scheduling and Optimal Caching
Richard Anderson Lecture 6 Greedy Algorithms
Scheduling Basic Concepts Ref: Hard Real-Time Computing Systems Giorgio Buttazzo Ref: Real-Time Systems & Software Alan Shaw Processes - Tasks.
Richard Anderson Autumn 2016 Lecture 7
Richard Anderson Lecture 7 Greedy Algorithms
Operating System , Fall 2000 EA101 W 9:00-10:00 F 9:00-11:00
Richard Anderson Autumn 2016 Lecture 8 – Greedy Algorithms II
Shortest-Job-First (SJR) Scheduling
Richard Anderson Winter 2019 Lecture 7
Richard Anderson Autumn 2015 Lecture 7
Anand Bhat*, Soheil Samii†, Raj Rajkumar* *Carnegie Mellon University
Richard Anderson Autumn 2019 Lecture 7
Richard Anderson Autumn 2019 Lecture 8 – Greedy Algorithms II
Presentation transcript:

CprE 458/558: Real-Time Systems Some Scheduling Results CprE 458/558: Real-Time Systems (G. Manimaran)

Understanding Fundamentals Understanding the boundary between polynomial and NP-complete problems can provide insights into developing useful heuristics. Understanding the algorithms that achieve some of the polynomial results can again provide basis for developing heuristics. CprE 458/558: Real-Time Systems (G. Manimaran)

Understanding Fundamentals (cont.) Understanding the fundamental limitations of on-line algorithms will help designers avoid scheduling anomalies and misconceptions. CprE 458/558: Real-Time Systems (G. Manimaran)

CprE 458/558: Real-Time Systems (G. Manimaran) Performance Metrics Minimizing Schedule Length. Minimizing Sum of Completion Times. Maximizing Weighted Sum of Values (Useful in RT systems). Minimizing the Maximum Lateness (useful in RT systems). CprE 458/558: Real-Time Systems (G. Manimaran)

Uniprocessor - some results One processor, Non-preemptive, Minimizing the Max. Lateness (Polynomial). One processor, Non-preemptive, release time constraint, Minimizing the Max. Lateness (NP-hard). One processor, Preemptive, release time constraint, Minimizing the Max. Lateness (Polynomial). CprE 458/558: Real-Time Systems (G. Manimaran)

Uniprocessor - more results Result: When there are mutual exclusion constraints, it is impossible to find a totally on-line optimal scheduler. Result: The problem of deciding whether it is possible to schedule a set of periodic tasks that use semaphores only to enforce mutual exclusion in NP-hard. Overload Result: There does not exist an on-line scheduling algorithm with a competitive factor greater than 0.25. (this is for general case: arbitrary number of processors). CprE 458/558: Real-Time Systems (G. Manimaran)

Multiprocessor – Some Results Result: The multiprocessor scheduling on P processors with task preemption allowed and with minimization of the number of late tasks is NP-hard. Result: For two or more processors, no deadline scheduling algorithm can be optimal without complete a prior knowledge of deadlines, computation times, and task ready times. CprE 458/558: Real-Time Systems (G. Manimaran)

Multiprocessor – more results EDF is not optimal in the multiprocessor case. No on-line scheduling algorithm can guarantee a cumulative value greater than one half for the dual processor case. (A special case of overload result) CprE 458/558: Real-Time Systems (G. Manimaran)

Multiprocessor; Single Deadline; Non-premptive NP-completeness is mainly due to non-uniform task execution time and resource constraints. CprE 458/558: Real-Time Systems (G. Manimaran)

Multiprocessor – Online scheduling model CprE 458/558: Real-Time Systems (G. Manimaran)

Multiprocessing Anomalies Assume that a set of tasks is optimally schedulable on a multiprocessor with some priority order, a fixed number of processors, fixed computation times, and precedence constraints. Result: For the stated problem, changing the priority list, increasing the number of processors, reducing the computation times, or weakening the precedence constraints can increase the schedule length. CprE 458/558: Real-Time Systems (G. Manimaran)

Multiprocessing Anomalies (cont.) These anomalies may cause some of the already guaranteed tasks to miss their deadlines. It can be shown that run-time anomalies cannot occur in a multiprocessor schedule when the tasks are independent. CprE 458/558: Real-Time Systems (G. Manimaran)

CprE 458/558: Real-Time Systems (G. Manimaran) Run-time Anomaly Run-time anomaly may occur when the actual computation time of a task differs from its worst case computation time in a non-preemptive multiprocessor schedule with resource constraints. A processor is said to be work conserving if it is never idle when there is a task to execute. Any work conserving scheme may lead to run-time anomaly. CprE 458/558: Real-Time Systems (G. Manimaran)

Run-time Anomaly – Example Example: Ti=(ai ,ci ,di ) T1=(0,20,22); T2=(0,12,25); T3=(10,8,26);T4=(8,10,30). T3 and T4 have resource conflicts; Actual computation time of T1 is 10. CprE 458/558: Real-Time Systems (G. Manimaran)