An Efficient Knapsack-Based Approach for Calculating the Worst-Case Demand of AVR Tasks
|
|
- Cameron Chapman
- 5 years ago
- Views:
Transcription
1 An Efficient Knapsack-Based Approach for Calculating the Worst-Case Demand of AVR Tasks Sandeep Kumar Bijinemula *, Aaron Willcock, Thidapat Chantem *, Nathan Fisher * Department of Electrical and Computer Engineering, Virginia Tech, USA Department of Computer Science, Wayne State University, USA This research was supported in part by the US National Science Foundation (CNS Grant Nos & ) and a Thomas C. Rumble Graduate Fellowship from Wayne State University.
2 Holiday Thievery Imagine your favorite store. You have 100 seconds to take anything for free Where would you start? What would you take? 2
3 Holiday Thievery Goal: Maximize value over 100 seconds Increase value Decrease time < < 3
4 Value of Items Holiday Thievery Function Engine Control Module (ECM) Items per Second 4
5 Execution Times of the Modes Engine Control: Adaptive Variable-Rate (AVR) Tasks c 1 Engine Control Module (ECM) c 2 c 3 c 4 c 5 Image Provided by: Zephyris. File:4StrokeEngine_Ortho_3D_Small.gif c M ω min ω rb1 ω rb2 ω rb3 ω rb4 ω rb5 ω max c execution time ω angular speed Speeds Biondi et al. [ICCPS 15] 5
6 Execution Times of the Modes Engine Control: Adaptive Variable-Rate (AVR) Tasks c 1 c 2 c 3 Jobs released at Top Dead Center (TDC) Jobs due in one revolution (one full rotation) α + c 4 Higher Lower rate WCET of job per release job c 5 c M Less Higher time rate between of job job releases ω min c execution time ω angular speed ω rb1 ω rb2 ω rb3 ω rb4 ω rb5 Speeds α + ω max Biondi et al. [ICCPS 15] 6
7 Execution Times of the Modes Engine Control: Adaptive Variable-Rate (AVR) Tasks c 1 c 2 c 3 Jobs released at Top Dead Center (TDC) Jobs due in one revolution (one full rotation) α c 4 Higher rate WCET of job per release job c 5 c M More Higher time between rate of job job releases ω min c execution time ω angular speed ω rb1 ω rb2 ω rb3 ω rb4 ω rb5 Speeds ω max α 7 Biondi et al. [ICCPS 15] 7
8 Execution Times of the Modes Engine Control: Adaptive Variable-Rate (AVR) Tasks c 1 c 2 c 3 c 4 Higher rate WCET of job per release job Jobs released at Top Dead Center (TDC) Jobs due in one revolution (one full rotation) But how do we calculate worst-case demand? α c 5 c M More Higher time between rate of job job releases ω min c execution time ω angular speed ω rb1 ω rb2 ω rb3 ω rb4 ω rb5 Speeds ω max α 8 Biondi et al. [ICCPS 15]
9 Execution Times of the Modes Demand of AVR Tasks c 1 c 2 Which point gives the worstcase demand? c 3 c 4 c 5 Calculation of worst-case demand is not straightforward. c M ω min c execution time ω angular speed ω rb1 ω rb2 ω rb3 ω rb4 ω rb5 ω max Speeds Biondi et al. [ICCPS 15] 9
10 Execution Times of the Modes Motivation and Problem Statement c 1 Motivation:? c 2 c 3 Existing calculations of exact worstcase demand for AVR tasks are compute intensive. c 4 Problem Statement: c 5 c M Calculate the exact worst-case demand of an AVR task over a time interval δ. ω min c execution time ω angular speed ω rb1 ω rb2 ω rb3 ω rb4 ω rb5 Speeds ω max 10
11 Approach & Contributions 1. Worst-case AVR task demand Bounded precedence constraint knapsack problem (BPCKP). 2. Symmetric acceleration + Engine kinematics Reduced search space. α α + 3. Results significantly outperform the state-of-the-art in computation time.? 11
12 Outline 1. Approach and Contributions 2. Background & Related Work 3. Precedence Constraints & Search Space Reduction 4. Worst-Case AVR Demand as Knapsack Problem 5. Evaluation & Results 6. Conclusion & Future Work 12
13 Background & Related Work 13
14 Execution Times of the Modes AVR Tasks Speed or WCET? c 1 c 2 c 3 + Allows WCET to scale inversely with speed? How can we calculate worst-case demand? c 4 c 5 c M Right Boundary (RB) RB Speeds (ω rb ) Modes / Steps ω min c execution time ω angular speed ω rb1 ω rb2 ω rb3 ω rb4 ω rb5 ω max Speeds Biondi et al. [ICCPS 15] 14
15 Execution Times of the Modes Digraph Real-Time (DRT) Approach c 1 c 2 + Exact worst-case demand for a select set of speeds? How can we compute worst-case demand faster? c 3 c 4 c 5 c M ω min c execution time ω angular speed ω rb1 ω rb2 ω rb3 ω rb4 ω rb5 Speeds Mohaqeqi et al. [ECRTS 17] ω max 15
16 Related Works Model Adaptive-Variable Rate / Rhythmic Biondi et al. [ICCPS 15], Kim et al. [ICCPS 12] Constant Acceleration between Jobs Variable Acceleration between Jobs Schedulability Guo and Baruah [ICCPS 15] Exact Worst-case Demand Biondi et al. [ECRTS 14] Exact Worst-case Demand via DRT Mohaqeqi et al. [ECRTS 17] ω peak α α α + α + α Exact Worst-case Demand via Knapsack (This work) α ω 1 ω 1 ω 0 ω 0 16
17 Related Works Model Adaptive-Variable Rate / Rhythmic Biondi et al. [ICCPS 15], Kim et al. [ICCPS 12] Constant Acceleration between Jobs Variable Acceleration between Jobs Schedulability Guo and Baruah [ICCPS 15] Exact Worst-case Demand Biondi et al. [ECRTS 14] Exact Worst-case Demand via DRT Mohaqeqi et al. [ECRTS 17] Exact Worst-case Demand via Knapsack (This work) α α + α = maximum deceleration α + = maximum acceleration 17
18 Outline 1. Approach and Contributions 2. Background & Related Work 3. Precedence Constraints & Search Space Reduction 4. Worst-Case AVR Demand as Knapsack Problem 5. Evaluation & Results 6. Conclusion & Future Work 18
19 Precedence Constraints & Search Space Reduction 19
20 Execution Times of the Modes Acceleration Limits (on AVR) c 1 α α + Cannot reach ω 5 in a single rotation. c 2 c 3 α α + c 4 c 5 c M ω min c execution time ω angular speed ω 0 ω 1 ω 2 ω 3 ω 4 ω 5 ω rb1 ω rb2 ω rb3 ω rb4 ω rb5 ω max Reachable Speeds 20
21 Search Space Reduction: Dominant Sequences A dominant sequence is a sequence of job releases which maximizes demand over a time interval δ. 21
22 Execution Times of the Modes Dominant Sequence Visualization c 1 c 2 c 3 Max. Accel. (α + ) Max. Decel. (α ) ω peak Var. Accel. ω 1 ω 0 c 4 c 5 c M A dominant sequence is a sequence of job releases which maximizes demand over a time interval δ. ω min c execution time ω angular speed ω rb1 ω rb2 ω rb3 ω rb4 ω rb5 Speeds ω max 22
23 Execution Times of the Modes Dominant Sequence Visualized c 1 c 2 c 3 Max. Accel. (α + ) Max. Decel. (α ) ω peak Var. Accel. ω 1 ω 0 c 4 c 5 c M A dominant sequence is a sequence of job releases which maximizes demand over a time interval δ. ω min c execution time ω angular speed ω rb1 ω rb2 ω rb3 ω rb4 ω rb5 Speeds ω max 23
24 Dominant Sequence Max. Accel. (α + ) Max. Decel. (α ) ω peak Var. Accel. ω 1 ω 0 > > We only search for dominant sequences! 24
25 Properties of a Dominant Sequence c 1 c 2 c 3 c 4 c 5 Lemma 1 : Dominant sequences do not contain any decreasing subsequences. c 1 c 2 c 3 c 4 c 5 Max. Accel. (α + ) Max. Decel. (α ) ω peak Var. Accel. ω 1 ω 0 c M c M ω min ω rb1 ω rb2 ω rb3 ω rb4 ω rb5 ω max ω min ω rb1 ω rb2 ω rb3 ω rb4 ω rb5 ω max Decreasing sequences Speeds can be transformed into non-decreasing Speeds sequences with equal or greater demand! 25
26 Properties of a Dominant Sequence c 1 c 2 c 3 c 4 c 5 Lemma 1 : Dominant sequences do not contain any decreasing subsequences. c 1 c 2 Lemma 1: Only non-decreasing c 3 sequences allowed. c 4 c 5 Max. Accel. (α + ) Max. Decel. (α ) ω peak Var. Accel. ω 1 ω 0 c M c M ω min ω rb1 ω rb2 ω rb3 ω rb4 ω rb5 ω max ω min ω rb1 ω rb2 ω rb3 ω rb4 ω rb5 Decreasing sequences Speeds can be transformed into non-decreasing Speeds sequences with equal or greater demand! ω max 26
27 Properties of a Dominant Sequence Lemma 2 : The first job of a dominant sequence begins at a right boundary. n jobs in the middle of a step n jobs at the right boundary speed c m 1 c m ω rbx Same execution time, shorter time 27
28 Properties of a Dominant Sequence Lemma 2 : The first job of a dominant sequence begins at a right boundary. n jobs in the middle of a step n jobs at the right boundary speed c m 1 Lemma 2: Start at a right boundary speed (RB). c m ω rbx Same execution time, shorter time 28
29 Properties of a Dominant Sequence Lemma 3 : Dominant sequences have fixed choices for next speeds. c m 1 Decision Speed c m 1 Option 1 Max. Accel. Use Max. Accel. c m ω rbx When α + travels past right boundary, variable accel. may be used. c m ω rbx Option 2 Single Var. Accel. n RBs Multiple and Max. Accel. c m 1 c m 1 c m c m ω rbx ω rbx 29
30 Properties of a Dominant Sequence Lemma 3 : Dominant sequences have fixed choices for next speeds. c m 1 Use Max. Accel. c m Decision Speed c m 1 Lemma 3: Use maximum acceleration. Additionally, at decision speeds, use variable acceleration c m to reach RB. ω rbx ω rbx Can release multiple jobs at RB. When α + travels past right boundary, variable accel. may be used. Option 1 Max. Accel. c m 1 Option 2 Single Var. Accel. c m 1 n RBs Multiple and Max. Accel. c m ω rbx c m ω rbx 30
31 Execution Times of the Modes Dominant Sequence Visualization c 1 c 2 c 3 c 4 c 5 c M ω min ω rb1 ω rb2 ω rb3 ω rb4 ω rb5 ω max Speeds 31
32 Dominant Sequence Visualization Max. Accel. (α + ) Max. Decel. (α ) c m 2 ω peak Var. Accel. ω 1 ω 0 c m 1 c m Lemma 1: Only non-decreasing sequences allowed. ω rbx Lemma 2: Start at a right boundary speed (RB). ω rbx+1 Lemma 3: Use maximum acceleration. Additionally, at decision speeds, use variable acceleration to reach RB. Can release multiple jobs at RB. 32
33 A Visual Comparison c m 2 c m 1 c m ω rbx ω rbx+1 ω rbx ω rbx+1 Sequence in our approach Sequences in previous work Search space in our approach is significantly reduced. 33
34 Worst-Case Demand as Knapsack 34
35 Jobs as Items, Time as Knapsack ID Profit Weight Initial Speed, Final Speed WCET Min. Interarrival (time) Max 100 kg Knapsack = Duration of time 35
36 Execution Times of the Modes Transformation Visualization c 1 c 2 c 3 c 4 c 5 0 ω j, ω k t c M ω min ω rb1 ω rb2 ω rb3 ω rb4 ω rb5 Speeds ω max 0 Precedence Constraints should be followed too t 36
37 Bounded Precedence Constraint Knapsack Problem BPCKP Right boundary speed c(ω j ) T(ω j, ω j ) T(ω j, ω k ) c(ω j ) Execution time T - Job inter-arrival time c(ω j ) c(ω k ) T(ω j, ω j ) T(ω k, ω l ) c(ω j ) c(ω l ) Decision Speed Middle of a step T(ω j, ω k ) T(ω l, ω m ) c(ω k ) T(ω m, ω n ) c(ω m ) T(ω m, ω o ) c(ω n ) c(ω o ) T(ω n, ω n ) c(ω n ) 37
38 BPCKP c(ω j ) c(ω j ) Execution time T - Job inter-arrival time T(ω j, ω j ) T(ω j, ω k ) c(ω j ) c(ω k ) Multiple jobs at RBs Restricted by the length of the time-interval T(ω j, ω j ) T(ω k, ω l ) c(ω j ) c(ω l ) T(ω j, ω k ) T(ω l, ω m ) c(ω k ) T(ω m, ω n ) c(ω m ) T(ω m, ω o ) Solve the resultant BPCKP with Dynamic Programming T(ω n, ω n ) c(ω n ) c(ω n ) c(ω o ) 38
39 Time complexity Number of Unique Items in Knapsack: m number of modes O(m ω 2 2 max ω min ) 2α max Search complexity Pseudo polynomial Same as any bounded precedence constraint knapsack problem 39
40 Evaluation and Results 40
41 AVR Task Set: Table Comparison Task Set in Previous Work i th mode ω rbm ω rbi c(ω rbm ) ω rbi is reachable from ω rbi k in integer rotations Decreases the number of decision speeds A More Challenging Task Set ω rbi is not reachable from ω r k in integer rotations 6500 i th mode ω rbm ω rbi c(ω rbm )
42 AVR Task Set: Visual Comparison Previous Work Task Set c m 2 # Decision Speeds less than # Modes c m 1 Fewer sequences in the search space c m ω rbx ω rbx+1 More Challenging Task Set c m 2 # Decision Speeds equal to # Modes c m 1 More sequences in the search space c m ω rbx ω rbx+1 42
43 Algorithm Runtime Comparison System: Python 3.6.5, 3.4 GHz quad-core processor, 8 GB RAM Experiment: Calculate worst-case demand for 100 intervals from [0,1s] Previous Task Set More Challenging Task Set DRT Alg. 3 min. 31 sec. 17 min. 2 sec. Our Alg sec sec. Performance Improvement
44 Random Taskset Alg. Runtimes 44
45 Public Artifact 1. Recreate paper results RTSS18KAVR 2. Customize task sets 3. Graphical comparison 4. Python w/ Markdown documentation 45
46 Future Work 1. Relax the symmetric acceleration assumptions α α + 2. Additional problem dimensions 3. AVR tasks with different phases θ 4. Approximation algorithms ~ 46
47 Conclusion 1. Worst-case AVR task demand Bounded precedence constraint knapsack problem (BPCKP). 2. Symmetric acceleration + Engine kinematics Reduced search space. 3. Results significantly outperform the state-of-the-art in computation time. Questions? α α + sandeepb@vt.edu aaron.willcock@wayne.edu tchantem@vt.edu fishern@wayne.edu? 47
Real-Time Workload Models with Efficient Analysis
Real-Time Workload Models with Efficient Analysis Advanced Course, 3 Lectures, September 2014 Martin Stigge Uppsala University, Sweden Fahrplan 1 DRT Tasks in the Model Hierarchy Liu and Layland and Sporadic
More informationModeling and Analysis of Engine Control Tasks Under Dynamic Priority Scheduling
Modeling and Analysis of Engine Control Tasks Under Dynamic Priority Scheduling Alessandro Biondi and Giorgio Buttazzo Scuola Superiore Sant Anna, Pisa, Italy Email: {alessandro.biondi, giorgio.buttazzo}@santannapisa.it
More informationEnergy-efficient Mapping of Big Data Workflows under Deadline Constraints
Energy-efficient Mapping of Big Data Workflows under Deadline Constraints Presenter: Tong Shu Authors: Tong Shu and Prof. Chase Q. Wu Big Data Center Department of Computer Science New Jersey Institute
More informationLecture: Workload Models (Advanced Topic)
Lecture: Workload Models (Advanced Topic) Real-Time Systems, HT11 Martin Stigge 28. September 2011 Martin Stigge Workload Models 28. September 2011 1 System
More informationSegment-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 informationAndrew 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 informationExact Interference of Adaptive Variable-Rate Tasks under Fixed-Priority Scheduling
Proceedings of the 26th Euromicro Conference on Real-Time Systems (ECRTS 2014), Madrid, Spain, July 8-11, 2014. Exact Interference of Adaptive Variable-Rate Tasks under Fixed-Priority Scheduling Alessandro
More informationCS 6901 (Applied Algorithms) Lecture 3
CS 6901 (Applied Algorithms) Lecture 3 Antonina Kolokolova September 16, 2014 1 Representative problems: brief overview In this lecture we will look at several problems which, although look somewhat similar
More informationReal-time scheduling of sporadic task systems when the number of distinct task types is small
Real-time scheduling of sporadic task systems when the number of distinct task types is small Sanjoy Baruah Nathan Fisher Abstract In some real-time application systems, there are only a few distinct kinds
More informationCycleTandem: 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 informationEvaluation and Validation
Evaluation and Validation Jian-Jia Chen (Slides are based on Peter Marwedel) TU Dortmund, Informatik 12 Germany Springer, 2010 2016 年 01 月 05 日 These slides use Microsoft clip arts. Microsoft copyright
More informationWhat is an integer program? Modelling with Integer Variables. Mixed Integer Program. Let us start with a linear program: max cx s.t.
Modelling with Integer Variables jesla@mandtudk Department of Management Engineering Technical University of Denmark What is an integer program? Let us start with a linear program: st Ax b x 0 where A
More informationUtilization Bounds on Allocating Rate-Monotonic Scheduled Multi-Mode Tasks on Multiprocessor Systems
Utilization Bounds on Allocating Rate-onotonic Scheduled ulti-ode Tasks on ultiprocessor Systems Wen-Hung Huang Department of Computer Science TU Dortmund University, Germany wen-hung.huang@tu-dortmund.de
More informationMultiprocessor 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 informationEDF 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 informationEDF 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 information0-1 Knapsack Problem in parallel Progetto del corso di Calcolo Parallelo AA
0-1 Knapsack Problem in parallel Progetto del corso di Calcolo Parallelo AA 2008-09 Salvatore Orlando 1 0-1 Knapsack problem N objects, j=1,..,n Each kind of item j has a value p j and a weight w j (single
More informationSchedule Table Generation for Time-Triggered Mixed Criticality Systems
Schedule Table Generation for Time-Triggered Mixed Criticality Systems Jens Theis and Gerhard Fohler Technische Universität Kaiserslautern, Germany Sanjoy Baruah The University of North Carolina, Chapel
More informationNon-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 informationReal-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 informationSpring 2018 IE 102. Operations Research and Mathematical Programming Part 2
Spring 2018 IE 102 Operations Research and Mathematical Programming Part 2 Graphical Solution of 2-variable LP Problems Consider an example max x 1 + 3 x 2 s.t. x 1 + x 2 6 (1) - x 1 + 2x 2 8 (2) x 1,
More informationComplexity of Uniprocessor Scheduling Analysis
Complexity of Uniprocessor Scheduling Analysis Pontus Ekberg and Wang Yi Abstract When designing a real-time system, a schedulability problem must be solved in order to show that it will meet all timing
More informationResource Sharing Protocols for Real-Time Task Graph Systems
Resource Sharing Protocols for Real-Time Task Graph Systems Nan Guan, Pontus Ekberg, Martin Stigge, Wang Yi Uppsala University, Sweden Northeastern University, China Abstract Previous works on real-time
More informationA 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 informationA comparison of sequencing formulations in a constraint generation procedure for avionics scheduling
A comparison of sequencing formulations in a constraint generation procedure for avionics scheduling Department of Mathematics, Linköping University Jessika Boberg LiTH-MAT-EX 2017/18 SE Credits: Level:
More informationEDF 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 informationIntroduction to Bin Packing Problems
Introduction to Bin Packing Problems Fabio Furini March 13, 2015 Outline Origins and applications Applications: Definition: Bin Packing Problem (BPP) Solution techniques for the BPP Heuristic Algorithms
More informationRecoverable Robustness in Scheduling Problems
Master Thesis Computing Science Recoverable Robustness in Scheduling Problems Author: J.M.J. Stoef (3470997) J.M.J.Stoef@uu.nl Supervisors: dr. J.A. Hoogeveen J.A.Hoogeveen@uu.nl dr. ir. J.M. van den Akker
More informationSchedulability 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 informationUniprocessor Mixed-Criticality Scheduling with Graceful Degradation by Completion Rate
Uniprocessor Mixed-Criticality Scheduling with Graceful Degradation by Completion Rate Zhishan Guo 1, Kecheng Yang 2, Sudharsan Vaidhun 1, Samsil Arefin 3, Sajal K. Das 3, Haoyi Xiong 4 1 Department of
More informationPaper Presentation. Amo Guangmo Tong. University of Taxes at Dallas February 11, 2014
Paper Presentation Amo Guangmo Tong University of Taxes at Dallas gxt140030@utdallas.edu February 11, 2014 Amo Guangmo Tong (UTD) February 11, 2014 1 / 26 Overview 1 Techniques for Multiprocessor Global
More informationCS 6783 (Applied Algorithms) Lecture 3
CS 6783 (Applied Algorithms) Lecture 3 Antonina Kolokolova January 14, 2013 1 Representative problems: brief overview of the course In this lecture we will look at several problems which, although look
More informationThe preemptive uniprocessor scheduling of mixed-criticality implicit-deadline sporadic task systems
The preemptive uniprocessor scheduling of mixed-criticality implicit-deadline sporadic task systems Sanjoy Baruah 1 Vincenzo Bonifaci 2 3 Haohan Li 1 Alberto Marchetti-Spaccamela 4 Suzanne Van Der Ster
More informationComputational complexity theory
Computational complexity theory Introduction to computational complexity theory Complexity (computability) theory deals with two aspects: Algorithm s complexity. Problem s complexity. References S. Cook,
More informationCOSC 341: Lecture 25 Coping with NP-hardness (2)
1 Introduction Figure 1: Famous cartoon by Garey and Johnson, 1979 We have seen the definition of a constant factor approximation algorithm. The following is something even better. 2 Approximation Schemes
More informationGreedy vs Dynamic Programming Approach
Greedy vs Dynamic Programming Approach Outline Compare the methods Knapsack problem Greedy algorithms for 0/1 knapsack An approximation algorithm for 0/1 knapsack Optimal greedy algorithm for knapsack
More informationDynamic Programming( Weighted Interval Scheduling)
Dynamic Programming( Weighted Interval Scheduling) 17 November, 2016 Dynamic Programming 1 Dynamic programming algorithms are used for optimization (for example, finding the shortest path between two points,
More informationAlgorithms and Data S tructures Structures Complexity Complexit of Algorithms Ulf Leser
Algorithms and Data Structures Complexity of Algorithms Ulf Leser Content of this Lecture Efficiency of Algorithms Machine Model Complexity Examples Multiplication of two binary numbers (unit cost?) Exact
More informationInteger Linear Programming Modeling
DM554/DM545 Linear and Lecture 9 Integer Linear Programming Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline 1. 2. Assignment Problem Knapsack Problem
More informationOperator assignment problem in aircraft assembly lines: a new planning approach taking into account economic and ergonomic constraints
Operator assignment problem in aircraft assembly lines: a new planning approach taking into account economic and ergonomic constraints Dmitry Arkhipov, Olga Battaïa, Julien Cegarra, Alexander Lazarev May
More informationReservation-Based Federated Scheduling for Parallel Real-Time Tasks
Reservation-Based Federated Scheduling for Parallel Real-Time Tasks Niklas Ueter 1, Georg von der Brüggen 1, Jian-Jia Chen 1, Jing Li 2, and Kunal Agrawal 3 1 TU Dortmund University, Germany 2 New Jersey
More informationEmbedded 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 informationPartitioned scheduling of sporadic task systems: an ILP-based approach
Partitioned scheduling of sporadic task systems: an ILP-based approach Sanjoy K. Baruah The University of North Carolina Chapel Hill, NC. USA Enrico Bini Scuola Superiore Santa Anna Pisa, Italy. Abstract
More informationComputational complexity theory
Computational complexity theory Introduction to computational complexity theory Complexity (computability) theory deals with two aspects: Algorithm s complexity. Problem s complexity. References S. Cook,
More informationReal-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 informationThe network maintenance problem
22nd International Congress on Modelling and Simulation, Hobart, Tasmania, Australia, 3 to 8 December 2017 mssanz.org.au/modsim2017 The network maintenance problem Parisa Charkhgard a, Thomas Kalinowski
More informationScheduling mixed-criticality systems to guarantee some service under all non-erroneous behaviors
Consistent * Complete * Well Documented * Easy to Reuse * Scheduling mixed-criticality systems to guarantee some service under all non-erroneous behaviors Artifact * AE * Evaluated * ECRTS * Sanjoy Baruah
More informationarxiv: v1 [cs.ni] 18 Apr 2017
Zijun Zhang Dept. of Computer Science University of Calgary zijun.zhang@ucalgary.ca Zongpeng Li Dept. of Computer Science University of Calgary zongpeng@ucalgary.ca Chuan Wu Dept. of Computer Science The
More informationChapter 5 Divide and Conquer
CMPT 705: Design and Analysis of Algorithms Spring 008 Chapter 5 Divide and Conquer Lecturer: Binay Bhattacharya Scribe: Chris Nell 5.1 Introduction Given a problem P with input size n, P (n), we define
More informationCombinatorial optimization problems
Combinatorial optimization problems Heuristic Algorithms Giovanni Righini University of Milan Department of Computer Science (Crema) Optimization In general an optimization problem can be formulated as:
More informationSemi-Partitioned Fixed-Priority Scheduling on Multiprocessors
Semi-Partitioned Fixed-Priority Scheduling on Multiprocessors Shinpei Kato and Nobuyuki Yamasaki Department of Information and Computer Science Keio University, Yokohama, Japan {shinpei,yamasaki}@ny.ics.keio.ac.jp
More informationCS325: Analysis of Algorithms, Fall Final Exam
CS: Analysis of Algorithms, Fall 0 Final Exam I don t know policy: you may write I don t know and nothing else to answer a question and receive percent of the total points for that problem whereas a completely
More informationNon-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 informationReal-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 informationRecoverable Robust Knapsacks: Γ -Scenarios
Recoverable Robust Knapsacks: Γ -Scenarios Christina Büsing, Arie M. C. A. Koster, and Manuel Kutschka Abstract In this paper, we investigate the recoverable robust knapsack problem, where the uncertainty
More informationLecture 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 informationBounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks
Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks Pontus Ekberg and Wang Yi Uppsala University, Sweden Email: {pontus.ekberg yi}@it.uu.se Abstract We derive demand-bound functions for
More informationEmbedded 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 informationAn artificial chemical reaction optimization algorithm for. multiple-choice; knapsack problem.
An artificial chemical reaction optimization algorithm for multiple-choice knapsack problem Tung Khac Truong 1,2, Kenli Li 1, Yuming Xu 1, Aijia Ouyang 1, and Xiaoyong Tang 1 1 College of Information Science
More informationLightweight Real-Time Synchronization under P-EDF on Symmetric and Asymmetric Multiprocessors
Consistent * Complete * Well Documented * Easy to Reuse * Technical Report MPI-SWS-216-3 May 216 Lightweight Real-Time Synchronization under P-EDF on Symmetric and Asymmetric Multiprocessors (extended
More informationAlgorithms. NP -Complete Problems. Dong Kyue Kim Hanyang University
Algorithms NP -Complete Problems Dong Kyue Kim Hanyang University dqkim@hanyang.ac.kr The Class P Definition 13.2 Polynomially bounded An algorithm is said to be polynomially bounded if its worst-case
More informationA 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 informationNP-Completeness. NP-Completeness 1
NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and Johnson, W.H. Freeman and Company, 1979. NP-Completeness 1 General Problems, Input Size and
More informationProbabilistic real-time scheduling. Liliana CUCU-GROSJEAN. TRIO team, INRIA Nancy-Grand Est
Probabilistic real-time scheduling Liliana CUCU-GROSJEAN TRIO team, INRIA Nancy-Grand Est Outline What is a probabilistic real-time system? Relation between pwcet and pet Response time analysis Optimal
More informationComputer Science, Informatik 4 Communication and Distributed Systems. Simulation. Discrete-Event System Simulation. Dr.
Simulation Discrete-Event System Simulation Chapter Comparison and Evaluation of Alternative System Designs Purpose Purpose: comparison of alternative system designs. Approach: discuss a few of many statistical
More informationOn the Design and Application of Thermal Isolation Servers
On the Design and Application of Thermal Isolation Servers Rehan Ahmed, Pengcheng Huang, Max Millen, Lothar Thiele EMSOFT 2017 October 16, 2017 1/25 2/25 The Temperature Problem 1 1 Extremetech: https://tinyurl.com/y8gmopks
More informationOptimal 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 informationReal-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 informationTask 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 informationA 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 and Andreas Pavlogiannis IST Austria (Institute of Science and Technology Austria) Klosterneuburg,
More informationComputational Complexity and Intractability: An Introduction to the Theory of NP. Chapter 9
1 Computational Complexity and Intractability: An Introduction to the Theory of NP Chapter 9 2 Objectives Classify problems as tractable or intractable Define decision problems Define the class P Define
More informationRUN-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 informationChapter 3: Discrete Optimization Integer Programming
Chapter 3: Discrete Optimization Integer Programming Edoardo Amaldi DEIB Politecnico di Milano edoardo.amaldi@polimi.it Website: http://home.deib.polimi.it/amaldi/opt-16-17.shtml Academic year 2016-17
More informationA 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 informationInteger Linear Programming (ILP)
Integer Linear Programming (ILP) Zdeněk Hanzálek, Přemysl Šůcha hanzalek@fel.cvut.cz CTU in Prague March 8, 2017 Z. Hanzálek (CTU) Integer Linear Programming (ILP) March 8, 2017 1 / 43 Table of contents
More informationIOE 202: lectures 11 and 12 outline
IOE 202: lectures 11 and 12 outline Announcements Last time... Queueing models intro Performance characteristics of a queueing system Steady state analysis of an M/M/1 queueing system Other queueing systems,
More informationThe Greedy Method. Design and analysis of algorithms Cs The Greedy Method
Design and analysis of algorithms Cs 3400 The Greedy Method 1 Outline and Reading The Greedy Method Technique Fractional Knapsack Problem Task Scheduling 2 The Greedy Method Technique The greedy method
More informationA General Framework for Designing Approximation Schemes for Combinatorial Optimization Problems with Many Objectives Combined into One
OPERATIONS RESEARCH Vol. 61, No. 2, March April 2013, pp. 386 397 ISSN 0030-364X (print) ISSN 1526-5463 (online) http://dx.doi.org/10.1287/opre.1120.1093 2013 INFORMS A General Framework for Designing
More informationEmbedded 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 information1 Column Generation and the Cutting Stock Problem
1 Column Generation and the Cutting Stock Problem In the linear programming approach to the traveling salesman problem we used the cutting plane approach. The cutting plane approach is appropriate when
More informationKnapsack. Bag/knapsack of integer capacity B n items item i has size s i and profit/weight w i
Knapsack Bag/knapsack of integer capacity B n items item i has size s i and profit/weight w i Goal: find a subset of items of maximum profit such that the item subset fits in the bag Knapsack X: item set
More informationProcess Scheduling for RTS. RTS Scheduling Approach. Cyclic Executive Approach
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..
More informationThe 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 informationSystem 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 informationApproximation Algorithms
Approximation Algorithms What do you do when a problem is NP-complete? or, when the polynomial time solution is impractically slow? assume input is random, do expected performance. Eg, Hamiltonian path
More informationReal-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 informationA Theory of Rate-Based Execution. A Theory of Rate-Based Execution
Kevin Jeffay Department of Computer Science University of North Carolina at Chapel Hill jeffay@cs cs.unc.edu Steve Goddard Computer Science & Engineering University of Nebraska Ð Lincoln goddard@cse cse.unl.edu
More informationReal-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 informationCoin Changing: Give change using the least number of coins. Greedy Method (Chapter 10.1) Attempt to construct an optimal solution in stages.
IV-0 Definitions Optimization Problem: Given an Optimization Function and a set of constraints, find an optimal solution. Optimal Solution: A feasible solution for which the optimization function has the
More information5 Integer Linear Programming (ILP) E. Amaldi Foundations of Operations Research Politecnico di Milano 1
5 Integer Linear Programming (ILP) E. Amaldi Foundations of Operations Research Politecnico di Milano 1 Definition: An Integer Linear Programming problem is an optimization problem of the form (ILP) min
More informationMixed-criticality scheduling upon varying-speed multiprocessors
Mixed-criticality scheduling upon varying-speed multiprocessors Zhishan Guo Sanjoy Baruah The University of North Carolina at Chapel Hill Abstract An increasing trend in embedded computing is the moving
More informationOrdonnancement robuste de réseaux de capteurs sans fil pour le suivi d une cible mobile sous incertitudes
Ordonnancement robuste de réseaux de capteurs sans fil pour le suivi d une cible mobile sous incertitudes Charly Lersteau Marc Sevaux André Rossi ROADEF 2016, Compiègne February 11, 2016 1/17 Context 2/17
More informationOutline / Reading. Greedy Method as a fundamental algorithm design technique
Greedy Method Outline / Reading Greedy Method as a fundamental algorithm design technique Application to problems of: Making change Fractional Knapsack Problem (Ch. 5.1.1) Task Scheduling (Ch. 5.1.2) Minimum
More informationWorst case analysis for a general class of on-line lot-sizing heuristics
Worst case analysis for a general class of on-line lot-sizing heuristics Wilco van den Heuvel a, Albert P.M. Wagelmans a a Econometric Institute and Erasmus Research Institute of Management, Erasmus University
More informationarxiv: v3 [cs.ds] 23 Sep 2016
Evaluate and Compare Two Utilization-Based Schedulability-Test Framewors for Real-Time Systems arxiv:1505.02155v3 [cs.ds] 23 Sep 2016 Jian-Jia Chen and Wen-Hung Huang Department of Informatics TU Dortmund
More informationCS599: Algorithm Design in Strategic Settings Fall 2012 Lecture 7: Prior-Free Multi-Parameter Mechanism Design. Instructor: Shaddin Dughmi
CS599: Algorithm Design in Strategic Settings Fall 2012 Lecture 7: Prior-Free Multi-Parameter Mechanism Design Instructor: Shaddin Dughmi Outline 1 Multi-Parameter Problems and Examples 2 The VCG Mechanism
More informationSECTION 5.1: Polynomials
1 SECTION 5.1: Polynomials Functions Definitions: Function, Independent Variable, Dependent Variable, Domain, and Range A function is a rule that assigns to each input value x exactly output value y =
More informationLightweight Real-Time Synchronization under P-EDF on Symmetric and Asymmetric Multiprocessors
Consistent * Complete * Well Documented * Easy to Reuse * Lightweight Real-Time Synchronization under P-EDF on Symmetric and Asymmetric Multiprocessors Artifact * AE * Evaluated * ECRTS * Alessandro Biondi
More informationarxiv: v1 [cs.os] 6 Jun 2013
Partitioned scheduling of multimode multiprocessor real-time systems with temporal isolation Joël Goossens Pascal Richard arxiv:1306.1316v1 [cs.os] 6 Jun 2013 Abstract We consider the partitioned scheduling
More informationHow to deal with uncertainties and dynamicity?
How to deal with uncertainties and dynamicity? http://graal.ens-lyon.fr/ lmarchal/scheduling/ 19 novembre 2012 1/ 37 Outline 1 Sensitivity and Robustness 2 Analyzing the sensitivity : the case of Backfilling
More information