Multiprocessor Scheduling of Age Constraint Processes

Size: px
Start display at page:

Download "Multiprocessor Scheduling of Age Constraint Processes"

Transcription

1 Multiprocessor Scheduling of Age Constraint Processes Lars Lundberg Department of Computer Science, University of Karlskrona/Ronneby, Soft Center, S Ronneby, Sweden, Abstract Real-time systems often consist of a number of independent processes which operate under an age constraint. In such systems, the maximum time from the start of process L i in cycle k to the end in cycle k+1 must not exceed the age constraint A i for that process. Multiprocessors provide a scalable and cost-effective way of meeting the performance demands of such systems. The age constraint can be met using fixed priority scheduling and periods equal to A i /2. However, this approach restricts the number of process sets which are schedulable. In this paper, we define a method for obtaining process periods other than A i /2. The periods are calculated in such a way that the age constraints are met. Our approach is better in the sense that a larger number of process sets can be scheduled compared to using periods equal to A i /2. 1 Introduction Real-time systems often consist of a number of independent periodic processes. These processes may monitor sensors or database variables. When these variables or sensors change, the system have to produce certain outputs within certain time intervals. These outputs must be calculated from input values which are fresh, i.e. the age of the input value must not exceed certain limits. The processes in such systems operate under the age constraint. Multiprocessing is a cost-effective and scalable way of meeting the performance demands of such systems. The age constraint defines a limit on the maximum time from the point in time when a new input value appears to the point in time when the appropriate output is produced. Figure 1 shows a scenario where a value E i appears shortly after process L i has started its k:th cycle (denoted L k i). Process L i starts its execution by reading the sensor or variable. Consequently, E i will not affect the output in cycle k. The output F i corresponding to value E i (or fresher) is produced at the end of cycle k+1. The age constraint A i is defined as the maximum time from the beginning of the process' execution in cycle k to the end of the process' execution in cycle k+1. A scheduling scheme can be either static or dynamic. In dynamic schemes the priority of a process may vary at run-time, e.g. the earliest deadline algorithm [3]. In static schemes, processes are assigned a fixed priority, e.g. the rate-monotone algorithm [5]. Fixed priority scheduling is relatively easy to implement and requires less overhead than dynamic schemes. Most studies in this area have looked at scenarios where the period of a process is known. However, for age constraint processes the period is not known. We have instead defined a maximum time between the beginning of the process' execution in cycle k to the end of the process' execution in cycle k+1. We would like to translate this restriction into a period for the process thus making it possible to use fixed priority schemes. The age constraint is met by specifying a process period T i ' = A i /2 (we will use the notation T i for other purposes), thus obtaining a set of processes with known periods T i ' and computation times C i. For such scenarios, it is well known that rate-monotone scheduling is optimal, and a number of schedulability tests have been obtained [5]. Specifying a process period T i ' = A i /2 for age constraint processes is, however, an unnecessary strong restriction, which do not allow that the start of L i in cycle k and the end in cycle k+2 may be separated by a time greater than 3T i ', whereas the age constraint allows a separation of up to 2A i - C i = 4T i ' - C i. We have previously defined periods which make it possible to schedule a larger number of process sets than using T i ' = A i /2 [6]. The previous result did, however, only consider single-processors. In this paper we also consider multiprocessors.

2 C i A i T i T i L k i L k + 1 i E i changes time F i is produced Figure 1: The age constraint for process L i. The rest of this paper is structured in the following way. Section 2 contains the definition of the scheduling problem. Section 3 describes the technique for calculating the process periods. In section 4 we investigate an improved version of our scheduling scheme. Section 5 contains the discussion and conclusions. At the end there is an appendix. 2 Problem definition Consider a set of n processes L = [L 1,L 2,...,L n ], with associated age constraints A i and computation times C i. The priority of each process is defined by its age constraint A i. The smaller the value A i, the higher the priority of L i, i.e. the priority order is the same as for rate-monotone scheduling with T i = A i /2. We order the processes in such a way that A i A i+1. Consider also a multiprocessor with m identical processors. The processes may be executed by any processor. The multiprocessor uses preemptive scheduling, and a process which has been preempted may later resume execution on another processor than the one it was executing on before it was preempted. When a process L i has completed its k:th cycle L i becomes sleeping until it is released at the start of cycle k+1. L i becomes active when it is released. As long as L i has not completed its execution in cycle k+1, and there are less than m active processes with higher priority, L i will be executed by one of the processors. However, during the time periods when there are at least m active proc- L 1 1 L 1 3 L 3 1 L 1 12 L 2 1 L 2 2 Process L 1 and L 2 are never interrupted by any other process when using a multiprocessor with two processors, i.e. R 1 = C 1 = 2 and R 2 = C 2 = 2.5. From this graph we see that R 3 = 5. In this graph we release L 2 at time All other processes are released at time zero. This results in a response time for L 4 of which is the worst-case scenario. Consequently, R 4 = 6.75 (see appendix A) Time Figure 2: Calculating the maximum response times for a set with four processes L 1, L 2, L 3, and L 4 (T 1 = 4, C 1 = 2, T 2 = 9, C 2 = 2.5, T 3 = 15, C 3 = 3, T 4 = 20, and C 4 = 3) when using a multiprocessor with two processors. The upper graph shows how R 3 can be calculated when T 1, C 1, T 2, C 2, and C 3 are known. The lower graph shows how R 4 can be calculated when T 1, C 1, T 2, C 2, T 3, C 3 and C 4 are known. This example shows that it is possible to calculate R i if the periods and computation times of all processes with higher priority than L i are known. However, since the problem of finding minimal response times is NP-hard we will use a pessimistic estimate which gives R 4 = 7.75 (see appendix A).

3 esses with higher priority than L i, the process has to wait. When L i has completed cycle k+1 it becomes sleeping until it is released at the start of cycle k+2, and so on. The maximum response time R i of L i is the maximum time from the release of L i in a cycle to the time that L i completes in that cycle. If the execution of L i is never interrupted by any other process, R i is equal to C i. However, for low priority processes the execution may be interrupted by processes with higher priority. Using the standard problem formulation, where processes are defined by their periods T i ' and computation times C i, a set of n processes is schedulable if R i T i '(1 i n) [3]. Previous results show that a set of age constraint processes is schedulable if R i A i /2 (1 i n) [5]. + i 1 It is well known that R i = C i R i T j C j [3] for single-processors, i.e. R i depends on the periods of the processes with higher priority than L i. For multiprocessors the situation becomes more complicated. However, R i still depends on the periods of the processes with higher priority than L i. At first glance, one might think that the maximum response time is obtained when all processes are released at the same time. This is, however, not always the case for multiprocessors (see appendix A). The procedure for obtaining R i is presented in appendix A. As discussed in appendix A, it is NP-hard [4] to obtain R i for i > m+1. Therefore, a pessimistic estimate on R i is used. This estimate is obtained from the formula i 1 R i = C i + ( R i T j C j ) m (see appendix A). We want to obtain process periods T i, which make it possible to schedule a larger number of process sets than using the periods T i ' = A i /2. Before we look at how these periods are calculated we consider the following lemma: Lemma: Consider a set of n processes with periods T i and computation times C i. If we extend a period for process i, then the maximum response time for process j does not increase (1 i j n) when using a multiprocessor with m processors. Proof: We obtain R i from the formula R i = C i + i 1 ( R i T j C j ) m (see appendix A). Obviously, the R i that solves this equation does not increase when T i increases. 3 Calculating process periods In order to calculate the periods T = [T 1,T 2,...,T n ] we start by considering L 1,...,L m. These processes have the highest priorities, and will not be interrupted by any other process, using m processors. According to the Lemma above, we want to select as long periods as possible, thus minimizing the response time for processes with lower priorities. Obviously, T i must not exceed A i -C i. Since L 1,...,L m have the highest priorities, it is safe to set the periods to T 1 = A 1 -C 1,...,T m = A m -C m. We now consider L m+1. From appendix A we see that R m+1 can be obtained when T 1,...,T m have been fixed. We want to select as long periods as possible, thus minimizing the response time for processes with lower priorities, i.e. T m+1 = A m+1 -R m+1. Now, R m+2 can be obtained since the periods T 1,...,T m+1 have been fixed, i.e. R m+2 = L 1 L 3 L 2 L 4 Time Figure 3: A multiprocessor with two processors, and four processes L 1, L 2, L 3, and L 4 defined by A 1 = 6, C 1 = 2, A 2 = 8.5, C 2 = 2.5, A 3 = 12, C 3 = 3, A 4 = 17.75, and C 4 = 3. From this we get T 1 = A 1 - C 1 = 4 (R 1 = 2 A 1 /2 = 3) and T 2 = A 2 - C 2 = 6 (R 2 = 2.5 A 2 /2 = 4.25). By using the method in appendix A we first calculate T 3 = 9 (R 3 = 5 A 3 /2 = 6) and then T 4 = 10 (R 4 = 7.75 A 4 /2 = 8.875). The first release is done at time zero for all processes. The figure shows four cycles of process L 1, three cycles of L 2, two cycles of L 3, and two cycles of L 4.

4 m + 1 C m+2 + ( R m + 2 T j C j ) m. When R m+2 has been obtain we get T m+2, i.e. T m+2 = A m+2 -R m+2, and so on. Theorem 1: A process set which is schedulable using rate-monotone priority assignment, T i = A i /2 and a single-processor (m = 1) is also schedulable using our scheme. Proof: (see [5]) Theorem 2: A process set which is schedulable using rate-monotone priority assignment, T i = A i /2 and a multiprocessor with m processors is also schedulable using our scheme, provided that we use the same schedulability test. Proof: From previous results on age constraint processes we know that a set of n processes is schedulable if R i A i /2 (1 i n) [5]. As discussed in appendix A, it is NP-hard to calculate the maximum response time. Therefore, we use the pessimistic estimate R i = C i + i 1 ( R i T j C j ) m. The schedulability test is based on this pessimistic estimate on R i, and may therefore also be pessimistic, i.e. there may be schedulable process sets which do not meet this schedulability test. However, due to the NP-hard nature of the problem it is reasonable to use the same schedulability test for the case with our periods and for the case with periods equal to half the age constraint. We consider a set of processes which is schedulable using rate-monotone priority assignment and T i = A i /2. Consequently, R i T i = A i /2. From this it follows that T i = A i /2 T i = A i - R i. From the Lemma in the previous section we know that, using a multiprocessor with m processors, the maximum response time for process j does not increase if we extend the period for process i (1 i j n). Consider the process set in figure 3, which is schedulable using our scheme. If we would have used the periods A i /2, we would have got T 1 = 3, T 2 = 4.25, T 3 = 6, and T 3 = This would have resulted in a utilization of C 1 /T 1 + C 2 /T 2 + C 3 /T 3 + C 4 /T 4 = 2/ / /6 + 3/8.875 = > 2, i.e. the set would not have been schedulable on a two processor multiprocessor. 4 Improving the scheme Let R(j) j+x (x > 0) denote the response time for L j+x if L j is released at time -C j, and L j+x is released at time zero. The release of all other processes is arbitrary. The idea is that if T j+x = kt j (for some integer k > 0), we can adjust the phasing of L j and L j+x in such a way that the interference of L j on L j+x is limited to R(j) j+x. Consequently, if T j+x < kt j T j+x + R j+x - R(j) j+x we can extend the period of L j+x to kt j and adjust the phasing of L j and L j+x in such a way that a release of L j+x always occurs C j time units after a release of L j. In order to distinguish the optimized periods from the ones obtained using the unoptimized version, we denote the optimized period for L j as t j. Using the same argument as before (see appendix A), we obtain R(j) j+x from the formula R j+x = C i + j x 1 + R j x R j+ x C T + + T j + C j R l j+ x l T l = 1 j T Cj j m In order to obtain the optimized periods t j, for a set containing n processes, we start with the periods T j and we then use the following algorithm: for y = 1 to n loop t y = T y for to y-1 loop if t y < kt j T y + R y - R(j) y then t y = kt j and exit inner loop (L y will be released C j time units after L j ) end loop end loop Theorem 3: A set of processes which is schedulable using the unoptimized periods T i and an arbitrary phasing of processes is also schedulable using the optimized periods t i, provided that we are able to adjust the phasing. Proof: Let r i denote the maximum response time for process L i using the periods t i and the optimized phasing. Obviously, T i t i. From this and the Lemma we conclude that r i R i. Consequently, if R i A i /2, then r i A i /2.

5 5 Conclusions and discussion A method for scheduling age constraint processes on a multiprocessor has been presented. An age constraint process is defined by two values: the maximum time between the beginning of the process execution in cycle k to the end of the process execution in cycle k+1 (the age constraint), and the maximum computation time in each cycle, i.e. the period is not explicitly defined. We have presented a method for calculating process periods. The method takes the number of processors in the multiprocessor, the age constraint and the computation time for each process as inputs. Based on these inputs it calculates a period for each process, i.e. we may get different periods depending on the number of processors in the target multiprocessor. The method can be implemented as a computer program, and is thus completely automatic. Once the periods have been calculated the process set can be executed using preemption and fixed priority scheduling. The priorities are defined by the rate-monotone algorithm, i.e. processes with tight age constraints get high priorities. Trivially, the age constraint can be met by using periods equal to half the age constraint. In that case, rate monotone scheduling is optimal [5]. In our scheme, the period of a process depends on the priority of the process (and on the number of processors in the multiprocessor). The period for a process L i gets shorter if the priority of L i is reduced and vice versa. This property makes our scheme hard to analyze, e.g. show optimality. However, the periods obtained from our method are better in the sense that, using a single-processor, they make it possible to schedule a larger number of process sets compared to using periods equal to half the age constraint (see Theorem 1). This is true also for multiprocessors, provided that we use the same schedulability test (see Theorem 2). We have also shown that there are process sets that are schedulable using our scheme which can not be scheduled using periods equal to half the age constraint. We also define an improved version of our method. The improved version capitalizes on the fact that there is room for optimization when the period of one process is an integer multiple of the period of another process. The improved version is better than the original version in the sense that, we are able to schedule a larger number of process sets (see Theorem 3). A difficult part of the method is the calculation of the maximum response times (see appendix A). This is also one of the areas where we plan to focus our future efforts. Currently, we are using a pessimistic estimate of the maximum response time which is very easy to calculate (see appendix A). Previous work on age constraint process have concentrated on creating cyclic interleavings of processes [1]. Other studies have looked at age constraint processes which communicate [8]. One such scenario is scheduling of age constraint processes in the context of hard realtime database systems [2]. Fixed priority scheduling of age constraint processes on single-processors has been studied previously [6]. References [1] W. Albrecht, and R. Wisser, "Schedulers for Age Constraint Tasks and Their Performance Evaluation", In Proceedings of the Third International Euro-Par Conference, Passau, Germany, August [2] N. C. Audsley, A. Burns, M.F. Richardson, and A.J. Wellings, "Absolute and Relative Temporal Constraints in Hard Real-Time Databases", In Proceedings of IEEE Euromicro Workshop on Real-Time Systems, Los Alamitos, California, February [3] A. Burns, and A. Wellings, "Real-Time Systems and Programming Languages", Addison-Wesley, [4] M. Garey, and D. Johnson, "Computers and Intractability", W.H. Freeman and Company, [5] J.P. Lehoczky, L. Sha, and Y. Ding, "The rate monotone scheduling algorithm: exact characterization and average case behavior", In Proceedings of IEEE 10th Real-Time Systems Symposium, December [6] L. Lundberg, "Fixed Priority Scheduling of Age Constraint Processes", In Proceedings of the Fourth International Euro-Par Conference, Southampton, England, September [7] M. Pinedo, "Scheduling: Theory, Algorithms and Systems", Prentice Hall, [8] X. Song, and J. Liu, "How Well can Data Temporal Consistency be Maintained", In Proceedings of the 1992 IEEE Symposium on Computer Aided Control Systems Design, Napa, California, USA, March 1992.

6 Appendix A: Calculating the maximum response time It is trivial to calculate the maximum response time R i for processes L 1 to L m. In these cases the R i = C i. The reason for this is that the processes L 1 to L m will never be blocked waiting for a process with higher priority when using a multiprocessor with m processors. It is also trivial to calculated the maximum response time for process L m+1. R m+1 is obtained when all processes are released at time zero. However, calculating R i in general is more complicated. Consider the small example in figure A.1 shows that the maximum response time is not always obtained when all processes are released at time zero. Finding the release times which results in the maximum response time is an NP-hard problem [4]. A number of cases can probably be sorted out using branch-and-bound techniques [7]. However, due to the NP-hard nature of the problem, we use the observation that the maximum response R i time for L i cannot exceed + i 1 C i ( R i T j C j ) m [3]. If we apply the equation R i = C i i 1 ( R i T j C j ) m to L 4 (R 1, R 2, and R 3 are trivial) in figure A.1, we get R 4 = 3 + ( R 4 T 1 C 1 + R 4 T 2 C 2 + R 4 T 3 C 3 )/2 = 3 + ( R R R )/2 => 7.75 = 3 + ( )/2 = 3 + (2* )/2 = = Consequently, this method would lead to an estimate of 7.75 on R 4, which is more than 6.75 (which is the correct value). This example shows that the result of the equation may in some cases be pessimistic, i.e. the response time obtained from this equation may in some cases exceed the maximum response time. L 1 1 L 1 3 L 3 1 L 1 12 L 2 1 L 2 2 Process L 1 and L 2 are never interrupted by any other process when using a multiprocessor with two processors, i.e. R 1 = C 1 = 2 and R 2 = C 2 = 2.5. From this graph we see that R 3 = 5. L 1 1 L 1 3 L 1 4 L 1 12 L 1 4 L 2 1 L 3 1 L 2 2 In this graph we added process L 4. All processes are released at time zero. This figure indicates that R 4 = 6.5. This is however not correct. In this graph we release L 2 at time All other processes are released at time zero. This results in a response time for L 4 of which is the worst-case scenario. Consequently, R 4 = Time Figure A.1: Calculating the maximum response times for a set with four processes L 1, L 2, L 3, and L 4 (T 1 = 4, C 1 = 2, T 2 = 9, C 2 = 2.5, T 3 = 15, C 3 = 3, T 4 = 20, and C 4 = 3) when using a multiprocessor with two processors.

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

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

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

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

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

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

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

CIS 4930/6930: Principles of Cyber-Physical Systems

CIS 4930/6930: Principles of Cyber-Physical Systems CIS 4930/6930: Principles of Cyber-Physical Systems Chapter 11 Scheduling Hao Zheng Department of Computer Science and Engineering University of South Florida H. Zheng (CSE USF) CIS 4930/6930: Principles

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

Aperiodic Task Scheduling

Aperiodic Task Scheduling Aperiodic Task Scheduling Jian-Jia Chen (slides are based on Peter Marwedel) TU Dortmund, Informatik 12 Germany Springer, 2010 2017 年 11 月 29 日 These slides use Microsoft clip arts. Microsoft copyright

More information

3. Scheduling issues. Common approaches 3. Common approaches 1. Preemption vs. non preemption. Common approaches 2. Further definitions

3. Scheduling issues. Common approaches 3. Common approaches 1. Preemption vs. non preemption. Common approaches 2. Further definitions Common approaches 3 3. Scheduling issues Priority-driven (event-driven) scheduling This class of algorithms is greedy They never leave available processing resources unutilized An available resource may

More information

Polynomial Time Algorithms for Minimum Energy Scheduling

Polynomial Time Algorithms for Minimum Energy Scheduling Polynomial Time Algorithms for Minimum Energy Scheduling Philippe Baptiste 1, Marek Chrobak 2, and Christoph Dürr 1 1 CNRS, LIX UMR 7161, Ecole Polytechnique 91128 Palaiseau, France. Supported by CNRS/NSF

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

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

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

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

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

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

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

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

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

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

Execution times and execution jitter analysis of real-time tasks under fixed-priority pre-emptive scheduling

Execution times and execution jitter analysis of real-time tasks under fixed-priority pre-emptive scheduling Execution times and execution jitter analysis of real-time tasks under fixed-priority pre-emptive scheduling Reinder J. Bril 1, Gerhard Fohler 2, and Wim F.J. Verhaegh 3 1. Technische Universiteit Eindhoven

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

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

Scheduling Slack Time in Fixed Priority Pre-emptive Systems

Scheduling Slack Time in Fixed Priority Pre-emptive Systems Scheduling Slack Time in Fixed Priority Pre-emptive Systems R.I.Davis Real-Time Systems Research Group, Department of Computer Science, University of York, England. ABSTRACT This report addresses the problem

More information

End-to-End Scheduling to Meet Deadlines in Distributed Systems

End-to-End Scheduling to Meet Deadlines in Distributed Systems Appeared in: Proceedings of the 12th International Conference on Distributed Computing Systems, Yokohama, Japan, June 1992, pages 452--459. End-to-End Scheduling to Meet Deadlines in Distributed Systems

More information

Real-Time Systems. Event-Driven Scheduling

Real-Time Systems. Event-Driven Scheduling Real-Time Systems Event-Driven Scheduling Marcus Völp, Hermann Härtig WS 2013/14 Outline mostly following Jane Liu, Real-Time Systems Principles Scheduling EDF and LST as dynamic scheduling methods Fixed

More 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

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

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

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

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

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

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

Clock-driven scheduling

Clock-driven scheduling Clock-driven scheduling Also known as static or off-line scheduling Michal Sojka Czech Technical University in Prague, Faculty of Electrical Engineering, Department of Control Engineering November 8, 2017

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

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

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

Design of Real-Time Software

Design of Real-Time Software Design of Real-Time Software Analysis of hard real-time tasks under fixed-priority pre-emptive scheduling Reinder J. Bril Technische Universiteit Eindhoven Department of Mathematics and Computer Science

More information

Exact Scheduling Analysis of Non-Accumulatively Monotonic Multiframe Tasks

Exact Scheduling Analysis of Non-Accumulatively Monotonic Multiframe Tasks Exact Scheduling Analysis of Non-Accumulatively Monotonic Multiframe Tasks A. Zuhily, Alan Burns To cite this version: A. Zuhily, Alan Burns. Exact Scheduling Analysis of Non-Accumulatively Monotonic Multiframe

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

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

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

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

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

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

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

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

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

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

CPU SCHEDULING RONG ZHENG

CPU SCHEDULING RONG ZHENG CPU SCHEDULING RONG ZHENG OVERVIEW Why scheduling? Non-preemptive vs Preemptive policies FCFS, SJF, Round robin, multilevel queues with feedback, guaranteed scheduling 2 SHORT-TERM, MID-TERM, LONG- TERM

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

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 Deadline Monotonic Scheduling With Dynamic and Intelligent Time Slice for Real-time Systems

Improved Deadline Monotonic Scheduling With Dynamic and Intelligent Time Slice for Real-time Systems Improved Deadline Monotonic Scheduling With Dynamic and Intelligent Time Slice for Real-time Systems H. S. Behera, Sushree Sangita Panda and Jana Chakraborty Department of Computer Science and Engineering,

More information

COVERT TIMING CHANNEL CAPACITY OF RATE MONOTONIC REAL-TIME SCHEDULING ALGORITHM IN MLS SYSTEMS

COVERT TIMING CHANNEL CAPACITY OF RATE MONOTONIC REAL-TIME SCHEDULING ALGORITHM IN MLS SYSTEMS COVERT TIMING CHANNEL CAPACITY OF RATE MONOTONIC REAL-TIME SCHEDULING ALGORITHM IN MLS SYSTEMS Joon Son and Jim Alves-Foss Center for Secure and Dependable Systems University of Idaho POBOX 441008 Moscow,

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

On Machine Dependency in Shop Scheduling

On Machine Dependency in Shop Scheduling On Machine Dependency in Shop Scheduling Evgeny Shchepin Nodari Vakhania Abstract One of the main restrictions in scheduling problems are the machine (resource) restrictions: each machine can perform at

More information

Slack-Time Computation for Temporal Robustness in Embedded Systems

Slack-Time Computation for Temporal Robustness in Embedded Systems Slack-Time Computation for Temporal Robustness in Embedded Systems Serge Midonnet, Damien Masson, Rémi Lassalle To cite this version: Serge Midonnet, Damien Masson, Rémi Lassalle. Slack-Time Computation

More information

EDF and RM Multiprocessor Scheduling Algorithms: Survey and Performance Evaluation

EDF and RM Multiprocessor Scheduling Algorithms: Survey and Performance Evaluation 1 EDF and RM Multiprocessor Scheduling Algorithms: Survey and Performance Evaluation Omar U. Pereira Zapata, Pedro Mejía Alvarez CINVESTAV-IPN, Sección de Computación Av. I.P.N. 258, Zacatenco, México,

More information

2.1 Task and Scheduling Model. 2.2 Definitions and Schedulability Guarantees

2.1 Task and Scheduling Model. 2.2 Definitions and Schedulability Guarantees Fixed-Priority Scheduling of Mixed Soft and Hard Real-Time Tasks on Multiprocessors Jian-Jia Chen, Wen-Hung Huang Zheng Dong, Cong Liu TU Dortmund University, Germany The University of Texas at Dallas,

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

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

A PTAS for Static Priority Real-Time Scheduling with Resource Augmentation

A PTAS for Static Priority Real-Time Scheduling with Resource Augmentation A PAS for Static Priority Real-ime Scheduling with Resource Augmentation echnical Report Friedrich Eisenbrand and homas Rothvoß Institute of Mathematics EPFL, Lausanne, Switzerland {friedrich.eisenbrand,thomas.rothvoss}@epfl.ch

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

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

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

On Non-Preemptive Scheduling of Periodic and Sporadic Tasks

On Non-Preemptive Scheduling of Periodic and Sporadic Tasks On Non-Preemptive Scheduling of Periodic and Sporadic Tasks Kevin Jeffay * Donald F. Stanat University of North Carolina at Chapel Hill Department of Computer Science Charles U. Martel ** University of

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

An Average-Case Analysis for Rate-Monotonic Multiprocessor Real-time Scheduling

An Average-Case Analysis for Rate-Monotonic Multiprocessor Real-time Scheduling An Average-Case Analysis for Rate-Monotonic Multiprocessor Real-time Scheduling Andreas Karrenbauer and Thomas Rothvoß Institute of Mathematics École Polytechnique Fédérale de Lausanne, Lausanne, Switzerland

More information

Resource Sharing in an Enhanced Rate-Based Execution Model

Resource Sharing in an Enhanced Rate-Based Execution Model In: Proceedings of the 15th Euromicro Conference on Real-Time Systems, Porto, Portugal, July 2003, pp. 131-140. Resource Sharing in an Enhanced Rate-Based Execution Model Xin Liu Steve Goddard Department

More information

Exploiting Precedence Relations in the Schedulability Analysis of Distributed Real-Time Systems

Exploiting Precedence Relations in the Schedulability Analysis of Distributed Real-Time Systems Exploiting Precedence Relations in the Schedulability Analysis of Distributed Real-Time Systems By: J.C. Palencia and M. González Harbour Departamento de Electrónica y Computadores, Universidad de Cantabria,

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

Computers and Intractability. The Bandersnatch problem. The Bandersnatch problem. The Bandersnatch problem. A Guide to the Theory of NP-Completeness

Computers and Intractability. The Bandersnatch problem. The Bandersnatch problem. The Bandersnatch problem. A Guide to the Theory of NP-Completeness Computers and Intractability A Guide to the Theory of NP-Completeness The Bible of complexity theory Background: Find a good method for determining whether or not any given set of specifications for a

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

Bursty-Interference Analysis Techniques for. Analyzing Complex Real-Time Task Models

Bursty-Interference Analysis Techniques for. Analyzing Complex Real-Time Task Models Bursty-Interference Analysis Techniques for lemma 3 Analyzing Complex Real- Task Models Cong Liu Department of Computer Science The University of Texas at Dallas Abstract Due to the recent trend towards

More information

Computers and Intractability

Computers and Intractability Computers and Intractability A Guide to the Theory of NP-Completeness The Bible of complexity theory M. R. Garey and D. S. Johnson W. H. Freeman and Company, 1979 The Bandersnatch problem Background: Find

More information

Tardiness Bounds under Global EDF Scheduling on a Multiprocessor

Tardiness Bounds under Global EDF Scheduling on a Multiprocessor Tardiness ounds under Global EDF Scheduling on a Multiprocessor UmaMaheswari C. Devi and James H. Anderson Department of Computer Science The University of North Carolina at Chapel Hill Abstract This paper

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

Response Time Analysis for Tasks Scheduled under EDF within Fixed Priorities

Response Time Analysis for Tasks Scheduled under EDF within Fixed Priorities Response Time Analysis for Tasks Scheduled under EDF within Fixed Priorities M. González Harbour and J.C. Palencia Departamento de Electrónica y Computadores Universidad de Cantabria 39-Santander, SPAIN

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

A Theory of Rate-Based Execution. A Theory of Rate-Based Execution

A Theory of Rate-Based Execution. A Theory of Rate-Based Execution Kevin Jeffay Department of Computer Science University of North Carolina at Chapel Hill jeffay@cs cs.unc.edu Steve Goddard Computer Science & Engineering University of Nebraska Ð Lincoln goddard@cse cse.unl.edu

More information

A PTAS for Static Priority Real-Time Scheduling with Resource Augmentation

A PTAS for Static Priority Real-Time Scheduling with Resource Augmentation A PTAS for Static Priority Real-Time Scheduling with Resource Augmentation Friedrich Eisenbrand and Thomas Rothvoß Institute of Mathematics École Polytechnique Féderale de Lausanne, 1015 Lausanne, Switzerland

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

2/5/07 CSE 30341: Operating Systems Principles

2/5/07 CSE 30341: Operating Systems Principles page 1 Shortest-Job-First (SJR) Scheduling Associate with each process the length of its next CPU burst. Use these lengths to schedule the process with the shortest time Two schemes: nonpreemptive once

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

Deadline-driven scheduling

Deadline-driven scheduling Deadline-driven 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

On-line Bin-Stretching. Yossi Azar y Oded Regev z. Abstract. We are given a sequence of items that can be packed into m unit size bins.

On-line Bin-Stretching. Yossi Azar y Oded Regev z. Abstract. We are given a sequence of items that can be packed into m unit size bins. On-line Bin-Stretching Yossi Azar y Oded Regev z Abstract We are given a sequence of items that can be packed into m unit size bins. In the classical bin packing problem we x the size of the bins and try

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

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

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

Algorithms for Temperature-Aware Task Scheduling in Microprocessor Systems

Algorithms for Temperature-Aware Task Scheduling in Microprocessor Systems Algorithms for Temperature-Aware Task Scheduling in Microprocessor Systems Marek Chrobak 1, Christoph Dürr 2, Mathilde Hurand 2, and Julien Robert 3 1 Department of Computer Science, University of California,

More information

Average-Case Performance Analysis of Online Non-clairvoyant Scheduling of Parallel Tasks with Precedence Constraints

Average-Case Performance Analysis of Online Non-clairvoyant Scheduling of Parallel Tasks with Precedence Constraints Average-Case Performance Analysis of Online Non-clairvoyant Scheduling of Parallel Tasks with Precedence Constraints Keqin Li Department of Computer Science State University of New York New Paltz, New

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 Systems. Lecture 4. Scheduling basics. Task scheduling - basic taxonomy Basic scheduling techniques Static cyclic scheduling

Real-Time Systems. Lecture 4. Scheduling basics. Task scheduling - basic taxonomy Basic scheduling techniques Static cyclic scheduling Real-Time Systems Lecture 4 Scheduling basics Task scheduling - basic taxonomy Basic scheduling techniques Static cyclic scheduling 1 Last lecture (3) Real-time kernels The task states States and transition

More information

Rate Monotonic Analysis (RMA)

Rate Monotonic Analysis (RMA) Rate Monotonic Analysis (RMA) ktw@csie.ntu.edu.tw (Real-Time and Embedded System Laboratory) Major References: An Introduction to Rate Monotonic Analysis Tutorial Notes SEI MU* Distributed Real-Time System

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