The 32nd IEEE Real-Time Systems Symposium Meeting End-to-End Deadlines through Distributed Local Deadline Assignment Shengyan Hong, Thidapat Chantem, X.

Slides:



Advertisements
Similar presentations
Feedback Control Real-Time Scheduling: Framework, Modeling, and Algorithms Chenyang Lu, John A. Stankovic, Gang Tao, Sang H. Son Presented by Josh Carl.
Advertisements

Hadi Goudarzi and Massoud Pedram
1 An Adaptive GA for Multi Objective Flexible Manufacturing Systems A. Younes, H. Ghenniwa, S. Areibi uoguelph.ca.
CPE555A: Real-Time Embedded Systems
THE UNIVERSITY of TEHRAN Mitra Nasri Sanjoy Baruah Gerhard Fohler Mehdi Kargahi October 2014.
Mehdi Kargahi School of ECE University of Tehran
ISE480 Sequencing and Scheduling Izmir University of Economics ISE Fall Semestre.
1 of 14 1 /23 Flexibility Driven Scheduling and Mapping for Distributed Real-Time Systems Paul Pop, Petru Eles, Zebo Peng Department of Computer and Information.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems (m, k)-firm tasks and QoS enhancement.
RUN: Optimal Multiprocessor Real-Time Scheduling via Reduction to Uniprocessor Paul Regnier † George Lima † Ernesto Massa † Greg Levin ‡ Scott Brandt ‡
1 Deferrable Scheduling for Temporal Consistency: Schedulability Analysis and Overhead Reduction Ming Xiong : Lucent Bell Labs Song Han: City University.
Real-Time Scheduling CIS700 Insup Lee October 3, 2005 CIS 700.
Precedence Constrained Scheduling Abhiram Ranade Dept. of CSE IIT Bombay.
Module 2 Priority Driven Scheduling of Periodic Task
Power Management Algorithms An effort to minimize Processor Temperature and Energy Consumption.
All Hands Meeting, 2006 Title: Grid Workflow Scheduling in WOSE (Workflow Optimisation Services for e- Science Applications) Authors: Yash Patel, Andrew.
Precedence Constrained Scheduling Abhiram Ranade Dept. of CSE IIT Bombay.
Soft Real-Time Semi-Partitioned Scheduling with Restricted Migrations on Uniform Heterogeneous Multiprocessors Kecheng Yang James H. Anderson Dept. of.
Presenter: David Fleeman { D. Juedes, F. Drews, L. Welch and D. Fleeman Center for Intelligent, Distributed & Dependable.
Distributed Algorithms for Secure Multipath Routing
Towards Feasibility Region Calculus: An End-to-end Schedulability Analysis of Real- Time Multistage Execution William Hawkins and Tarek Abdelzaher Presented.
Dynamic Tuning of the IEEE Protocol to Achieve a Theoretical Throughput Limit Frederico Calì, Marco Conti, and Enrico Gregori IEEE/ACM TRANSACTIONS.
Chapter 6 Dynamic Priority Servers
CSE 421 Algorithms Richard Anderson Lecture 6 Greedy Algorithms.
System-Wide Energy Minimization for Real-Time Tasks: Lower Bound and Approximation Xiliang Zhong and Cheng-Zhong Xu Dept. of Electrical & Computer Engg.
By Group: Ghassan Abdo Rayyashi Anas to’meh Supervised by Dr. Lo’ai Tawalbeh.
Misconceptions About Real-time Computing : A Serious Problem for Next-generation Systems J. A. Stankovic, Misconceptions about Real-Time Computing: A Serious.
Technische Universität Dortmund Classical scheduling algorithms for periodic systems Peter Marwedel TU Dortmund, Informatik 12 Germany 2007/12/14.
End-to-End Delay Analysis for Fixed Priority Scheduling in WirelessHART Networks Abusayeed Saifullah, You Xu, Chenyang Lu, Yixin Chen.
New Schedulability Tests for Real- Time task sets scheduled by Deadline Monotonic on Multiprocessors Marko Bertogna, Michele Cirinei, Giuseppe Lipari Scuola.
Distributed Real-Time systems 1 By: Mahdi Sadeghizadeh Website: Sadeghizadeh.ir Advanced Computer Networks.
Distributed Constraint Optimization Michal Jakob Agent Technology Center, Dept. of Computer Science and Engineering, FEE, Czech Technical University A4M33MAS.
Embedded System Design Framework for Minimizing Code Size and Guaranteeing Real-Time Requirements Insik Shin, Insup Lee, & Sang Lyul Min CIS, Penn, USACSE,
Practical Schedulability Analysis for Generalized Sporadic Tasks in Distributed Real-Time Systems Yuanfang Zhang 1, Donald K. Krecker 2, Christopher Gill.
Quantifying the Sub-optimality of Non-preemptive Real-time Scheduling Abhilash Thekkilakattil, Radu Dobrin and Sasikumar Punnekkat.
Efficient Admission Control for Enforcing Arbitrary Real-Time Demand-Curve Interfaces Farhana Dewan and Nathan Fisher RTSS, December 6 th, 2012 Sponsors:
Scheduling policies for real- time embedded systems.
1 Distributed Energy-Efficient Scheduling for Data-Intensive Applications with Deadline Constraints on Data Grids Cong Liu and Xiao Qin Auburn University.
Euro-Par, A Resource Allocation Approach for Supporting Time-Critical Applications in Grid Environments Qian Zhu and Gagan Agrawal Department of.
An Efficient Algorithm for Scheduling Instructions with Deadline Constraints on ILP Machines Wu Hui Joxan Jaffar School of Computing National University.
The Packing Server for Real-time Scheduling of MapReduce Workflows Shen Li, Shaohan Hu, Tarek Abdelzaher University of Illinois at Urbana Champaign 1.
A Node and Load Allocation Algorithm for Resilient CPSs under Energy-Exhaustion Attack Tam Chantem and Ryan M. Gerdes Electrical and Computer Engineering.
Real-Time Scheduling CS4730 Fall 2010 Dr. José M. Garrido Department of Computer Science and Information Systems Kennesaw State University.
Object-Oriented Design and Implementation of the OE-Scheduler in Real-time Environments Ilhyun Lee Cherry K. Owen Haesun K. Lee The University of Texas.
5 May CmpE 516 Fault Tolerant Scheduling in Multiprocessor Systems Betül Demiröz.
1 SYNTHESIS of PIPELINED SYSTEMS for the CONTEMPORANEOUS EXECUTION of PERIODIC and APERIODIC TASKS with HARD REAL-TIME CONSTRAINTS Paolo Palazzari Luca.
1 Scheduling Processes with Release Times, Deadlines, Precedence and Exclusion Relations J. Xu and D. L. Parnas IEEE Transactions on Software Engineering,
1 Iterative Integer Programming Formulation for Robust Resource Allocation in Dynamic Real-Time Systems Sethavidh Gertphol and Viktor K. Prasanna University.
DTM and Reliability High temperature greatly degrades reliability
CSE 522 Real-Time Scheduling (2)
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 II: Compositional Scheduling Framework Insik Shin Dept. of Computer Science KAIST.
CSCI1600: Embedded and Real Time Software Lecture 23: Real Time Scheduling I Steven Reiss, Fall 2015.
Dynamic Priority Driven Scheduling of Periodic Task
Mok & friends. Resource partition for real- time systems (RTAS 2001)
Undergraduate course on Real-time Systems Linköping University TDDD07 Real-time Systems Lecture 2: Scheduling II Simin Nadjm-Tehrani Real-time Systems.
Introductory Seminar on Research CIS5935 Fall 2008 Ted Baker.
Determining Optimal Processor Speeds for Periodic Real-Time Tasks with Different Power Characteristics H. Aydın, R. Melhem, D. Mossé, P.M. Alvarez University.
1 Chapter 5 Branch-and-bound Framework and Its Applications.
Lecture 6: Real-Time Scheduling
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
Houssam-Eddine Zahaf, Giuseppe Lipari, Luca Abeni RTNS’17
An On-line Approach to Reduce Delay Variations on Real-Time Operating Systems Shengyan Hong.
Process Scheduling B.Ramamurthy 2/23/2019.
Processes and operating systems
Ch 4. Periodic Task Scheduling
Presentation transcript:

The 32nd IEEE Real-Time Systems Symposium Meeting End-to-End Deadlines through Distributed Local Deadline Assignment Shengyan Hong, Thidapat Chantem, X. Sharon Hu Dept. of Computer Science and Engineering University of Notre Dame, USA 1

The 32nd IEEE Real-Time Systems Symposium 2 Outline  Introduction and problem statement  Related work and motivation  Proposed OLDA algorithm  Experimental results  Summary and future work

The 32nd IEEE Real-Time Systems Symposium 3 3 Systems of Interests  Distributed real-time systems  Jobs are executed on a sequence of processors  Jobs must complete by their end-to-end deadlines Chatterjee and J. Strosnider, ICDCS, 1995

The 32nd IEEE Real-Time Systems Symposium 4 4 Meeting End-to-End Deadlines  Resource competition among jobs on a single processor  Different jobs are executed on different sequences of processors  Workloads on different processors may be dissimilar  Need to adapt to dynamic changes, such as  job assignment changes due to processor failure  job deadline, period and execution time changes

The 32nd IEEE Real-Time Systems Symposium 5 What We Want to Achieve  Assign local deadlines to jobs on different processors  Employ EDF scheduling on each processor  Is done on-line, in a distributed fashion  Is invoked every time a new job comes to the system  Reserve enough time for jobs at later stages

The 32nd IEEE Real-Time Systems Symposium 6 Outline  Introduction and Problem statement  Related work and motivation  Proposed OLDA algorithm  Experimental results  Summary and future work

The 32nd IEEE Real-Time Systems Symposium 7 Related Work  Assign local deadlines to jobs  Jonsson et al. (J.RTS’02), Zhang et al. (RTSS’04), Buttazzo et al. (ECRTS’10), Serreli et al. (ETFA’10)  Decide the local deadline of a job according to the job’s path, execution time distribution, and local release time  Do not consider the workload contributed by other jobs on the processor  Cannot guarantee the job set schedulability  Assign priorities to jobs  Jayanchandran et al. (ECRTS’08, J.RTS’08)  Decide the priority of a job according to the job’s end-to-end deadline  Does not work well for high workload systems if jobs have different paths and workloads on processors vary significantly

The 32nd IEEE Real-Time Systems Symposium 8 Related Work (cont’d)  Schedulability analysis of tasks in distributed real- time system  Rahni et al. (RTNS’08), Serreli et al. (ECRTS’10)  Compute the time demand bound function of tasks scheduled by EDF  Palencia et al. (ECRTS’03), Hawkins et al. (RTSS’05), Jayachandran et al. (ECRTS’09)  Compute the worst case response times for the system under EDF or fixed priority  Time consuming and not suitable for on-line use

The 32nd IEEE Real-Time Systems Symposium 9 Motivational Example N/A0V5V V4V4 N/A100N/A100V3V3 N/A430N/A200V2V2 N/A70N/A100V1V1 E2E DeadlineExec. TimeE2E DeadlineExec. Time Job τ 2 Job τ 1 Processor Name

The 32nd IEEE Real-Time Systems Symposium 10 N/A Motivational Example BBW: By Buttazzo, et. al. (ECRTS’10) JA: By Jayanchandran, et. al. (ECRTS’08, J.RTS’08) 900 / / 1400N/A1100V4V4 800 / / V3V3 700 / / V2V2 70 / / V1V1 Job τ 2 Job τ 1 Job τ 2 Job τ 1 Processor Name Response Time BBW / JA Local Deadline Assignment BBW V5V5 930 N/A

The 32nd IEEE Real-Time Systems Symposium 11 Motivational Example N/A0V5V V4V4 N/A100N/A100V3V3 N/A430N/A200V2V2 N/A70N/A100V1V1 E2E DeadlineExec. TimeE2E DeadlineExec. Time Job τ 2 Job τ 1 Processor Name failed

The 32nd IEEE Real-Time Systems Symposium 12 Motivational Example 900 / / V4V4 800 / / V3V3 700 / / V2V2 70 / / V1V1 Job τ 2 Job τ 1 Job τ 2 Job τ 1 Processor Name Response Time BBW / JA Local Deadline Assignment BBW failed Require an effective distributed algorithm that can handle such dynamic changes adaptively!

The 32nd IEEE Real-Time Systems Symposium 13 Outline  Introduction and Problem statement  Related work and motivation  Proposed OLDA algorithm  Experimental results  Summary and future work

The 32nd IEEE Real-Time Systems Symposium 14 Formulate an Optimization Problem  Objective function  Maximize time slack of each job on a processor, but difficult to capture  Employ an approximate objective function  Maximize the minimum time slack among all the jobs on the local processor  Constraints  Guarantee the schedulability of jobs on each local processor  Bound the local deadline of each job by  the earliest completion time of the job in the previous stage  the latest start time of the next stage

The 32nd IEEE Real-Time Systems Symposium 15 An Existing Feasibility Condition  Proposed by Chetto et al. (J.RTS’90)  Cannot be used to formulate a constraint due to deadlines being unknown Job set Ω(V x ) can be scheduled by EDF policy, if and only if, within any time interval L, for all the jobs whose release times and deadlines fall into L, sum of these jobs’ execution times C h ’s <=L. L

The 32nd IEEE Real-Time Systems Symposium 16 Modified Feasibility Condition  min{r j } max{d i } Job set Ω(V x ) can be scheduled by EDF policy, if and only if, for any job subset ω(V x ), and any L ϵ [min release time of jobs in ω(V x ), max deadline of jobs in ω(V x )], sum of these jobs’ execution times C h ’s <= L L

The 32nd IEEE Real-Time Systems Symposium 17 Requirements for OLDA Design  Need to be applicable on-line  Finding the optimal solution with low time complexity, but  Time consuming to explore exponential number of subsets in Ω (V x ) by using the modified condition  Solvers, such as, Loqo, is expensive  Need to be distributed  Avoid global synchronization overhead  Require information local to processor V x and the information known upon a job’s release

The 32nd IEEE Real-Time Systems Symposium 18 Basic Idea of OLDA (1)  Base job subset  The job subset having the latest “pseudo completion time”, i.e., min{r i } + sum{c i } is largest  Once the first job in this set gets executed, the processor is busy till all the jobs in the set are completed  All the jobs in the base job subset are executed after the completion of the jobs in the other job subsets

The 32nd IEEE Real-Time Systems Symposium 19 Example: Base Job Subset JobRelease timeExecution Time E2E Deadline τ1τ τ2τ τ3τ τ4τ τ3τ3 τ4τ4 t 6 9 τ2τ2 The base job subset  All job subsets: { τ 1 }, { τ 2 }, { τ 3 }, { τ 4 }, { τ 1, τ 2 }, { τ 1, τ 3 }, … { τ 3, τ 4 }, { τ 1, τ 2, τ 3 }, { τ 1, τ 2, τ 3 }, … { τ 2, τ 3, τ 4 }, { τ 1, τ 2, τ 3, τ 4 }  Search for base job subset: { τ 1, τ 2, τ 3, τ 4 }, { τ 2, τ 3, τ 4 }, { τ 3, τ 4 }, { τ 4 }  Pseudo completion times:

The 32nd IEEE Real-Time Systems Symposium 20 Basic Idea of OLDA (2)  Base job  The job with the largest local-deadline upper bound in the base job subset  UB of a job’s local deadline = E2E deadline – exec times on downstream processors  The deadline of the base job is set to the pseudo completion time of the job base subset, which is the optimal local deadline for this job

The 32nd IEEE Real-Time Systems Symposium 21 Example: Base Job JobRelease timeExecution TimeUB of local DL τ1τ τ2τ τ3τ τ4τ t 6 9 τ1τ1 τ3τ3 τ4τ4 τ2τ2 τ4τ4 τ2τ2 The base job is τ 3. Set τ 3 deadline to 9 τ3τ3

The 32nd IEEE Real-Time Systems Symposium 22 Properties of OLDA  In O(| Ω (V x )| 3 ) time, OLDA returns a set of local deadlines if and only if there exists a solution to the local-deadline optimization problem  The set of local deadlines returned by OLDA is optimal  OLDA is optimal on each processor, but not for the global system

The 32nd IEEE Real-Time Systems Symposium 23 Outline  Introduction and Problem statement  Related work and motivation  Proposed OLDA algorithm  Experimental results  Summary and future work

The 32nd IEEE Real-Time Systems Symposium 24 Back to the Motivational Example 900 / 700 / / 1400 / / / 1100V4V4 800 / 600 / / 800 / / / 400V3V3 700 / 500 / / 700 / / / 300V2V2 70 / 70 / / 170 / / / 100V1V1 Job τ 2 Job τ 1 Job τ 2 Job τ 1 Processor Name Response Time BBW / JA / OLDA Local Deadline Assignment BBW / OLDA  Both BBW and JA fail to find a feasible solution, while OLDA solves the problem

The 32nd IEEE Real-Time Systems Symposium 25 Random Task Sets  100 task sets consisting of 50 tasks each for 10 different utilization levels (U level =400%,…,625%)  8 processors in the system and each task randomly passes through 4 to 6 stages  Task periods raged from 1000 to time units  Two randomly generated task sets  Set 1: processor loads are balanced  Set 2: processor loads are imbalanced

The 32nd IEEE Real-Time Systems Symposium 26 Feasible Solutions Found: Balanced Workloads  OLDA leads to 75% and 22% on average more feasible task sets than BBW and JA  OLDA can find on average 98% and 99% of the feasible task sets found by BBW and JA

The 32nd IEEE Real-Time Systems Symposium 27 Feasible Solutions Found: Imbalanced Workloads  OLDA leads to 57% and 46% on average more feasible task sets than BBW and JA  OLDA can find on average 88% and 99% of the feasible task sets found by BBW and JA

The 32nd IEEE Real-Time Systems Symposium 28 Average Drop Rate: Balanced Workloads  BBW and JA on average drop 3.25X and 2.25X more jobs than OLDA

The 32nd IEEE Real-Time Systems Symposium 29 Average Drop Rate: Imbalanced Workloads  BBW and JA on average drop 89% and 379% more jobs than OLDA

The 32nd IEEE Real-Time Systems Symposium 30 Computational Cost  Average number of cycles to process a job is 149 and 153 for the balanced and imbalanced workloads, respectively  Compared with BBW and JA  For balanced workloads, OLDA requires 1.53 and 2.30 times more cycles per task set than BBW and JA, respectively  For imbalanced workloads, OLDA requires 1.74 and 2.32 times more cycles per task set than BBW and JA, respectively  OLDA is more than 10,000 times faster than Loqo (a tool for solving smooth constrained optimization problems)

The 32nd IEEE Real-Time Systems Symposium 31 Summary and future work  Presented an on-line distributed local deadline assignment algorithm  Formulated an optimization problem to maximize the minimum time slack among all the jobs on the local processor  Devised a locally optimal distributed algorithm to solve the problem and prove its optimality  Experimental results show the strength of OLDA  Future work  Support transactions having more general execution sequences  Improve job prediction and dropping policies

The 32nd IEEE Real-Time Systems Symposium Thank You! 32

The 32nd IEEE Real-Time Systems Symposium 33 Outline  Introduction and Problem statement  Related work and motivation  Proposed OLDA algorithm  Experimental results  Summary and future work

The 32nd IEEE Real-Time Systems Symposium 34 Systems of Interests  Distributed real-time systems  Jobs are executed on a sequence of processors  Jobs must complete by their end-to-end deadlines Chatterjee and J. Strosnider, ICDCS, 1995

The 32nd IEEE Real-Time Systems Symposium 35 What We Want to Achieve  Assign local deadlines to jobs on different processors  Employ EDF scheduling on each processor  Is done on-line, in a distributed fashion  Is invoked every time a new job comes to the system  Reserve enough time for jobs at later stages τ1τ1 τ2τ2

The 32nd IEEE Real-Time Systems Symposium 36 Some Key Observations  Local deadlines should be bounded by  the earliest completion time of the job, and  the latest start time of the immediate next stage  Local deadlines should satisfy the modified feasibility condition  Reserve maximum time slack for each job to be executed in its downstream processors

The 32nd IEEE Real-Time Systems Symposium 37 A Flight Control System NIP PAA FCP PFSVAPFGBSFCNVAH Task Name End2End Deadline Period Exec. Time  Flight control system  Introduced in Jayachandran et al. (ECRTS 2008)  3 periodic tasks and 8 heterogeneous processors and each task has an end-to-end deadline  Simulate the application for the time interval [0,54000ms]

The 32nd IEEE Real-Time Systems Symposium 38 Results by OLDA 0 / 0 / / 0 / NIP 0 / 180 / / 0 / 0100 PAA 0 / 0 / / 0 / FCP Dropped Job Num. OLDA / JA / BBW E2E Dl. Period Dropped Job Num. OLDA / JA / BBW E2E Dl. Period Trans. Name  At some time interval, the periods and end-to-end deadlines of the three tasks are decreased  If the previous local deadline assignments by BBW are reused, 60 jobs of 1920 released jobs will miss deadlines  Applying OLDA, JA and BBW, OLDA leads to all jobs meeting the deadlines, while JA and BBW fail

The 32nd IEEE Real-Time Systems Symposium 39 Problem Formulation  Objective function  Maximize time slack of each job on a processor, but difficult to capture  Employ an approximate objective function  Constraints  Guarantee the schedulability of jobs on each local processor  Bound the local deadline of each job The upper bound of job J i,k(i,x)

The 32nd IEEE Real-Time Systems Symposium 40 Problem Formulation  Modified the existing feasibility condition proposed by Chetto et al. (Real-Time Systems 1990)  The existing condition can not be used to formulate a constraint  The problem can be solved by a standard mathematic solver  The new condition is still necessary and sufficient d i,k(i,x) r j,k(j,x) min{r j,k(j,x) }max{d i,k(i,x) } d i,k(i,x) is unknown a constant

The 32nd IEEE Real-Time Systems Symposium 41 Problem Formulation (1) s.t. (2) (3)

The 32nd IEEE Real-Time Systems Symposium 42 An example to show deficiencies of existing approaches Motivational Example Processor Name Job τ 1 Job τ 2 Exec. TimeE2E DeadlineExec. TimeE2E Deadline V1V1 100N/A70N/A V2V2 200N/A430N/A V3V3 100N/A100N/A V4V N/A V5V

The 32nd IEEE Real-Time Systems Symposium 43 Why Not Loqo?  Loqo is a system for solving smooth constrained optimization problems  Apply Loqo in our problem  Formulate the optimization problem on the local processor each time a new job comes to the processor  Solve the problem  Disadvantages  Extremely slow (see experiment results)

The 32nd IEEE Real-Time Systems Symposium 44 Existing Feasibility Condition  Proposed by Chetto et al. (Real-Time Systems 1990)  Cannot be used to formulate a constraint d i,k(i,x) r j,k(j,x) d i,k(i,x) is unknown Job set Ω(V x ) can be scheduled by EDF policy if and only if J i,k(i,x), J j,k(j,x) ∈ ω(V x ), ??? r i,k(i,x) ≤ d i,k(i,x), How about using words instead of the complicated formula?? Use formula as backup.

The 32nd IEEE Real-Time Systems Symposium 45 Modified Feasibility Condition  Modified the existing feasibility condition  The problem can be solved by a standard mathematic solver Loqo, but it is time consuming  The new condition is still necessary and sufficient min{r j,k(j,x) }max{d i,k(i,x) } a constant Job setΩ(V x ) can be scheduled by EDF policy if and only if See my comment on previous page

The 32nd IEEE Real-Time Systems Symposium 46 System Model  Parameters  R i, D i : release time and relative deadline of J i  M i : the last stage index of J i on processor V x  C i,k(i,x) : the execution time of J i on processor V x  K (i,x) : the stage index of J i on processor V x  r i,k(i,x), d i,k(i,x) : the absolute release time and absolute local deadline of J i on processor V x  Ω(V x ): the job set on processor V x  Need these?? r i,1 =R i J i,1 r i,k(i,x) d i,k(i,x) d i,Mi =D i J i,k(i,x) J i,Mi

The 32nd IEEE Real-Time Systems Symposium 47 Main Steps in OLDA  UB of a job’s local deadline = E2E deadline – exec time on downstream processors  Drop the job in the base job subset having the largest remaining execution times on its downstream processors Select the base job J* whose local deadline upper bound is Max_upper_bound Compute the upper bound on local deadline of each job Select the base job subset ω*(V x ) and compute the completion time (= Max_Deadline of ω*(V x )) Max_upper_bound<Max_Deadline Drop a job Assign Max_Deadline to J* and remove J* from Ω(V x ) Ω(V x ) is empty Return local deadlines Yes No Yes No

The 32nd IEEE Real-Time Systems Symposium 48 Main Steps in OLDA  UB of a job’s local deadline = E2E deadline – exec time on downstream processors  Base job subset is the job subset having the latest busy interval  Base job = job with the largest local deadline UB in the base job subset  Drop the job in the base job subset having the largest remaining execution times on its downstream processors Select the base job J* whose local deadline upper bound is Max_upper_bound Compute the upper bound on local deadline of each job Select the base job subset ω*(V x ) and compute the completion time (= Max_Deadline of ω*(V x )) Max_upper_bound<Max_Deadline Drop a job Assign Max_Deadline to J* and remove J* from Ω(V x ) Ω(V x ) is empty Return local deadlines Yes No Yes No

The 32nd IEEE Real-Time Systems Symposium 49 Properties of OLDA  Local deadlines d * i ’s satisfy the constraints in the problem??  Local deadlines d * i ’s maximizes the objective function??  Once the first job in ω * (V x ) gets executed, the processor will never be idle till all the jobs in ω * (V x ) are completed  In O(| Ω (V x )|) time, OLDA returns a set of local deadlines if and only if there exists a solution to the optimization problem. Furthermore, the set of local deadlines returned by OLDA is optimal  OLDA is optimal on each processor, but not for the global system

The 32nd IEEE Real-Time Systems Symposium 50 Base Job Subset & Base Job JobRelease timeLocal deadlineExecution Time τ1τ1 032 τ2τ2 472 τ3τ3 582 τ4τ idle τ2τ2 τ4τ4 t 6 9 τ1τ1 τ2τ2 Local processor has no idle time when executing jobs τ 2, τ 3, and τ 4. In the example, the base job subset is { τ 2, τ 3, and τ 4 } and the base job is τ 4.