Integrating Cache Related Preemption Delay Analysis into EDF Scheduling

Size: px
Start display at page:

Download "Integrating Cache Related Preemption Delay Analysis into EDF Scheduling"

Transcription

1 Integrating Cache Related Preemption Delay Analysis into EDF Scheduling Will Lunniss 1 Sebastian Altmeyer 2 Claire Maiza 3 Robert I. Davis 1 1 Real-Time Systems Research Group, University of York, UK {wl510, rob.davis}@york.ac.uk 2 Department of Computer Science, Saarland University, Germany altmeyer@cs.uni-sb.de 2 Verimag, Grenoble INP, Grenoble, France Claire.maiza@imag.fr 1

2 Outline EDF Scheduling CRPD Integrating CRPD analysis into EDF Comparison with existing approach Improved CRPD analysis Case study Synthetic taskset evaluation Conclusions 2

3 Earliest Deadline First (EDF) It is dynamic scheduling algorithm Schedules the job of the task with the earliest absolute deadline first Proven to be optimal by Dertouzos on a single core processor 3

4 Determining which job should run 4

5 Determining which job should run If two jobs have the same absolute deadline We assume that the job with the lowest task index is chosen E.g. τ 2 pre-empts τ 3 in the above example 4

6 Determining which job should run If two jobs have the same absolute deadline Ensures that two tasks cannot pre-empt each other Ensures that after a pre-emption, the task that was pre-empted last is resumed first E.g τ 2 is resumed at t = 7 5

7 Determining which job should run If two jobs have the same absolute deadline Ensures that two tasks cannot pre-empt each other Ensures that after a pre-emption, the task that was pre-empted last is resumed first E.g τ 2 is resumed at t = 7, rather than τ 3 5

8 Determining which job should run Also applies for jobs with the same relative deadline and release time E.g. τ 2 is resumed at t = 3, rather than τ 3 starting 6

9 Determining which job should run Also applies for jobs with the same relative deadline and release time E.g. τ 2 is resumed at t = 3, rather than τ 3 starting 6

10 Determining which job should run Also applies for jobs with the same relative deadline and release time E.g. τ 2 is resumed at t = 3, rather than τ 3 starting 7

11 Schedulability test If all tasks have implicit deadlines (D i =T i ), schedulability test is 8

12 Schedulability test If all tasks have implicit deadlines (D i =T i ), schedulability test is U 1 8

13 Schedulability test If all tasks have implicit deadlines (D i =T i ), schedulability test is U 1 If D i T i then the test is still necessary, but is no longer sufficient 8

14 Schedulability test If all tasks have implicit deadlines (D i =T i ), schedulability test is U 1 If D i T i then the test is still necessary, but is no longer sufficient Need to do another test 8

15 Processor demand bound function h( t) i1 t D max0,1 Ti i C i 9

16 Processor demand bound function h( t) i1 t D max0,1 Ti i C i Sum over each task 9

17 Processor demand bound function h( t) i1 t D max0,1 Ti i C i Sum over each task the number of jobs a task has which are released and have their deadlines in the interval t 9

18 Processor demand bound function h( t) i1 t D max0,1 Ti i C i Sum over each task the number of jobs a task has which are released and have their deadlines in the interval t multiplied by the tasks execution time 9

19 Processor demand bound function h( t) i1 t D max0,1 Ti i C i Sum over each task the number of jobs a task has which are released and have their deadlines in the interval t multiplied by the tasks execution time S. K. Baruah, L. E. Rosier, and R. R. Howell, "Algorithms and Complexity Concerning the Preemptive Scheduling of Periodic Real-Time Tasks on One Processor," Real-Time Systems, vol. 2, no. 4, pp ,

20 Schedulability test A taskset is schedulable iff h(t) t for all values of t The execution time requirement must be less than or equal to the available time 10

21 Schedulability test A taskset is schedulable iff h(t) t for all values of t The execution time requirement must be less than or equal to the available time h(t) can only change when t is equal to an absolute deadline Bound the maximum value of t, L, using either Hyper-period: Least common multiple of task periods Synchronous busy period 10

22 Schedulability test There are still a large number of values for t that need to be checked 11

23 Schedulability test There are still a large number of values for t that need to be checked Can be reduced by using the Quick convergence Processor-demand Analysis (QPA) algorithm by Zhang and Burns Starts with a value of t close to L Iterates back towards 0 checking a significantly smaller number of values 11

24 Schedulability test There are still a large number of values for t that need to be checked Can be reduced by using the Quick convergence Processor-demand Analysis (QPA) algorithm by Zhang and Burns Starts with a value of t close to L Iterates back towards 0 checking a significantly smaller number of values F. Zhang and A. Burns, "Schedulability Analysis for Real-Time Systems with EDF Scheduling," IEEE Transactions on Computers, vol. 58, no. 9, pp , September

25 Pre-emptions and Cache Related Pre-empt Delays (CRPD) 12

26 Pre-emptions and Cache Related Pre-empt Delays (CRPD) Pre-empting task can evict blocks belonging to the pre-empted task CRPD are introduced when the pre-empted task has to reload some of those evicted cache blocks after resuming 12

27 Cache block categorisation Evicting Cache Blocks (ECBs) Loaded into cache and can therefore evict other blocks 13

28 Cache block categorisation Evicting Cache Blocks (ECBs) Loaded into cache and can therefore evict other blocks Useful Cache Blocks (UCBs) Reused once they have been loaded into cache before potentially being evict by the task If evicted by another task, they may have to be reloaded which introduces CRPD UCBs are always ECBs 13

29 Cache block categorisation Example block classification 14

30 Cache block categorisation Example block classification Instructions inside loops are often UCBs as they get reused 14

31 CRPD analysis Need to calculate the number of blocks evicted during a pre-emption that must be reloaded Multiply by the cost to reload each block, BRT 15

32 CRPD analysis Need to calculate the number of blocks evicted during a pre-emption that must be reloaded Multiply by the cost to reload each block, BRT Could take a simple approach and assume every block evicted by a pre-empting task must be re-loaded e.g. BRT t, j ECB j 15

33 CRPD analysis Adapted a number of approaches for FP to work with EDF Defined: the sets of tasks which can/cannot pre-empt each other how often these pre-emptions can occur within the interval t 16

34 CRPD analysis Adapted a number of approaches for FP to work with EDF Defined: the sets of tasks which can/cannot pre-empt each other how often these pre-emptions can occur within the interval t Then include the CRPD into the h(t) calculation 16

35 Integrating CRPD analysis into the h(t) calculation n t D j h( t) max0,1 C j t j1 Tj, j 17

36 Integrating CRPD analysis into the h(t) calculation Calculate the CRPD caused by one job of task τ j in the interval t n t D j h( t) max0,1 C j t j1 Tj, j 17

37 Integrating CRPD analysis into the h(t) calculation Calculate the CRPD caused by one job of task τ j in the interval t n t D j h( t) max0,1 C j t j1 Tj, j Then add it to the execution time of that job of task τ j 17

38 Effect of CRPD on task utilisation and h(t) calculation The analysis effectively increases the execution time of a task by the CRPD it causes Need to account for this when calculating the utilisation of a task and taskset Also need to use this when calculating the upper bound of t used for calculating h(t) 18

39 Set of pre-empting tasks Based on the tasks relative deadline Assume that any task τ j with a relative deadline D j < D i can pre-empt task τ i 19

40 Set of pre-empting tasks Based on the tasks relative deadline Assume that any task τ j with a relative deadline D j < D i can pre-empt task τ i The set of tasks that can pre-empt task τ i is: 19

41 Set of pre-empting tasks Based on the tasks relative deadline Assume that any task τ j with a relative deadline D j < D i can pre-empt task τ i The set of tasks that can pre-empt task τ i is: hp( i) { j D j Di } 19

42 Set of pre-empted tasks Task τ j can pre-empt any tasks whose relative deadline is greater than it s relative deadline 20

43 Set of pre-empted tasks Task τ j can pre-empt any tasks whose relative deadline is greater than it s relative deadline Can exclude all tasks whose relative deadlines are greater than t They do not need to be included when calculating h(t), see paper for proof 20

44 Set of pre-empted tasks Task τ j can pre-empt any tasks whose relative deadline is greater than it s relative deadline Can exclude all tasks whose relative deadlines are greater than t They do not need to be included when calculating h(t), see paper for proof aff t, j i t Di D j 20

45 UCB-Union Based on approach by Tan and Mooney ucbu t, j BRT UCBk kaff( t, j) ECB j 21

46 UCB-Union Based on approach by Tan and Mooney ucbu t, j BRT UCBk kaff( t, j) ECB j 21

47 UCB-Union Based on approach by Tan and Mooney ucbu t, j BRT UCBk kaff( t, j) ECB j Calculate the union of the UCBs of all tasks that: can be evicted by the pre-empting task τ j have a job with a release time and absolute deadline within the interval t 21

48 UCB-Union Based on approach by Tan and Mooney ucbu t, j BRT UCBk kaff( t, j) ECB j Calculate the union of the UCBs of all tasks that: can be evicted by the pre-empting task τ j have a job with a release time and absolute deadline within the interval t intersected with the ECBs of the pre-empting task 21

49 UCB-Union Based on approach by Tan and Mooney ucbu t, j BRT UCBk kaff( t, j) ECB j Calculate the union of the UCBs of all tasks that: can be evicted by the pre-empting task τ j have a job with a release time and absolute deadline within the interval t intersected with the ECBs of the pre-empting task Y. Tan and V. Mooney, "Timing Analysis for Preemptive Multitasking Real-Time Systems with Caches," ACM Transactions on Embedded Computing Systems (TECS), vol. 6, no. 1, February

50 ECB-Union Based on the approach by Altmeyer et al. UCB ecbu t, j BRT max k kaff( t, j) hhp( j) { j} ECB h 22

51 ECB-Union Based on the approach by Altmeyer et al. UCB ecbu t, j BRT max k kaff( t, j) hhp( j) { j} ECB h Assume that task τ j has already been pre-empted. Include the union of ECBs belonging to all tasks that can pre-empt it 22

52 ECB-Union Based on the approach by Altmeyer et al. UCB ecbu t, j BRT max k kaff( t, j) hhp( j) { j} ECB h Assume that task τ j has already been pre-empted. Include the union of ECBs belonging to all tasks that can pre-empt it 22

53 ECB-Union Based on the approach by Altmeyer et al. UCB ecbu t, j BRT max k kaff( t, j) hhp( j) { j} ECB h Calculate the maximum number of UCBs that may need to be reloaded by any task that is directly pre-empted by task τ j Assume that task τ j has already been pre-empted. Include the union of ECBs belonging to all tasks that can pre-empt it 22

54 ECB-Union Based on the approach by Altmeyer et al. UCB ecbu t, j BRT max k kaff( t, j) hhp( j) { j} ECB h Calculate the maximum number of UCBs that may need to be reloaded by any task that is directly pre-empted by task τ j Assume that task τ j has already been pre-empted. Include the union of ECBs belonging to all tasks that can pre-empt it S. Altmeyer, R.I. Davis, and C. Maiza, "Cache Related Pre-emption Delay Aware Response Time Analysis for Fixed Priority Pre-emptive Systems," in Proceedings of the 32nd IEEE Real-Time Systems Symposium (RTSS), Vienna, Austria, 2011, pp

55 Existing approach In 2007, Ju et al. presented an approach We refer to it as the JCR approach after their initials jcr i BRT P j jhp( i) ( D i ) UCB i ECB j 23

56 Existing approach In 2007, Ju et al. presented an approach We refer to it as the JCR approach after their initials jcr i BRT P j jhp( i) ( D i ) UCB i ECB j Sum for every task τ j that can pre-empt task τ i 23

57 Existing approach In 2007, Ju et al. presented an approach We refer to it as the JCR approach after their initials jcr i BRT P j jhp( i) ( D i ) UCB i ECB j Sum for every task τ j that can pre-empt task τ i the number of times task τ j can pre-empt a single job of task τ i 23

58 Existing approach In 2007, Ju et al. presented an approach We refer to it as the JCR approach after their initials jcr i BRT P j jhp( i) ( D i ) UCB i ECB j Sum for every task τ j that can pre-empt task τ i the number of times task τ j can pre-empt a single job of task τ i multiplied with the number of task τ i UCBs that could be evicted task τ j ECBs 23

59 Existing approach In 2007, Ju et al. presented an approach We refer to it as the JCR approach after their initials jcr i BRT P j jhp( i) ( D i ) UCB i ECB j Sum for every task τ j that can pre-empt task τ i the number of times task τ j can pre-empt a single job of task τ i multiplied with the number of task τ i UCBs that could be evicted task τ j ECBs Ju, S. Chakraborty, and A. Roychoudhury, "Accounting for Cache-Related Preemption Delay in Dynamic Priority Schedulability Analysis," in Design, Automation and Test in Europe Conference and Exposition (DATE), Nice, France, 2007, pp

60 Existing approach Can be pessimistic for nested pre-emptions Calculates the cost between each pair of tasks 24

61 Existing approach Can be pessimistic for nested pre-emptions Calculates the cost between each pair of tasks If pre-empting tasks have ECBs located in the same cache sets, they will be counted multiple times More likely when there the cache utilisation is high 24

62 Existing approach Can be pessimistic for nested pre-emptions Calculates the cost between each pair of tasks If pre-empting tasks have ECBs located in the same cache sets, they will be counted multiple times More likely when there the cache utilisation is high It is incomparable to the approaches we have presented so far 24

63 Improved CRPD analysis The UCB-Union and ECB-Union approach can be pessimistic They assume intermediate tasks are pre-empted the same number of times as the pre-empted task 25

64 Improved CRPD analysis E.g. the cost of τ 2 pre-empting task τ 3 is counted three times rather than once 26

65 Improved CRPD analysis E.g. the cost of τ 2 pre-empting task τ 3 is counted three times rather than once 26

66 Multiset approaches ECB-Union Multiset and UCB-Union Multiset Factor in the number of times that intermediate tasks pre-empt the pre-empted task to tighten the bound See paper for details 27

67 Comparison of approaches 28

68 Comparison of approaches 28

69 Comparison of approaches 28

70 Comparison of approaches 28

71 Comparison of approaches 28

72 Case study Based on a code from the Mälardalen benchmark suite to create a 15 task taskset Setup to model an ARM7 10MHz CPU 2KB direct-mapped instruction cache Line size of 8 Bytes, 4 Byte instructions, 256 cache sets Block reload time of 8μs 29

73 Case study Breakdown utilisation No pre-emption cost 1 Combined Multiset ECB-Union Multiset UCB-Union Multiset ECB-Union UCB-Union UCB-Only ECB-Only JCR

74 Synthetic tasksets 10 tasks per taskset 10,000 tasksets for baseline evaluation 512 cache sets Cache utilisation of 5 Maximum UCB percentage of 30% 31

75 Baseline evaluation 32

76 Baseline evaluation 32

77 Baseline evaluation Combined multiset approach outperforms all other approaches Including the existing approach 32

78 Baseline evaluation Weighted Schedulability No pre-emption cost 1 Combined Multiset ECB-Union Multiset UCB-Union Multiset ECB-Union UCB-Union UCB-Only ECB-Only JCR

79 Baseline evaluation Weighted Schedulability No pre-emption cost 1 Combined Multiset ECB-Union Multiset UCB-Union Multiset ECB-Union UCB-Union UCB-Only ECB-Only JCR

80 Varying Cache Utilisation 34

81 Varying Cache Utilisation 34

82 Varying Cache Utilisation 34

83 Varying Maximum UCB Percentage 35

84 Varying Maximum UCB Percentage 35

85 Varying Maximum UCB Percentage 35

86 Varying Number of Tasks 36

87 Conclusion Presented new CRPD aware analysis for EDF Combined multiset approach dominates the existing approach by Ju et al. Confirmed via evaluation/simulation Detailed study shows the strengths and weaknesses of the different approaches We plan to investigate which is better, FP or EDF, when taking into account CRPD 37

88 Thank you for listening Any Questions? 38

Integrating Cache Related Pre-emption Delay Analysis into EDF Scheduling

Integrating Cache Related Pre-emption Delay Analysis into EDF Scheduling Integrating Cache Related Pre-emption Delay Analysis into EDF Scheduling 1 Department of Computer Science University of York York, UK {wl510,rob.davis}@york.ac.uk Will Lunniss 1, Sebastian Altmeyer 2,

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

Cache related pre-emption delay aware response time analysis for fixed priority pre-emptive systems

Cache related pre-emption delay aware response time analysis for fixed priority pre-emptive systems Cache related pre-emption delay aware response time analysis for fixed priority pre-emptive systems Sebastian Altmeyer Compiler Design Lab Saarland University, Germany Email: altmeyer@cs.uni-saarland.de

More information

Timing analysis and predictability of architectures

Timing analysis and predictability of architectures Timing analysis and predictability of architectures Cache analysis Claire Maiza Verimag/INP 01/12/2010 Claire Maiza Synchron 2010 01/12/2010 1 / 18 Timing Analysis Frequency Analysis-guaranteed timing

More information

Cache Related Preemption Delay for Set-Associative Caches

Cache Related Preemption Delay for Set-Associative Caches Cache Related Preeption Delay for Set-Associative Caches Resilience Analysis Sebastian Alteyer, Claire Burguière, Jan Reineke AVACS Workshop, Oldenburg 2009 Why use preeptive scheduling? Preeption often

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

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

Exact speedup factors and sub-optimality for non-preemptive scheduling

Exact speedup factors and sub-optimality for non-preemptive scheduling Real-Time Syst (2018) 54:208 246 https://doi.org/10.1007/s11241-017-9294-3 Exact speedup factors and sub-optimality for non-preemptive scheduling Robert I. Davis 1 Abhilash Thekkilakattil 2 Oliver Gettings

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

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

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

Schedulability Analysis for the Abort-and-Restart (AR) Model

Schedulability Analysis for the Abort-and-Restart (AR) Model Schedulability Analysis for the Abort-and-Restart (AR) Model ABSTRACT H.C. Wong Real-Time Systems Research Group, Department of Computer Science, University of York, UK. hw638@york.ac.uk This paper addresses

More information

A New Sufficient Feasibility Test for Asynchronous Real-Time Periodic Task Sets

A New Sufficient Feasibility Test for Asynchronous Real-Time Periodic Task Sets A New Sufficient Feasibility Test for Asynchronous Real-Time Periodic Task Sets Abstract The problem of feasibility analysis for asynchronous periodic task sets (ie where tasks can have an initial offset

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

Accurate Estimation of Cache-Related Preemption Delay

Accurate Estimation of Cache-Related Preemption Delay Accurate Estimation of Cache-Related Preemption Delay Hemendra Singh Negi Tulika Mitra Abhik Roychoudhury School of Computing National University of Singapore Republic of Singapore 117543. [hemendra,tulika,abhik]@comp.nus.edu.sg

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

Limited Pre-emptive Global Fixed Task Priority

Limited Pre-emptive Global Fixed Task Priority Limited Pre-emptive Global Fixed Task Priority José Marinho Vincent Nélis Stefan M. Petters Marko Bertogna Robert I. Davis CISTER/INESC-TEC, Polytechnic Institute of Porto, Portugal University of Modena,

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

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

Analysis of Preemptively Scheduled Hard Real-Time Systems

Analysis of Preemptively Scheduled Hard Real-Time Systems Analysis of Preemptively Sheduled Hard Real-Time Systems Seastian Altmeyer Otoer 25th, 2012 Hard Real-Time Systems emedded systems with stringent timing onstraints (deadlines) missing a deadline is a omplete

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

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 Schedulability Analysis for Fixed Priority Mixed Criticality Real-Time Systems

Probabilistic Schedulability Analysis for Fixed Priority Mixed Criticality Real-Time Systems Probabilistic Schedulability Analysis for Fixed Priority Mixed Criticality Real-Time Systems Yasmina Abdeddaïm Université Paris-Est, LIGM, ESIEE Paris, France Dorin Maxim University of Lorraine, LORIA/INRIA,

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

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

Real-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 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 information

Modeling Fixed Priority Non-Preemptive Scheduling with Real-Time Calculus

Modeling Fixed Priority Non-Preemptive Scheduling with Real-Time Calculus Modeling Fixed Priority Non-Preemptive Scheduling with Real-Time Calculus Devesh B. Chokshi and Purandar Bhaduri Department of Computer Science and Engineering Indian Institute of Technology Guwahati,

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

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

Analysis and Implementation of Global Preemptive Fixed-Priority Scheduling with Dynamic Cache Allocation*

Analysis and Implementation of Global Preemptive Fixed-Priority Scheduling with Dynamic Cache Allocation* Analysis and Implementation of Global Preemptive Fixed-Priority Scheduling with Dynamic Cache Allocation* Meng Xu Linh Thi Xuan Phan Hyon-Young Choi Insup Lee University of Pennsylvania Abstract We introduce

More information

Uniprocessor Mixed-Criticality Scheduling with Graceful Degradation by Completion Rate

Uniprocessor 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 information

Paper Presentation. Amo Guangmo Tong. University of Taxes at Dallas February 11, 2014

Paper 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 information

Preemption Delay Analysis for Floating Non-Preemptive Region Scheduling

Preemption Delay Analysis for Floating Non-Preemptive Region Scheduling Preemption Delay Analysis for Floating Non-Preemptive Region Scheduling José Marinho, Vincent Nélis, Stefan M. Petters, Isaelle Puaut To cite this version: José Marinho, Vincent Nélis, Stefan M. Petters,

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

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

Probabilistic Analysis for Mixed Criticality Systems using Fixed Priority Preemptive Scheduling

Probabilistic Analysis for Mixed Criticality Systems using Fixed Priority Preemptive Scheduling Probabilistic Analysis for Mixed Criticality Systems using Fixed Priority Preemptive Scheduling Dorin Maxim LORIA - University of Lorraine, Nancy, France dorin.maxim@loria.fr Liliana Cucu-Grosjean Inria,

More information

Probabilistic Analysis for Mixed Criticality Systems using Fixed Priority Preemptive Scheduling

Probabilistic Analysis for Mixed Criticality Systems using Fixed Priority Preemptive Scheduling Probabilistic Analysis for Mixed Criticality Systems using Fixed Priority Preemptive Scheduling Dorin Maxim LORIA - University of Lorraine, Nancy, France dorin.maxim@loria.fr Liliana Cucu-Grosjean Inria,

More information

Bounding the Maximum Length of Non-Preemptive Regions Under Fixed Priority Scheduling

Bounding the Maximum Length of Non-Preemptive Regions Under Fixed Priority Scheduling Bounding the Maximum Length of Non-Preemptive Regions Under Fixed Priority Scheduling Gang Yao, Giorgio Buttazzo and Marko Bertogna Scuola Superiore Sant Anna, Pisa, Italy {g.yao, g.buttazzo, m.bertogna}@sssup.it

More information

FPCL and FPZL Schedulability Analysis

FPCL and FPZL Schedulability Analysis FP and FPZL Schedulability Analysis Robert I. Davis Real-Time Systems Research Group, Department of Computer Science, University of Yor, YO10 5DD, Yor (UK) rob.davis@cs.yor.ac.u Abstract This paper presents

More information

Worst-case response time analysis of real-time tasks under fixed-priority scheduling with deferred preemption revisited

Worst-case response time analysis of real-time tasks under fixed-priority scheduling with deferred preemption revisited Worst-case response time analysis of real-time tasks under fixed-priority scheduling with deferred preemption revisited Reinder J. Bril and Johan J. Lukkien Technische Universiteit Eindhoven (TU/e), en

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

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

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

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

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

Dependency Graph Approach for Multiprocessor Real-Time Synchronization. TU Dortmund, Germany

Dependency Graph Approach for Multiprocessor Real-Time Synchronization. TU Dortmund, Germany Dependency Graph Approach for Multiprocessor Real-Time Synchronization Jian-Jia Chen, Georg von der Bru ggen, Junjie Shi, and Niklas Ueter TU Dortmund, Germany 14,12,2018 at RTSS Jian-Jia Chen 1 / 21 Multiprocessor

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

Schedulability and Optimization Analysis for Non-Preemptive Static Priority Scheduling Based on Task Utilization and Blocking Factors

Schedulability and Optimization Analysis for Non-Preemptive Static Priority Scheduling Based on Task Utilization and Blocking Factors Schedulability and Optimization Analysis for Non-Preemptive Static Priority Scheduling Based on Task Utilization and Blocking Factors Georg von der Brüggen, Jian-Jia Chen, Wen-Hung Huang Department of

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

Preemption points placement for sporadic task sets

Preemption points placement for sporadic task sets Preemption points placement for sporadic task sets Marko Bertogna, Giorgio Buttazzo, Mauro Marinoni, Gang Yao, Francesco Esposito Scuola Superiore Sant Anna Pisa, Italy Email: {name.surname}@sssup.it Marco

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

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

Lecture: Workload Models (Advanced Topic)

Lecture: 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 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

Global mixed-criticality scheduling on multiprocessors

Global mixed-criticality scheduling on multiprocessors Global mixed-criticality scheduling on multiprocessors Haohan Li Sanjoy Baruah The University of North Carolina at Chapel Hill Abstract The scheduling of mixed-criticality implicit-deadline sporadic task

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

Partitioned scheduling of sporadic task systems: an ILP-based approach

Partitioned 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 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

Embedded Systems 23 BF - ES

Embedded Systems 23 BF - ES Embedded Systems 23-1 - Measurement vs. Analysis REVIEW Probability Best Case Execution Time Unsafe: Execution Time Measurement Worst Case Execution Time Upper bound Execution Time typically huge variations

More information

Probabilistic Analysis for Mixed Criticality Scheduling with SMC and AMC

Probabilistic Analysis for Mixed Criticality Scheduling with SMC and AMC Probabilistic Analysis for Mixed Criticality Scheduling with SMC and AMC Dorin Maxim 1, Robert I. Davis 1,2, Liliana Cucu-Grosjean 1, and Arvind Easwaran 3 1 INRIA, France 2 University of York, UK 3 Nanyang

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

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

Bounding the End-to-End Response Times of Tasks in a Distributed. Real-Time System Using the Direct Synchronization Protocol.

Bounding the End-to-End Response Times of Tasks in a Distributed. Real-Time System Using the Direct Synchronization Protocol. Bounding the End-to-End Response imes of asks in a Distributed Real-ime System Using the Direct Synchronization Protocol Jun Sun Jane Liu Abstract In a distributed real-time system, a task may consist

More information

Lightweight Real-Time Synchronization under P-EDF on Symmetric and Asymmetric Multiprocessors

Lightweight 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 information

A Note on Modeling Self-Suspending Time as Blocking Time in Real-Time Systems

A Note on Modeling Self-Suspending Time as Blocking Time in Real-Time Systems A Note on Modeling Self-Suspending Time as Blocking Time in Real-Time Systems Jian-Jia Chen 1, Wen-Hung Huang 1, and Geoffrey Nelissen 2 1 TU Dortmund University, Germany Email: jian-jia.chen@tu-dortmund.de,

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

Efficient TDM-based Arbitration for Mixed-Criticality Systems on Multi-Cores

Efficient TDM-based Arbitration for Mixed-Criticality Systems on Multi-Cores Efficient TDM-based Arbitration for Mixed-Criticality Systems on Multi-Cores Florian Brandner with Farouk Hebbache, 2 Mathieu Jan, 2 Laurent Pautet LTCI, Télécom ParisTech, Université Paris-Saclay 2 CEA

More information

An Improved Schedulability Test for Uniprocessor. Periodic Task Systems

An Improved Schedulability Test for Uniprocessor. Periodic Task Systems An Improved Schedulability Test for Uniprocessor Periodic Task Systems UmaMaheswari C. Devi Department of Computer Science, University of North Carolina, Chapel Hill, NC 27599-375 December 2002 Abstract

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

Controlling Preemption for Better Schedulability in Multi-Core Systems

Controlling Preemption for Better Schedulability in Multi-Core Systems 2012 IEEE 33rd Real-Time Systems Symposium Controlling Preemption for Better Schedulability in Multi-Core Systems Jinkyu Lee and Kang G. Shin Dept. of Electrical Engineering and Computer Science, The University

More information

Paper Presentation. Amo Guangmo Tong. University of Taxes at Dallas January 24, 2014

Paper Presentation. Amo Guangmo Tong. University of Taxes at Dallas January 24, 2014 Paper Presentation Amo Guangmo Tong University of Taxes at Dallas gxt140030@utdallas.edu January 24, 2014 Amo Guangmo Tong (UTD) January 24, 2014 1 / 30 Overview 1 Tardiness Bounds under Global EDF Scheduling

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

Predictability of Least Laxity First Scheduling Algorithm on Multiprocessor Real-Time Systems

Predictability of Least Laxity First Scheduling Algorithm on Multiprocessor Real-Time Systems Predictability of Least Laxity First Scheduling Algorithm on Multiprocessor Real-Time Systems Sangchul Han and Minkyu Park School of Computer Science and Engineering, Seoul National University, Seoul,

More information

Time and Schedulability Analysis of Stateflow Models

Time and Schedulability Analysis of Stateflow Models Time and Schedulability Analysis of Stateflow Models Marco Di Natale Scuola Superiore S. Anna Haibo Zeng Mc Gill University Outline Context: MBD of Embedded Systems Relationship with PBD An Introduction

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

Supplement of Improvement of Real-Time Multi-Core Schedulability with Forced Non- Preemption

Supplement of Improvement of Real-Time Multi-Core Schedulability with Forced Non- Preemption 12 Supplement of Improvement of Real-Time Multi-Core Schedulability with Forced Non- Preemption Jinkyu Lee, Department of Computer Science and Engineering, Sungkyunkwan University, South Korea. Kang G.

More information

Modeling and Analysis of Engine Control Tasks Under Dynamic Priority Scheduling

Modeling 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 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

Schedulability Analysis for the Abort-and-Restart Model

Schedulability Analysis for the Abort-and-Restart Model Schedulability Analysis for the Abort-and-Restart Model Hing Choi Wong Doctor of Philosophy University of York Computer Science December 2014 Abstract In real-time systems, a schedulable task-set guarantees

More information

Multiprocessor EDF and Deadline Monotonic Schedulability Analysis

Multiprocessor EDF and Deadline Monotonic Schedulability Analysis Multiprocessor EDF and Deadline Monotonic Schedulability Analysis Ted Baker Department of Computer Science Florida State University Tallahassee, FL 32306-4530 http://www.cs.fsu.edu/ baker Overview 1. question

More information

Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks

Bounding 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 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 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

The preemptive uniprocessor scheduling of mixed-criticality implicit-deadline sporadic task systems

The 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 information

Reducing Tardiness Under Global Scheduling by Splitting Jobs

Reducing Tardiness Under Global Scheduling by Splitting Jobs Reducing Tardiness Under Global Scheduling by Splitting Jobs Jeremy P. Erickson and James H. Anderson The University of North Carolina at Chapel Hill Abstract Under current analysis, tardiness bounds applicable

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

arxiv: v1 [cs.os] 25 May 2011

arxiv: v1 [cs.os] 25 May 2011 Scheduling of Hard Real-Time Multi-Thread Periodic Tasks arxiv:1105.5080v1 [cs.os] 25 May 2011 Irina Lupu Joël Goossens PARTS Research Center Université libre de Bruxelles (U.L.B.) CP 212, 50 av. F.D.

More information

Complexity of Uniprocessor Scheduling Analysis

Complexity 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 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

arxiv: v1 [cs.os] 6 Jun 2013

arxiv: 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 information

MIRROR: Symmetric Timing Analysis for Real-Time Tasks on Multicore Platforms with Shared Resources

MIRROR: Symmetric Timing Analysis for Real-Time Tasks on Multicore Platforms with Shared Resources MIRROR: Symmetric Timing Analysis for Real-Time Tasks on Multicore Platforms with Shared Resources Wen-Hung Huang, Jian-Jia Chen Department of Computer Science TU Dortmund University, Germany wen-hung.huang@tu-dortmund.de

More information

Reducing Tardiness Under Global Scheduling by Splitting Jobs

Reducing Tardiness Under Global Scheduling by Splitting Jobs Reducing Tardiness Under Global Scheduling by Splitting Jobs Jeremy P. Erickson and James H. Anderson The University of North Carolina at Chapel Hill Abstract Under current analysis, soft real-time tardiness

More information

An Improved Schedulability Test for Uniprocessor Periodic Task Systems

An Improved Schedulability Test for Uniprocessor Periodic Task Systems An Improved Schedulability Test for Uniprocessor Periodic Task Systems UmaMaheswari C. Devi Department of Computer Science, The University of North Carolina, Chapel Hill, NC Abstract We present a sufficient

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

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

Process 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 information

Improved Priority Assignment for the Abort-and-Restart (AR) Model

Improved Priority Assignment for the Abort-and-Restart (AR) Model Improved Priority Assignment for the Abort-and-Restart (AR) Model H.C. Wong and A. Burns Department of Computer Science, University of York, UK. February 1, 2013 Abstract This paper addresses the scheduling

More information

Contention-Free Executions for Real-Time Multiprocessor Scheduling

Contention-Free Executions for Real-Time Multiprocessor Scheduling Contention-Free Executions for Real-Time Multiprocessor Scheduling JINKYU LEE, University of Michigan ARVIND EASWARAN, Nanyang Technological University INSIK SHIN, KAIST A time slot is defined as contention-free

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

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

Lightweight Real-Time Synchronization under P-EDF on Symmetric and Asymmetric Multiprocessors

Lightweight 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 information