Skip to main content
Log in

Laxity dynamics and LLF schedulability analysis on multiprocessor platforms

  • Published:
Real-Time Systems Aims and scope Submit manuscript

Abstract

LLF (Least Laxity First) scheduling, which assigns a higher priority to a task with a smaller laxity, has been known as an optimal preemptive scheduling algorithm on a single processor platform. However, little work has been made to illuminate its characteristics upon multiprocessor platforms. In this paper, we identify the dynamics of laxity from the system’s viewpoint and translate the dynamics into LLF multiprocessor schedulability analysis. More specifically, we first characterize laxity properties under LLF scheduling, focusing on laxity dynamics associated with a deadline miss. These laxity dynamics describe a lower bound, which leads to the deadline miss, on the number of tasks of certain laxity values at certain time instants. This lower bound is significant because it represents invariants for highly dynamic system parameters (laxity values). Since the laxity of a task is dependent of the amount of interference of higher-priority tasks, we can then derive a set of conditions to check whether a given task system can go into the laxity dynamics towards a deadline miss. This way, to the author’s best knowledge, we propose the first LLF multiprocessor schedulability test based on its own laxity properties. We also develop an improved schedulability test that exploits slack values. We mathematically prove that the proposed LLF tests dominate the state-of-the-art EDZL tests. We also present simulation results to evaluate schedulability performance of both the original and improved LLF tests in a quantitative manner.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7

Similar content being viewed by others

Notes

  1. Scheduling algorithm (test) A dominates B if any task set deemed schedulable by B is also deemed schedulable by A, but the vice-versa is not true.

  2. While there are many task sets which are not schedulable by EDF and EDZL, but schedulable by LLF, there also exist a few task sets which have the opposite behavior (Bala Kalyanasundaram et al. 2000).

  3. Pfair is originally defined for implicit-deadline task systems such that each task’s period (equal to deadline) is split into sub-deadlines with execution time of one unit. To adapt Pfair for constrained deadline task systems, we split each task’s deadline into sub-deadlines.

  4. Here a carry-out job means it is released within the given interval, but its deadline is after the interval.

  5. For a given bimodal parameter p, a value for C i /T i is uniformly chosen in [0,0.5) with probability p, and in [0.5,1) with probability 1−p.

  6. For a given exponential parameter 1/λ, a value for C i /T i is chosen according to the exponential distribution whose probability density function is λ⋅exp(−λx).

References

  • Anderson JH, Srinivasan A (2000) Early-release fair scheduling. In: Proceedings of Euromicro conference on real-time systems (ECRTS), pp 35–43

    Google Scholar 

  • Andersson B, Bletsas K (2008) Sporadic multiprocessor scheduling with few preemptions. In: Proceedings of Euromicro conference on real-time systems (ECRTS), pp 243–252

    Google Scholar 

  • Andersson B, Tovar E (2006) Multiprocessor scheduling with few preemptions. In: Proceedings of IEEE international conference on embedded and real-time computing systems and applications (RTCSA), pp 322–334

    Chapter  Google Scholar 

  • Andersson B, Baruah S, Jonsson J (2001) Static-priority scheduling on multiprocessors. In: Proceedings of IEEE real-time systems symposium (RTSS), pp 193–202

    Google Scholar 

  • Andersson B, Bletsas K, Baruah S (2008) Scheduling arbitrary-deadline sporadic task systems on multiprocessor. In: Proceedings of IEEE international conference on embedded and real-time computing systems and applications (RTCSA), pp 197–206

    Google Scholar 

  • Baker TP (2005) Comparison of empirical success rates of global vs. partitioned fixed-priority and EDF scheduling for hand real time. Technical Report TR-050601, Dept. of Computer Science, Florida State University, Tallahassee

  • Baker TP, Cirinei M (2006) A necessary and sometimes sufficient condition for the feasibility of sets of sporadic hard-deadline tasks. In: Proceedings of IEEE real-time systems symposium (RTSS), pp 178–190

    Google Scholar 

  • Baker TP, Cirinei M, Bertogna M (2008) EDZL scheduling analysis. Real-Time Syst 40:264–289

    Article  MATH  Google Scholar 

  • Baruah S, Cohen NK, Plaxton CG, Varvel DA (1996) Proportionate progress: a notion of fairness in resource allocation. Algorithmica 15(6):600–625

    Article  MathSciNet  MATH  Google Scholar 

  • Baruah S, Bonifaci V, Marchetti-Spaccamela A, Stiller S (2009) Implementation of a speedup-optimal global EDF schedulability test. In: Proceedings of Euromicro conference on real-time systems (ECRTS), pp 259–268

    Google Scholar 

  • Bertogna M, Cirinei M, Lipari G (2005) Improved schedulability analysis of EDF on multiprocessor platforms. In: Proceedings of Euromicro conference on real-time systems (ECRTS), pp 209–218

    Chapter  Google Scholar 

  • Bertogna M, Cirinei M, Lipari G (2009) Schedulability analysis of global scheduling algorithms on multiprocessor platforms. IEEE Trans Parallel Distrib Syst 20:553–566

    Article  Google Scholar 

  • Burns A, Baruah S (2008) Sustainability in real-time scheduling. J Comput Inf Sci Eng 2(1):74–97

    Google Scholar 

  • Cho S, Lee S-K, Ahn S, Lin K-J (2002) Efficient real-time scheduling algorithms for multiprocessor systems. IEICE Trans Commun E85-B(12):2859–2867

    Google Scholar 

  • Cho H, Ravindran B, Jensen ED (2006) An optimal real-time scheduling algorithm for multiprocessors. In: Proceedings of IEEE real-time systems symposium (RTSS), pp 101–110

    Google Scholar 

  • Davis R, Burns A (2011) Improved priority assignment for global fixed priority pre-emptive scheduling in multiprocessor real-time systems. Real-Time Syst 47(1):1–40

    Article  MATH  Google Scholar 

  • Davis RI, Burns A (2011) FPZL schedulability analysis. In: Proceedings of IEEE real-time technology and applications symposium (RTAS), pp 245–256

    Google Scholar 

  • Davis RI, Burns A (2011) A survey of hard real-time scheduling for multiprocessor systems. ACM Comput Surv 43(4):35

    Article  Google Scholar 

  • Dertouzos ML, Mok AK (1989) Multiprocessor on-line scheduling of hard-real-time tasks. IEEE Trans Softw Eng 15:1497–1506

    Article  Google Scholar 

  • Easwaran A, Shin I, Lee I (2009) Optimal virtual cluster-based multiprocessor scheduling. Real-Time Syst 43(1):25–59

    Article  MATH  Google Scholar 

  • Fisher N, Goossens J, Baruah S (2010) Joël goossens, and sanjoy baruah. Optimal online multiprocessor scheduling of sporadic real-time tasks is impossible. Real-Time Syst 45:26–71

    Article  MATH  Google Scholar 

  • Funaoka K, Kato S, Yamasaki N (2008) Work-conserving optimal real-time scheduling on multiprocessors. In: Proceedings of Euromicro conference on real-time systems (ECRTS), pp 13–22

    Google Scholar 

  • Kalyanasundaram B, Pruhs KR, Torng E (2000) Errata: A new algorithm for scheduling periodic, real-time tasks. Algorithmica 28:269–270

    Article  MathSciNet  MATH  Google Scholar 

  • Lee SK (1994) On-line multiprocessor scheduling algorithms for real-time tasks. In: IEEE region 10’s ninth annual international conference, pp 607–611

    Google Scholar 

  • Lee J, Easwaran A, Shin I (2010) LLF schedulability analysis on multiprocessor platforms. In: Proceedings of IEEE real-time systems symposium (RTSS), pp 25–36

    Google Scholar 

  • Lee J, Easwaran A, Shin I, Lee I (2010) Multiprocessor real-time scheduling considering concurrency and urgency. ACM SIGBED Rev 7(1)

  • Lee J, Easwaran A, Shin I (2011) Maximizing contention-free executions in multiprocessor scheduling. In: Proceedings of IEEE real-time technology and applications symposium (RTAS), pp 235–244

    Google Scholar 

  • Lee J, Easwaran A, Shin I, Lee I (2011) Zero-laxity based real-time multiprocessor scheduling. J Syst Softw 84(12):2324–2333

    Article  Google Scholar 

  • Leung JY-T (1989) A new algorithm for scheduling periodic, real-time tasks. Algorithmica 4:209–219

    Article  MathSciNet  MATH  Google Scholar 

  • Leung JYT, Whitehead J (1982) On the complexity of fixed-priority scheduling of periodic real-time tasks. Perform Eval 2:237–250

    Article  MathSciNet  MATH  Google Scholar 

  • Levin G, Funk S, Sadowski C, Pye I, Brandt S (2010) DP-FAIR: A simple model for understanding optimal multiprocessor scheduling. In: Proceedings of Euromicro conference on real-time systems (ECRTS), pp 3–13

    Google Scholar 

  • Liu CL, Layland J (1973) Scheduling algorithms for multi-programming in a hard-real-time environment. J ACM 20(1):46–61

    Article  MathSciNet  MATH  Google Scholar 

  • Mok A (1983) Fundamental design problems of distributed systems for the hard-real-time environment. PhD thesis, Massachusetts Institute of Technology

  • Park M, Han S, Kim H, Cho S, Cho Y (2005) Comparison of deadline-based scheduling algorithms for periodic real-time tasks on multiprocessor. IEICE Trans Inf Syst E 88-D:658–661

    Google Scholar 

  • Phillips CA, Stein C, Torng E, Wein J (2002) Optimal time-critical scheduling via resource augmentation. Algorithmica 32:163–200

    Article  MathSciNet  MATH  Google Scholar 

  • Srinivasan A, Baruah S (2002) Deadline-based scheduling of periodic task systems on multiprocessors. Inf Process Lett 84(2):93–98

    Article  MathSciNet  MATH  Google Scholar 

Download references

Acknowledgements

This work was supported in part by Basic Research Laboratory Program (BRL, 2009-0086964), Basic Science Research Program (2010-0006650), P 3 DigiCar Research Center (NCRC, 2012-0000980), IT/SW Creative research program (NIPA-2010-C1810-1102-0003), SW Computing R&D Program of KEIT (2011-10041313), and Global Collaborative R&D program of KIAT (M002300089) funded by the Korea Government (MEST/MKE), and KAIST-Microsoft Research Collaboration Center.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Insik Shin.

Additional information

This is an extended version of the RTSS 2010 (the 31st IEEE Real-Time Systems Symposium) paper (Lee et al. 2010). A summary of the extensions and enhancements is given at the end of Sect. 1.

Appendices

Appendix A: Proof of Theorem 1

The basic idea of the proof is to use mathematical induction.

(Basis) Each Inequality (10) for x=1 and x=2 holds by Observations 2 and 4, respectively.

(Inductive step) We will prove the following statements: for all x≥2, if Inequality (10) for x holds, then Inequality (10) for x+1 also holds. We consider two cases depending on the value of \(\mathbf{1}_{t_{0}-x-1}\).

(Inductive step: case A) Assume \(\mathbf{1}_{t_{0}-x-1}=1 \iff\sum_{j=0}^{x} N_{j}(t_{0}-x-1) \le m\).

All tasks in S j (t 0x−1) for 0≤j<x are serviced in [t 0x−1,t 0x), and thus L k (t 0x−1)=L k (t 0x) for all tasks τ k S j (t 0x−1) where 0≤j<x. So, the following condition holds:

(25)

Applying Eq. (25) to Inequality (10), we get the following condition:

(26)

Multiplying the above condition by \(\frac{x+1}{x}\), we get the following condition:

(27)

We now look at the three terms of the LHS of Inequlaity (27). The first term can be upper-bounded as follows:

(28)

This is because we observe the following condition for x≥1, xj≥0:

(29)

If p=x+1, then \(\mathbf{1}_{t_{0}-p}=1\) and \((1+\frac{\mathbf {1}_{t_{0}-p}}{p-1}) = \frac{x+1}{x}\). Therefore, the second term of the LHS of Inequlaity (27) can be rearranged if k=x+1 as follows:

(30)

And, the third term of the LHS of Inequality (27) can be also rearranged as follows:

(31)

Then, once we apply Eqs. (28), (30) and (31) to Inequality (27), then the LHS of Inequality (27) can be upper-bounded as follows:

(32)

We can now check that Inequality (10) holds for x+1 by adding the non-negative term for j=x to the first summation of the RHS of Inequality (32). Finally, we conclude that if Inequality (10) for x is true, then Inequality (10) for x+1 is also true when \(\mathbf {1}_{t_{0}-x-1}=1\).

(Inductive step: case B) Assume \(\mathbf{1}_{t_{0}-x-1}=0 \iff\sum_{j=0}^{x} N_{j}(t_{0}-x-1) > m\).

Since at most m tasks can be serviced in [t 0x−1,t 0x), there exists a minimum number y (≤x) such that at least one of the tasks in S y (t 0x−1) is not serviced in [t 0x−1,t 0x). It holds that y≥1 because otherwise N 0(t 0x−1)>m, which means t 0x is the first instant when there is a task with a negative laxity. Thus, all tasks in S j (t 0x−1) for j=0,…,y−1 are serviced while all tasks in S j (t 0x−1) for j=y+1,…,x are not serviced. Among tasks in S y (t 0x−1), \(\sum_{j=0}^{y}N_{j}(t_{0}-x-1)-m\) tasks are not serviced and \(m-\sum_{j=0}^{y-1}N_{j}(t_{0}-x-1)\) tasks are serviced. Considering that serviced tasks keep their laxity values and non-serviced ones reduce their laxity values by one, we establish the following relationship between N j (t 0x) and N j (t 0x−1):

(33)

where

The detailed calculation of Q is as follows. For j=0,…,y−1, all tasks in S j (t 0x−1) keep their laxity values at t 0x, and therefore the first two cases include N j (t 0x−1) terms. Among tasks in S y (t 0x−1), \((\sum_{k=0}^{y}N_{k}(t_{0}-x-1) -m)\) tasks do not perform their executions in [t 0x−1,t 0x) and then each of their laxity values is y−1 at t 0x. In turn, \((m-\sum_{k=0}^{y-1}N_{k}(t_{0}-x-1) )\) tasks perform its execution in [t 0x−1,t 0x) and then each of their laxity values is y at t 0x. Therefore, the second and third cases have the corresponding terms. For j=y,…,x−1, all tasks in S j+1(t 0x+1) do not perform their executions in [t 0x−1,t 0x) and then each of their laxity values is j at t 0x. Thus, the third and fourth cases includes N j+1(t 0x−1) terms.

By putting the above equation into Inequality (10), we derive the following condition:

(34)

We re-arrange terms as follows:

(35)

To re-arrange the first two lines of the above inequality, we use the following trivial equations.

  • \(\sum_{j=y}^{x-1} (x-j)\cdot N_{j+1}(t_{0}-x-1)\) is equal to \(\sum_{j=y+1}^{x} (x-j+1)\cdot N_{j}(t_{0}-x-1)\).

  • \((x-(y-1))\cdot\sum_{j=0}^{y} N_{j}(t_{0}-x-1) - (x-y)\cdot\sum_{j=0}^{y-1} N_{j}(t_{0}-x-1)\) is equal to \((x-(y-1))\cdot N_{y}(t_{0}-x-1)+\sum_{j=0}^{y-1} N_{j}(t_{0}-x-1)\)

Using the above equations, we derive the following equation.

(36)

We now re-arrange the fourth and fifth lines of the Inequality (35). Using \(\mathbf{1}_{t_{0}-x-1}=0\), we obtain \(\prod_{p=x+1}^{x+1}(1+\frac{\mathbf{1}_{t_{0}-p}}{p-1})=1\), and then the fourth line is equal to \(\prod_{p=x+1}^{x+1}(1+\frac{\mathbf {1}_{t_{0}-p}}{p-1})\sum_{j=0}^{x-1} (x-j)\cdot (Z_{j}(t_{0}-x-1)-W_{j}(t_{0}-x-1) )\). Once we substitute k=x+1, the fourth line is equal to \(\prod_{p=x+1}^{k}(1+\frac{\mathbf {1}_{t_{0}-k}}{k-1})\sum_{j=0}^{k-2} (k-j-1)\cdot (Z_{j}(t_{0}-k)-W_{j}(t_{0}-k) )\). Then,

(37)

We add m for both the LHS and RHS of the Inequality (35) to eliminate the third line, and replace the first two lines, and the third and fourth lines by Eqs. (36) and (37), respectively. We finally obtain the following inequality.

(38)

The last condition is identical to Inequality (10) for x+1. Finally, we conclude that if Inequality (10) for x is true, then Inequality (10) for x+1 is also true when \(\mathbf{1}_{t_{0}-x-1}=0\).

By (Inductive step: case A) and (Inductive step: case B), the inductive step is correct.

Appendix B: Proof of Lemma 4

We show that the LHS of Inequality (19) is equal to or larger than that of Inequality (10) for x=1,2,3,…,∞. Then Inequality (19) is a necessary condition of Inequality (10), and then the lemma directly follows from Theorem 1, where Inequality (19) is as follows:

and Inequality (10) is as follows:

We investigate how much individual tasks contribute to the LHS of Inequality (10) and to that of Inequality (19) for given x. Then we prove that the contribution of task τ k to the LHS of Inequality (19) is always equal to or larger than that to the LHS of Inequality (10). We let (A x ) and (B x ) denote the LHS of Inequality (19) and the LHS of Inequality (10) for given x, respectively. We consider two cases depending on whether task τ k is active at t 0x or not.

Before investigating each case, we first observe when task τ k contributes to (B x ) through Z θ (t 0y), W θ (t 0y) and N θ (t 0y). Task τ k contributes to (B x ) through exactly one N θ (t 0x)-term if it has an active job at t 0x, and there is no contribution through any N θ (t 0x)-term if it has no active job at t 0x. Since Z θ (t 0y) denotes the number of tasks whose jobs are released at t 0y+1 with a laxity of θ, task τ k contributes to (B x ) through Z θ (t 0y)-terms only when its job is released at t 0y+1, and then θ is always D k C k . Similarly, since W θ (t 0y) denotes the number of tasks whose jobs are finished at t 0y+1 and have a laxity of θ at t 0y, task τ k contributes to (B x ) through W θ (t 0y)-terms only when it finishes execution at t 0y+1. In addition, a job of τ k can contribute to (B x ) through at most one Z θ (t 0y)- and at most one W θ (t 0y)-terms.

We now derive upper bounds of contribution of some W-, Z- and N-terms in the following two lemmas.

Lemma 8

The sum of the contribution of the W-term of τ k ’s qth job and the Z-term of τ k ’s (q+1)th job to (B x ) is upper-bounded by zero, if the finishing time of τ k ’s qth job and the release time of τ k ’s (q+1)th job are in [t 0x+1,t 0).

Proof

Suppose that τ k ’s qth job finishes its execution at t 0y+1 (1≤yx), and it has a laxity of θ at t 0y. And, suppose that τ k ’s (q+1)th job released at t 0y′+1 (1≤y′≤y). Then, by definition, contribution of the W-term of τ k ’s qth job and the Z-term of τ k ’s (q+1)th job to (B x ) is \(-\prod_{p=y}^{x} (1+\frac{\mathbf{1}_{t_{0}-p}}{p-1})\cdot (y-\theta-1)\) and \(\prod_{p=y'}^{x} (1+\frac{\mathbf {1}_{t_{0}-p}}{p-1})\cdot(y'-(D_{k}-C_{k})-1)\), respectively. Then, the sum of contribution of the W-term of τ k ’s qth job and the Z-term of τ k ’s (q+1)th job to (B x ) is calculated by

(39)

Once we apply θD k C k and \(\prod_{p=y'}^{y-1} (1+\frac{\mathbf{1}_{t_{0}-p}}{p-1})\ge1\), we derive that \(( \theta -\prod_{p=y'}^{y-1} (1+\frac{\mathbf{1}_{t_{0}-p}}{p-1})\cdot(D_{k}-C_{k}) )\) is upper-bounded by zero. Once we apply \(\prod_{p=y'}^{y-1} (1+\frac{\mathbf{1}_{t_{0}-p}}{p-1}) \le\frac{y'}{y'-1}\cdot\frac {y'+1}{y'}\cdot\cdots \cdot\frac{y-1}{y-2}=\frac{y-1}{y'-1}\), we derive that \(( -(y-1) + \prod_{p=y'}^{y-1} (1+\frac{\mathbf {1}_{t_{0}-p}}{p-1})\cdot(y'-1) )\) is also upper-bounded by zero. Therefore, the RHS of Eq. (39) is upper-bounded by zero. □

Lemma 9

The sum of the contribution of the N-term of τ k ’s qth job, the W-term of τ k ’s qth job, and the Z-term of τ k ’s (q+1)th job to (B x ) is upper-bounded by xD k +C k , if τ k ’s qth job is active at t 0x, the finishing time of τ k ’s qth job is in [t 0x+1,t 0), and the release time of τ k ’s (q+1)th job is in [t 0x+1,t 0).

Proof

Assume that τ k ’s qth job has a laxity of θ′ and θ at t 0x and t 0y (1≤yx), respectively, and it finishes its execution at t 0y+1. And, assume that τ k ’s (q+1)th job released at t 0y′+1 (1≤y′≤y). By definition, contribution of the N-term of τ k ’s qth job amounts to xθ′. Then, the sum of contribution of the N-term and W-term of τ k ’s qth job and the Z-term of τ k ’s (q+1)th job to (B x ) amounts to xθ′ plus the RHS of Eq. (39) as follows:

(40)

Once we apply θθ′≤D k C k to the RHS of Eq. (40), we can derive the following conditions:

(41)

Since \(\prod_{p=y'}^{x} (1+\frac{\mathbf{1}_{t_{0}-p}}{p-1})\ge\prod_{p=y}^{x} (1+\frac{\mathbf{1}_{t_{0}-p}}{p-1})\), the RHS of Eq. (41) is upper-bounded by xD k +C k , and this proves the lemma. □

We now prove Lemma 4 by proving (A x ) is larger than or equal to (B x ) for a given x. To do this, we use Lemmas 8 and 9, and the fact that the contribution of each W-term is no larger than zero.

Suppose that τ k ’s qth job is released strictly before t 0x, and τ k ’s (q+1)th job is released at t 0y (≥t 0x). And, τ k ’s pth job is released strictly before t 0, and τ k ’s (p+1)th job is released at t 0+v (≥t 0). Then, among jobs invoked by τ k , only the (q+1)th, (q+2)th, …, and pth jobs contribute to (B x ) through their Z-terms. And the (q+1)th, (q+2)th, …, and (p−1)th jobs of τ k definitely contribute to (B x ) through their W-terms, and the qth and pth jobs of τ k may or may not contribute to (B x ) through their W-terms depending on their finishing times. We now consider two cases as follows.

(Case A: task τ k ’s qth job is not active at t 0x)

Since there is no active job of τ k at t 0x, jobs of τ k cannot contribute to (B x ) through any N-term. By Lemma 8, the contribution of a job of task τ k through its W-term and the next job of task τ k through its Z-term to (B x ) is upper-bounded by zero. Therefore, the contribution of the (q+1)th, …, and (p−1)th jobs of τ k through their W-terms and the (q+2)th, …, and pth jobs of τ k through their Z-terms is also upper-bounded by zero. And, the qth and pth jobs of τ k may contribute to (B x ) through their W-terms, but any contribution though W-terms is non-positive. What remains is to calculate the contribution of (q+1)th jobs to (B x ) through its Z-term.

The contribution of task τ k ’s (q+1)th job to (B x ) through its Z-term is \(\prod_{p=y}^{x} (1+\frac{\mathbf{1}_{t_{0}-p}}{p-1})\cdot (y-(D_{k}-C_{k})-1)\). Since \(\prod_{p=y}^{x} (1+\frac{\mathbf {1}_{t_{0}-p}}{p-1})\) is upper-bounded by \(\frac{y}{y-1}\cdot\frac {y+1}{y}\cdot\cdots \cdot\frac{x}{x-1}=\frac{x}{y-1}\), \(\prod_{p=y}^{x} (1+\frac{\mathbf{1}_{t_{0}-p}}{p-1})\cdot(y-(D_{k}-C_{k})-1)\) is also upper-bounded by \((y-(D_{k}-C_{k})-1)\cdot\frac{x}{y-1}= x - (D_{k}-C_{k})\frac {x}{y-1}\le x-D_{k}+C_{k}\). Therefore, the total contribution of jobs of task τ k to (B x ) is upper-bounded by xD k +C k .

By definition of \(\delta_{k}^{*}(\theta,x)\), it holds that θD k C k , and there exists only one θ that results in \(\delta_{k}^{*}(\theta,x)=1\) for a given x. Thus, the contribution of jobs of τ k to (A x ) is at least xD k +C k .

Therefore, the total contribution of jobs of τ k to (A x ) is larger than or equal to that to (B x ).

(Case B: task τ k ’s qth job is active at t 0x (i.e., an N-term contributes to (B x ).))

This case implies τ k ’s qth job is finished after t 0x, which means it contributes to (B x ) through its W-term. We consider two sub-cases: (Case B-1) the execution of τ k ’s qth job is finished strictly before t 0; and (Case B-2) at or after t 0.

(Case B-1) By Lemma 9, the contribution of the qth job through its N- and W-terms and the (q+1)th job through its Z- term is upper-bounded by xD k +C k . By Lemma 8, the contribution of the (q+1)th, …, and (p−1)th jobs of τ k through their W-terms and the (q+2)th, …, and pth jobs of τ k through their Z-terms is also upper-bounded by zero. Here the pth job of τ k may contributes to (B x ) through its W-term, but the quantity is no larger than zero. Therefore, the total contribution of jobs of τ k to (B x ) is upper-bounded by xD k +C k , and as shown in (Case 1) this means the total contribution of jobs of τ k to (A x ) is larger than or equal to that to (B x ).

(Case B-2) In this case, the N-term of the qth job of τ k is the only term that contributes (B x ) by jobs of τ k ; any other jobs of τ k cannot contribute to (B x ) through any other terms. Suppose that the qth job has a laxity of θ at t 0x, then the contribution through its N-term is xθ. Since the finishing time of the qth job is at or after t 0, the release time of the job, t 0z, is no earlier than t 0D k (i.e., t 0zt 0D k zD k ). Then, t 0x is at x+D k z time units ahead of its deadline.

On the other hand, if δ k (θ′,x)=1, then θ′≤θ because xx+(D k z). Therefore, the contribution of the job to (A x ), xθ′, is no smaller than xθ. Therefore, the total contribution of task τ k to (A x ) is larger than or equal to that to (B x ).

By (Case A) and (Case B), the contribution of jobs of τ k to (A x ) is larger than or equal to that to (B x ).

Rights and permissions

Reprints and permissions

About this article

Cite this article

Lee, J., Easwaran, A. & Shin, I. Laxity dynamics and LLF schedulability analysis on multiprocessor platforms. Real-Time Syst 48, 716–749 (2012). https://doi.org/10.1007/s11241-012-9157-x

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11241-012-9157-x

Keywords

Navigation