Probabilistic Schedulability Analysis for Fixed Priority Mixed Criticality Real-Time Systems

Size: px
Start display at page:

Download "Probabilistic Schedulability Analysis for Fixed Priority Mixed Criticality Real-Time Systems"

Transcription

1 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, France Abstract In this paper we present a probabilistic response time analysis for mixed criticality real-time systems running on a single processor according to a fixed priority pre-emptive scheduling policy. The analysis extends the existing state of the art probabilistic analysis to the case of mixed criticalities, taking into account both the level of assurance at which each task needs to be certified, as well as the possible criticalities at which the system may execute. The proposed analysis is formally presented as well as explained with the aid of an illustrative example. I. INTRODUCTION In this paper we propose a probabilistic analysis for Mixed Criticality Real-Time Systems (MCRTS. A MCRTS incorporates several functionalities of different criticalities on the same architecture. The highest criticality functionalities are usually related to safety critical applications and need to fulfill strict certification requirements. It is important to note that lower critical functionalities are still relevant for the good functioning of the system [1] and this is a key observation for our approach. We introduce a probabilistic mixed criticality model where every task is of a certain criticality and the worst-case execution time (WCET of a task is a discrete random variable. The set of possible execution times of every task are grouped into sets of WCETs of different criticalities depending on their probability of occurrence. Larger execution time values are less likely to occur, but if they do occur they may be indicative of an erroneous event and so the criticality of the system changed to a higher level. When the citicality of the system is high, the guarantees required from lesser criticality tasks may be decreased so that higher criticality tasks may fulfill their requirements. The main difference between our work and the state of the art is the fact that in our work tasks are not evicted from the system, but instead the timing constraints imposed on them are gradually decreased (with the increase of the systems criticality so that they still provide a minimal quality of service. The first work dealing with real-time scheduling for mixed criticality systems is that of Vestal [2]. The model presented in [2] is based on the conjecture that the higher is the degree of criticality at which a task is designed, the more conservative is its worst-case execution time (WCET. This means that tasks have several WCET estimates, one per level of criticality of the system, and a mixed criticalty system is correct if every task respects its timing guarantees when all the WCET values that can impact on the schedulability of that task do not exceed their WCET estimates at the level of criticality of that task. Since then, many papers dealing with the mixed criticality scheduling problem have been published. For more details on the mixed criticality scheduling problem a complete review can be found in [3]. Further-on we present related work from the Probabilistic Analysis domain and work that is at the intersection of mixed criticality and probabilistic analysis. Probabilistic timing analysis models task parameters as random variables (e.g. the task s WCET, Minimum Inter-arrival Time (MIT. For WCET analysis multiple paths have been explored, starting in 1995 when [4] introduced an analysis for tasks that have periodic releases but variable execution requirements. The algorithm called Probabilistic Time Demand Analysis (PTDA is based on a bound of the processor demand of higher priority tasks and hence it is highly pessimistic. The next step towards an exact probabilistic analysis was made by [5] with the introduction of the Stochastic Time Demand Analysis (STDA for tasks that have probabilistic execution times, computing a lower bound on the probability that jobs of each task will meet their respective deadlines. Later on, [6] refined STDA into an exact analysis for real-time systems that have random execution times, represented as general random variables. In this work we extend the probabilistic response time analysis of [6] to the case of MCRTS. Existing probabilistic analyses for real-time systems are not well suited for the analyses of MCRTSs, as they do not take into account the possible criticalities of the system and the fact that permitted failure proabilities might change when the criticality of the system changes. A first step towards a probabilistic analysis for MCRTSs is [7], where the authors consider a dual criticality model consisting of implicit-deadline sporadic independent tasks where a probability that no job exceeds its low criticality WCET estimate is assigned to every high criticality task. In this model a system is probabilistically schedulable in the strong sense if the probability of missing a deadline (for any task does not exceed a given threshold, while it is probabilistically schedulable in the weak sense if the set of high criticality tasks does not exceed their respective deadlines. A schdeulability analysis of an EDF-based (earliest deadline first algorithm is proposed. Using this analysis a system that is deemed unschedulable using classical mixed criticality analysis can be deemed schedulable in a probabilistic sense. In [8] the authors introduce the notion of probabilistic C-Space and give some intuitions concerning the way it can be used for the

2 probabilistic sensitivity analysis of a mixed criticality system. Our approach has some similarities with the analysis of [7] in the fact that it extends the probabilistic analysis to the case of mixed criticalities, however the analysis we propose is applicable for fixed priority pre-emptive systems (rather then EDF and for systems with more than two criticality levels. Another way in which our contribution differs from that of [7] is that in our model jobs are not dropped to increase the schedulability of other tasks, but all tasks need to be verified to be within certain thresholds of failure probabilities depending on their criticalities and the criticality of the system. Organization of the paper: We continue the paper with the description of the system model in Section II and the problem description in Section III. Then in Section IV we present the main contribution of our work, which is a theoretical response time analysis for mixed criticality real-time systems. To show how the analysis can be applied on a task-set we present an ilustrative example in Section V. Finally we conclude the paper in Section VI. II. MODEL AND TERMINOLOGY We model the mixed criticality real-time system to be analysed as a set of tasks Γ {τ 1,..., τ n } sorted in an increasing order of priority, from the lowest priority (τ 1 to the highest priority (τ n, scheduled according to a pre-emptive fixed priority policy on a single processor. In adition to the set of tasks the system is also characterized by a set of criticalities Ω {L 1,..., L m }. We consider Ω to be sorted from lowest criticality L 1 to highest criticality L m. To every criticality level a maximum-probability of failure threshold is attributed by a deciding entity (e.g. system designer, certification authority. We denote this threshold by p Li for criticality L i. Intuitively a higher criticality implies a more stringent probability threshold. Each task τ i is characterized by a tuple τ i (χ i,, T i, D i such that χ i Ω represents its criticality, C 1 i represents its probabilistic worst-case execution time (pwcet, T i represents its minimum inter arrival time and D i represents its relative deadline. The criticality of each task is defined by the system designer at design-time. The pwcet of a task τ i is given as a discrete random variable with a sample space S Ci and a probability mass function (pmf p Ci where p Ci (c is equal to P { c}, the probability that is equal to c. The probability mass function of is represented as: Ci,1..., SCi p Ci (1 P {,1 }... P {, SCi } We consider pwcet distributions to be known and their calculation is beyond the scope of this paper. The interested reader may refer to [9] and [10] for further reading on this topic. Two random variables X and Y are (probabilistically independent if they describe two events such that the outcome 1 Throughout the paper we use calligraphic typeface to denote random variables of one event does not have any impact on the outcome of the other. As stated in [9], since we consider probabilistic worst-case values (for WCETs, the random variables are (probabilistically independent. Let cdf(c P { c} be the cumulative distribution function of the pwcet random variable. A WCET outcome,k of the pwcet is of criticality L j if and only if the probability that the pwcet exceeds,k (P { >,k } 1 cdf(,k does not exceed the probability failure threshold p Lj. The subset of WCETs of criticality L j of task τ i is denoted by S Lj and is given by the following Equations: if S Lj {,k S Ci /p Lj+1 < 1 cdf(,k p Lj } (2 1 j < m and S Lm {,k S Ci /1 cdf(,k p Lm }. (3 Intuitively, Equations 2 and 3 describe the fact that the pwcet distribution of a task can be split into m pieces (i.e. partial distributions, one piece for each criticality level. One or several such partial distributions may be void. The boundary of each piece is given by the minimal and maximal WCET values that the task can exhibit in a certain criticality level of the system, i.e. larger values would push the system into a higher criticality mode. The representative WCET of a task τ i in criticality level L j, noted (L j, is the largest WCET outcome of criticality less than or equal to L j. The representative WCET (L j is equal to zero if all the WCET outcomes of task τ i are of higher criticality than L j. We define the criticality mode of the system 2 as the smallest criticality such that no task τ i executes for more than its representative WCET estimate at this level of criticality. We note by: Ci,1... C i (L h (4 p Ci (,1... p Ci ( (L h to be the partial mass function of p Ci restricted to WCET outcomes of criticality less than or equal to the criticality L h. If the set of WCET oucomes of critiality less than or equal to L h is empty, then (r 0, r N. Each task τ i generates an infinite number of jobs noted τ i,k. All jobs are assumed to be independent of other jobs of the same task and those of other tasks. The execution time of a job τ i,k is denoted by c i,k.we use hp(i to be the indexes of tasks of higher or equal priority than τ i. The response time analysis for probabilistic real-time systems makes use of the convolution operator, which is a way of summing up two independent random variables and it is formally defined as follows: Definition 1. The probability mass function p Z of the sum Z of two (probabilistically independent random variables X and Y is the convolution p X p Y where P {Z z} P {X k}p {Y z k}. k+ k 2 In the rest of the paper, criticality level denoted by L {L 1,..., L m} is used for tasks criticality, and criticality mode is used for system criticality

3 A probabilistic analysis for (non-mixed criticality real-time tasks where the WCET is a discrete random variable has been proposed in [6]. In this analysis, the worst-case response time probability mass function p Ri of task τ i is computed using the following equation (for more details please refer to [6]: p Ri B i p Ci I i (5 ( where B i j hp(i p C j is the accumulated execution time requirements of all higher priority tasks that are instantiated at the same time as the task under analysis and I i is the iterative convolution of jobs that may preempt the task under analysis. Note that Equation 5 is computed as if jobs would still continue to execute past their deadlines since this is an upper-bound over the case when jobs are stopped at their deadline. The exact analysis for the case when jobs are dropped at deadline is still an open problem, but the no-drop analysis is a tight over-approximation for the drop analysis and its tightness is related to the probabilities of missing deadlines as this is the difference between the two analyses. III. PROBLEM DESCRIPTION In this paper we are interested in the pre-emptive fixed priority scheduling problem of probabilistic mixed criticality real-time systems running on a single processor. Under this mixed criticality probabilistic model introduced in Section II a schedule is considered feasible if and only if: when the criticality mode of the system is not larger than the criticality of a task, each task respects the probability of failure threshold specified for its criticality level. The idea is that all the tasks are certified at their own criticality level, but the lowest criticality tasks should not disturb the highest criticality ones when the criticality mode of the system increases. That is, when the criticality of the system increases, lower criticality tasks are no longer constrained to respect a stringent probability failure threshold, but instead the threshold is replaced with a more relaxed one so to ensure minimal quality of service while not hindering the timely execution of higher criticality tasks. We consider that a task exhibits a failure if one of its jobs misses it deadline, consequently, the probability failure of a task is equal to its probability of deadline miss. In this work we consider that: (1 if a job exceeds the maximum WCET estimate corresponding to its criticality level it is not stopped and (2 a job is evacuated from the system if and only if it misses its deadline. The problem addressed in this paper is the computation of tasks deadline miss probabilities (DMP in order to verify that failure thresholds are respected and the system can be declared schedulable. To this extend we propose an analysis to compute response time distributions for tasks. Out of these response time distributions we can then extract deadline miss probabilities. IV. PMC SCHEDULABILITY ANALYSIS A. Response Time Analysis In this section we introduce our probabilistic analysis for MCRTS, which we will denote by PMC (Probabilistic Mixed Criticality in the rest of the paper. The Probabilistic Mixed Criticality (PMC response time analysis computes the partial probability mass functions of the worst-case response time of task τ i when the criticality mode of the system is L h. Given p Ri, the probability mass function of, one can decompose the worst-case response time probability mass function into partial functions as follows, where p Ri ( p L1... p Lm r... (r... is a partial function of p Ri with (r is the probability that the worst-case response time of τ i is equal to r when, 1 none of the jobs that are active in the interval [0, r[ executes more than (L h, i.e. their respective representative WCET in the criticality mode L h and, 2 if h > 1, there exists at least an active job in the interval [0, r[ that executes more than (L h 1, i.e. its representative WCET at the criticality mode L h 1. More formally, (r P { r and τ j,k [0, r[, c j,k C j (L h and if h > 1, τ j,k [0, r[ s.t. c j,k > C j (L h 1 }. Note that, P { r and L L h } with L the criticality mode of the system L p h L h L r S L h (r 1 where S L h is the subset of outcomes of in the case where the criticality mode of the system is L h. We emphasize that this partitioning of the response time distribution of task τ i according to the different criticality modes is not a simple slicing of the response time distribution into m parts, but there can exist overlapping among these parts and each part is computed by the analysis. The coalescing of all the parts forms the complete response time distribution of the task regardless of the criticality mode of the system. The coalesced distribution is also the result returned by the analysis of [6] which does not take into account the different criticalities of tasks nor of the system. The computation of the partial response-times probability mass functions of a task τ i is formalised in Algorithm 1. In step 1 the algorithm computes for every criticality L h the partial response time probability mass function when the criticaliy mode is less than or equal to L h, for each L h. Then in step 2 the partial response time probability mass functions for each criticality mode are computed. Steps 1 and 2 are detailed below. Step 1: Compute the partial probability mass function using Equation 6 below: j hp(i C j I L h i (6

4 Algorithm 1 Computes for task τ i the distributions, L h Ω Require: τ i, hp(i, {τ j, j hp(i}, Ω Ensure:, L h Ω h Ω while h 0 do Compute using equation 6 (see step 1 h h 1 end while p L1 p L1 h m while h 1 do Compute using equation 7 (see step 2 h h 1 end while Equation 6 is similar to Equation 5 where partial probability mass functions are used rather than the complete probability mass functions. Step 2: Compute the partial probability mass function. In this step we compute the partial probability mass function of p Ri when the criticality mode is equal to L h using equation 7: { p L p L1 h R i if h 1 p L (7 h 1 if h > 1 where f g(x f(x g(x x N. Note that the operator is well defined in this case, as the (partialdistribution 1 to be subtracted is a subset of the (partialdistribution, i.e. the sample space of 1 is included in the sample space of as a result of the partial distributions used in Step 1. Below is an example of how this operators works: Proposition 1. The probability that the worst-case response time of task τ i is equal to r and the criticality mode of the system is equal to L h is equal to p if and only if (r p where (r is computed using Equation 7. Proof. By definition, (r is the probability that the response time of task τ i is equal to r and the criticality of the system is less than or equal to L h. This probability is equal to the sum of the probabilities that the response time is equal to r computed in every criticality mode of the system less than or equal to L h, thus (r P { r and L L j } and similarly, j1...h 1 (r j1...h 1 The partial distribution 1 P { r and L L j } (r is a subset of (r. Using Equation 7, we have (r (r (r P { r and L L j } P { 1 j1...h r and L L j } and thus, (r P { r and L L h } j1...h 1 that is equal to the probability that the worst-case response time of task τ i is equal to r and the criticality mode of the system is equal to L h. B. PMC Sufficient Schedulability Test Along with the PMC response-time analysis presented in the previous section we also propose a sufficient schedulability test which we present in this section. In the PMC feasibility test, for each criticality L h, the deadline miss probability of a task τ i needs to be less than or equal to the tasks allowed failure probability threshold in criticality mode L h of the system. Definition 2. (Task Deadline Miss Probability Per Criticality Mode. The deadline miss probability of a task τ i in mode L, noted DMPi L, is the probability that task τ i misses its deadline when the system is in criticality mode L. This probability is equal to: DMP L i P {R L i > D i } (8 where R L i, as computed using Equation 7, is the random variable restricted to outcomes in the case of a criticality mode of the system equal to L. The tasks deadline miss probability constraint to a certain criticlity mode L h can be extracted from the partial response time mass functions of the task in the respective mode, using Equation 9 below. DMP L h i (r (9 r>d i p Lh A sufficient feasibility test for PMC can be derived using Equation 9. If in each criticality mode L the deadline miss probability of a task τ i is less than or equal to the probability threshold imposed to the task in mode L, then the task is considered schedulable. When the criticality mode of the system is greater than the criticality level of the task, the deadline miss probability threshold imposed on the task can be increased to 1 and in this case the task is allowed to miss all of its deadlines. Alternatively, the threshold can be increased to an intermediate value smaller than 1, signifying that even though the task is less critical than the current mode of the system, it should still provide a certain quality of service, i.e. the probability of missing deadlines may be larger, but the task is not completely evicted from the system. The thresholds can be given by a standard or by a certification authority, or, alternatively, they can be decided upon by the system designer. An example of such schedulability thresholds is presented in Table III which also presents the degradation of tasks failure thresholds as the criticality of the system increases. For example, a task of criticality 1 is allowed to have a DMP of 0.1 in system

5 Figure 1. Response time partial distributions of task τ 5 in different criticality modes of the system. criticality mode L 1, a DMP of 0.5 in mode L 2 and a DMP of 1 in mode L 3, i.e. in L 3 a task of criticality L 1 is not required to provide any service. A note on complexity: it is well known that probabilistic analyses are computationally intensive [11] and the analysis we propose in this paper makes no exception. Nevertheless there are efficient solutions in the literature to go around this problem, such as re-sampling [11]. We do not go into details about complexity and ways of reducing it, as we rather use simple task-sets to exemplify our technique and provide a proof of concept. V. ILLUSTRATIVE EXAMPLE In order to provide an intuition of how the proposed analysis works we apply it on a simple tasks-set and show the results obtained. The task-set presented in Table I is composed of five tasks grouped in three levels of criticality L 1, L 2 and L 3. The pwcet distribution of each task has 6 values. The probability thresholds for each criticality level are p L1 0.1, p L and p L and they further degrade as shown in Table III. These threshold together with Equation 2 and Equation 3 are used to split the pwcet distribution of each task into the (various sized partial distributions that are depicted in Table II. For this example we will be analyzing only task τ 5 as the analysis procedure is the same for all the other tasks. The system is scheduled according to deadline monotonic fixed priority preemptive scheduling policy, hence task τ 5 is the lowest priority in the set. Also, task τ 5 is considered to be of criticality L 2, an intermediate criticality in the system. From Table III we see that the schedulability constraints imposed to a task of criticality L 2 are as follows: if the system is in mode L 1 or L 2, which are normal modes from the point of view of a task of criticality L 2, i.e. neither it, nor any other task exceeded their largest WCET estimated for criticality L 2, then the task needs to function within a maximum allowed deadline miss probability of On the other hand if the system switches to criticality mode L 3 - which is an error mode from the point of view of a task of criticality L 2 meaning that one of the tasks in the system exceeded their largest WCET estimated for mode L 2 - its threshold is modified to 0.1. Intuitively, a lower criticality task would have larger allowed DMPs (i.e. thresholds making it possible for the task to be placed at a lower priority level, and, consequently, more critical tasks may have higher priorities. The response time partial distributions of task τ 5 computed using our analysis are presented in Figure 1. We note that all curves were truncated at the value 50 as otherwise the plot would be too large and difficult to read and we mention only that maximal response time values of the task, in any mode, are infinitely large. That is, according to any deterministic analysis, task τ 5 would never finish its execution in the worst case, meaning that the system would be deemed unschedulable (even for the lowest criticality mode. It is easy to see why this is the case, as the (deterministic utilisations of the system are too large for it to be schedulable. For example the maximal utilisation, computed using the largest values of each (complete pwcet distribution, is equal to Even the minimal utilisation of the system, computed using the smallest values of each pwcet distribution, is equal to 0.56, close to the schedulability limit of a fixed priority preemptive system. We emphasize that the curves in Figure 1 are probability mass functions (PMFs and not exceedence curves (i.e. 1- CDFs, and they show the probability that a specific response time value (read on the X-axis is observed during the execution of task τ 5. These curves are decreasing exponentially (note the logarithmic Y-axis as a result of the fact that the pwcets of the example task-set are decreasing and so the larger response time values have exceedingly smaller probabilities of appearing. The decreasing pwcet distributions are characteristic of tasks of real systems, which are presumed to follow Gumbel distribution [12]. The deadline miss probability of task τ 5 in each criticality mode of the system are computed by adding together the probability mass of all values (from the respective curve that are larger than the deadline. In this example task τ 5 has a deadline of 28. The probability that this deadline is missed is equal to ( 0.01 in criticality mode L 1 of the system, to ( 0.01 in mode L 2 and ( 0.1 in mode L 3. The reason that τ 5 has a smaller DMP in mode L 3 than in modes L 2 and L 1, even though it is allowed to have a larger DMP, is once more because the pwcet distributions are decreasing, making it highly unlikely for large response times to even be present in the system. If, on the contrary, we would have chosen increasing pwcets for our example, then the curve representing mode L 3 would have been above the other two curves and also the tasks DMP in mode L 3 would be much larger than in the other modes. If we coalesce these three partial distributions we would obtain the complete response time distribution of the task independent of the functioning mode of the system. This would be the same distribution that the analysis of [6] would return.

6 ID ( pwcet T D χ τ L τ L τ L τ L τ L Table I EXAMPLE OF A TASK-SET WITH PROBABILISTIC WORST CASE EXECUTION TIMES DISTRIBUTIONS. ID ( pwcet(l1 ( pwcet(l2 ( pwcet(l τ ( τ τ ( τ ( ( τ Table II THE SPLITTING OF PWCETS INTO PARTIAL DISTRIBUTIONS ACCORDING TO THE CRITICALITY THRESHOLDS. Criticality of the task System s Criticality L 1 L 2 L 3 L L L Table III PERMITTED DEADLINE MISS PROBABILITY THRESHOLDS FOR THE TASK-SET IN TABLE I According to this analysis, the DMP of the task (irrespective of the systems criticality would be which is larger than the threshold of 0.01 that is imposed on the task, hence the task would be deemed unschedulable at this priority level. VI. CONCLUSION In this paper we proposed mixed criticality real-time system model and a probabilistic schedulability analysis for MCRTSs running on a single processor according to a fixed priority preemptive scheduling policy. The analysis extends the existing state of the art probabilistic analysis to the case of mixed criticalities, taking into account both the level of assurance at which each task needs to be certified, as well as the possible criticalities at which the system may execute.the proposed analysis is formally presented as well as explained with the aid of an illustrative example. As future work we plan to provide a formal proof of correctness. Intuitively the analysis is safe as it is a direct extension of an existing state of the art analysis which we further refine to decompose its results according to various functioning modes of the system. ACKNOWLEDGEMENTS This work was partially supported by the EU funded FP7 Integrated Project PROXIMA (611085, the FR BGLE funded Departs project (O , the FR LEOC Capacites project, and the FR FUI Waruna project. The authors would like to thank Dagstuhl Seminar from which this work has emerged. REFERENCES [1] A. Burn, Mixed criticality - a personal view, S. K. Baruah, L. Cucu- Grosjean, R. I. Davis, and C. Maiza, Eds., vol. 5, no. 3. Schloss Dagstuhl Leibniz-Zentrum fuer Informatik, [2] S. Vestal, Preemptive scheduling of multi-criticality systems with varying degrees of execution time assurance, in the 28th IEEE Real- Time Systems Symposium RTSS 2007, [3] A. Burns and R. I. Davis, Mixed criticality systems - a review [online]. [4] T. Tia, Z. Deng, M. Shankar, M. Storch, J. Sun, L. Wu, and J. Liu, Probabilistic performance guarantee for real-time tasks with varying computation times, in IEEE Real-Time and Embedded Technology and Applications Symposium ETFA 1995, [5] M. Gardner and J. Lui, Analyzing stochastic fixed-priority real-time systems, in the 5th International Conference on Tools and Algorithms for the Construction and Analysis of Systems TACAS 1999, [6] J. Diaz, D. Garcia, K. Kim, C.-G. Lee, L. Lo Bello, J. Lopez, S. L. Min, and O. Mirabella, Stochastic analysis of periodic real-time systems, in the 23rd IEEE Real-Time Systems Symposium RTSS 2002, [7] Z. Guo, L. Santinelli, and K. Yang, EDF schedulability analysis on mixed-criticality systems with permitted failure probability, in the 21st IEEE International Conference on Embedded and Real-Time Computing Systems and Applications RTCSA 2015, [8] L. Santinelli and L. George, Probabilities and mixed-criticalities: the probabilistic c-space, in the 3rd Workshop on Mixed Criticality Systems WMC 2015, [9] L. Cucu-Grosjean, Independence - a misunderstood property of and for (probabilistic real-time systems, in "Real-Time Systems: the past, the present, and the future" conference organized in celebration of Professor Alan Burns sixtieth birthday, March 14th, [10] L. Cucu-Grosjean, L. Santinelli, M. Houston, C. Lo, T. Vardanega, L. Kosmidis, J. Abella, E. Mezzetti, E. QuiÃśones, and F. J. Cazorla, Measurement-based probabilistic timing analysis for multi-path programs, in the 24th Euromicro Conference on Real-Time Systems. [11] D. Maxim and al., Re-sampling for statistical timing analysis of realtime systems, in Proceedings of the 20th International Conference on Real-Time and Network Systems, [12] A. G. Gogonel and L. Cucu-Grosjean, How do we prove that probabilistic worst case response time is a Gumbel? the 6th Real-Time Scheduling Open Problems Seminar, 2015.

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

Response Time Analysis for Fixed-Priority Tasks with Multiple Probabilistic Parameters

Response Time Analysis for Fixed-Priority Tasks with Multiple Probabilistic Parameters Response Time Analysis for Fixed-Priority Tasks with Multiple Probabilistic Parameters Dorin Maxim 1,2,3, Liliana Cucu-Grosjean 1,2,3 1 Universite de Lorraine, LORIA, UMR 7503, F-54506, France 2 CNRS,

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

Re-Sampling for Statistical Timing Analysis of Real-Time Systems

Re-Sampling for Statistical Timing Analysis of Real-Time Systems Re-Sampling for Statistical Timing Analysis of Real-Time Systems Dorin Maxim, Michael Houston, Luca Santinelli, Guillem Bernat, Robert Davis, Liliana Cucu To cite this version: Dorin Maxim, Michael Houston,

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

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

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

Multi-Core Fixed-Priority Scheduling of Real-Time Tasks with Statistical Deadline Guarantee

Multi-Core Fixed-Priority Scheduling of Real-Time Tasks with Statistical Deadline Guarantee Multi-Core Fixed-Priority Scheduling of Real-Time Tasks with Statistical Deadline Guarantee Tianyi Wang 1, Linwei Niu 2, Shaolei Ren 1, and Gang Quan 1 1 Department of Electrical&Computer Engineering,

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

Some ideas and open problems in real-time stochastic scheduling. Liliana CUCU, TRIO team, Nancy, France

Some ideas and open problems in real-time stochastic scheduling. Liliana CUCU, TRIO team, Nancy, France Some ideas and open problems in real-time stochastic scheduling Liliana CUCU, TRIO team, Nancy, France Real-time systems Reactive systems Correct reaction Temporal constraints Gotha-- Liliana CUCU - 04/04/2008

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

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

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

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

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

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

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

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

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

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

Scheduling mixed-criticality systems to guarantee some service under all non-erroneous behaviors

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

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

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

More information

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

Multiprocessor Real-Time Scheduling Considering Concurrency and Urgency

Multiprocessor Real-Time Scheduling Considering Concurrency and Urgency Multiprocessor Real-Time Scheduling Considering Concurrency Urgency Jinkyu Lee, Arvind Easwaran, Insik Shin Insup Lee Dept. of Computer Science, KAIST, South Korea IPP-HURRAY! Research Group, Polytechnic

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

Mixed Criticality in Safety-Critical Systems. LS 12, TU Dortmund

Mixed Criticality in Safety-Critical Systems. LS 12, TU Dortmund Mixed Criticality in Safety-Critical Systems Prof. Dr. Jian-Jia Chen LS 12, TU Dortmund 18, July, 2016 Prof. Dr. Jian-Jia Chen (LS 12, TU Dortmund) 1 / 25 Motivation today s embedded systems use complex

More information

Integrating Cache Related Preemption Delay Analysis into EDF Scheduling

Integrating Cache Related Preemption Delay Analysis into EDF Scheduling 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,

More information

Schedule Table Generation for Time-Triggered Mixed Criticality Systems

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

Embedded Systems Development

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

More information

AS computer hardware technology advances, both

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

More information

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

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

Scheduling Stochastically-Executing Soft Real-Time Tasks: A Multiprocessor Approach Without Worst-Case Execution Times

Scheduling Stochastically-Executing Soft Real-Time Tasks: A Multiprocessor Approach Without Worst-Case Execution Times Scheduling Stochastically-Executing Soft Real-Time Tasks: A Multiprocessor Approach Without Worst-Case Execution Times Alex F. Mills Department of Statistics and Operations Research University of North

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

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

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

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

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

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

Probabilistic Deadline Miss Analysis of Real-Time Systems Using Regenerative Transient Analysis

Probabilistic Deadline Miss Analysis of Real-Time Systems Using Regenerative Transient Analysis Probabilistic Deadline Miss Analysis of Real-Time Systems Using Regenerative Transient Analysis L. Carnevali 1, A. Melani 2, L. Santinelli 3, G. Lipari 4 1 Department of Information Engineering, University

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

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

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

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

More information

The Partitioned Dynamic-priority Scheduling of Sporadic Task Systems

The Partitioned Dynamic-priority Scheduling of Sporadic Task Systems The Partitioned Dynamic-priority Scheduling of Sporadic Task Systems Abstract A polynomial-time algorithm is presented for partitioning a collection of sporadic tasks among the processors of an identical

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

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

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

Static priority scheduling

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

More information

Networked Embedded Systems WS 2016/17

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

More information

Multi-core Real-Time Scheduling for Generalized Parallel Task Models

Multi-core Real-Time Scheduling for Generalized Parallel Task Models Washington University in St. Louis Washington University Open Scholarship All Computer Science and Engineering Research Computer Science and Engineering Report Number: WUCSE-011-45 011 Multi-core Real-Time

More information

Scheduling periodic Tasks on Multiple Periodic Resources

Scheduling periodic Tasks on Multiple Periodic Resources Scheduling periodic Tasks on Multiple Periodic Resources Xiayu Hua, Zheng Li, Hao Wu, Shangping Ren* Department of Computer Science Illinois Institute of Technology Chicago, IL 60616, USA {xhua, zli80,

More information

Semi-Partitioned Fixed-Priority Scheduling on Multiprocessors

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

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

Laxity dynamics and LLF schedulability analysis on multiprocessor platforms

Laxity dynamics and LLF schedulability analysis on multiprocessor platforms DOI 10.1007/s11241-012-9157-x Laxity dynamics and LLF schedulability analysis on multiprocessor platforms Jinkyu Lee Arvind Easwaran Insik Shin Springer Science+Business Media, LLC 2012 Abstract LLF Least

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

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

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

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

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

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

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

Multi-core Real-Time Scheduling for Generalized Parallel Task Models

Multi-core Real-Time Scheduling for Generalized Parallel Task Models Noname manuscript No. (will be inserted by the editor) Multi-core Real-Time Scheduling for Generalized Parallel Task Models Abusayeed Saifullah Jing Li Kunal Agrawal Chenyang Lu Christopher Gill Received:

More information

CEC 450 Real-Time Systems

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

More information

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

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

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

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

More information

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

Schedulability of Periodic and Sporadic Task Sets on Uniprocessor Systems

Schedulability of Periodic and Sporadic Task Sets on Uniprocessor Systems Schedulability of Periodic and Sporadic Task Sets on Uniprocessor Systems Jan Reineke Saarland University July 4, 2013 With thanks to Jian-Jia Chen! Jan Reineke July 4, 2013 1 / 58 Task Models and Scheduling

More information

Real-Time Systems. Event-Driven Scheduling

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

More information

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

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

More information

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

Real-Time Workload Models with Efficient Analysis

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 information

Resource-locking durations in EDF-scheduled systems

Resource-locking durations in EDF-scheduled systems Resource-locking durations in EDF-scheduled systems Nathan Fisher Marko Bertogna Sanjoy Baruah Abstract The duration of time for which each application locks each shared resource is critically important

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

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 S. Baruah V. Bonifaci G. D Angelo H. Li A. Marchetti-Spaccamela S. van der Ster L. Stougie 1 Abstract

More information

Mixed-criticality scheduling upon varying-speed multiprocessors

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

arxiv: v1 [cs.os] 21 May 2008

arxiv: v1 [cs.os] 21 May 2008 Integrating job parallelism in real-time scheduling theory Sébastien Collette Liliana Cucu Joël Goossens arxiv:0805.3237v1 [cs.os] 21 May 2008 Abstract We investigate the global scheduling of sporadic,

More information

Schedulability Analysis and Priority Assignment for Global Job-Level Fixed-Priority Multiprocessor Scheduling

Schedulability Analysis and Priority Assignment for Global Job-Level Fixed-Priority Multiprocessor Scheduling 2012 IEEE 18th Real Time and Embedded Technology and Applications Symposium Schedulability Analysis and Priority Assignment for Global Job-Level Fixed-Priority Multiprocessor Scheduling Hyoungbu Back,

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

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

Probabilistic Real Time Guarantees: There is life beyond the i.i.d. assumption

Probabilistic Real Time Guarantees: There is life beyond the i.i.d. assumption Probabilistic Real Time Guarantees: There is life beyond the i.i.d. assumption Bernardo Villalba Frías, Luigi Palopoli, Luca Abeni, Daniele Fontanelli University of Trento Trento, Italy {br.villalbafrias,

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

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

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

arxiv: v1 [cs.os] 28 Feb 2018

arxiv: v1 [cs.os] 28 Feb 2018 Push Forward: Global Fixed-Priority Scheduling of Arbitrary-Deadline Sporadic Tas Systems Jian-Jia Chen 1, Georg von der Brüggen 2, and Nilas Ueter 3 1 TU Dortmund University, Germany jian-jian.chen@tu-dortmund.de

More information

Criticality-Aware Partitioning for Multicore Mixed-Criticality Systems

Criticality-Aware Partitioning for Multicore Mixed-Criticality Systems Criticality-Aware Partitioning for Multicore Mixed-Criticality Systems Jian-Jun Han, Xin Tao, Dakai Zhu and Hakan Aydin School of Computer Science and Technology, Huazhong University of Science and Technology,

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

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

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

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

Scheduling of Frame-based Embedded Systems with Rechargeable Batteries

Scheduling of Frame-based Embedded Systems with Rechargeable Batteries Scheduling of Frame-based Embedded Systems with Rechargeable Batteries André Allavena Computer Science Department Cornell University Ithaca, NY 14853 andre@cs.cornell.edu Daniel Mossé Department of Computer

More information

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

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

More information

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

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

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

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

More information

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

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