[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ Skip to main content
Log in

A framework for memory contention analysis in multi-core platforms

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

Abstract

The last decade has witnessed a major shift towards the deployment of embedded applications on multi-core platforms. However, real-time applications have not been able to fully benefit from this transition, as the computational gains offered by multi-cores are often offset by performance degradation due to shared resources, such as main memory. To efficiently use multi-core platforms for real-time systems, it is hence essential to tightly bound the interference when accessing shared resources. Although there has been much recent work in this area, a remaining key problem is to address the diversity of memory arbiters in the analysis to make it applicable to a wide range of systems. This work handles diverse arbiters by proposing a general framework to compute the maximum interference caused by the shared memory bus and its impact on the execution time of the tasks running on the cores, considering different bus arbiters. Our novel approach clearly demarcates the arbiter-dependent and independent stages in the analysis of these upper bounds. The arbiter-dependent phase takes the arbiter and the task memory-traffic pattern as inputs and produces a model of the availability of the bus to a given task. Then, based on the availability of the bus, the arbiter-independent phase determines the worst-case request-release scenario that maximizes the interference experienced by the tasks due to the contention for the bus. We show that the framework addresses the diversity problem by applying it to a memory bus shared by a fixed-priority arbiter, a time-division multiplexing (TDM) arbiter, and an unspecified work-conserving arbiter using applications from the MediaBench test suite. We also experimentally evaluate the quality of the analysis by comparison with a state-of-the-art TDM analysis approach and consistently showing a considerable reduction in maximum interference.

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

Access this article

Subscribe and save

Springer+ Basic
£29.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price includes VAT (United Kingdom)

Instant access to the full article PDF.

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

Similar content being viewed by others

References

  • Akesson B, Goossens K (2011) Architectures and modeling of predictable memory controllers for improved system integration. In: Design, automation test in Europe conference exhibition (DATE), 2011, pp 1–6

  • Akesson B, Hansson A, Goossens K (2009) Composable resource sharing based on latency-rate servers. In: 12th Euromicro conference on digital system design, architectures, methods and tools, 2009, DSD’09. IEEE Computer Society, Washington, DC, pp 547–555

  • Andersson B, Easwaran A, Lee J (2010) Finding an upper bound on the increase in execution time due to contention on the memory bus in COTS-based multicore systems. ACM Sigbed Rev 7(1):4

    Article  Google Scholar 

  • Austin T, Larson E, Ernst D (2002) SimpleScalar: an infrastructure for computer system modeling. Computer 35(2):59–67

    Article  Google Scholar 

  • Behnam M, Inam R, Nolte T, Sjödin M (2013) Multi-core composability in the face of memory-bus contention. SIGBED Rev 10(3):35–42

    Article  Google Scholar 

  • Benini, L., Flamand, E., Fuin, D., Melpignano, D.: P2012: Building an ecosystem for a scalable, modular and high-efficiency embedded computing accelerator. In: Proc. of Design, Automation and Test in Europe Conference, pp. 983–987 (2012)

  • Chattopadhyay S, Chong LK, Roychoudhury A, Kelter T, Marwedel P, Falk H (2014) A unified WCET analysis framework for multicore platforms. ACM Trans Embed Comput Syst 13(4s):124:1–124:29

  • Chattopadhyay S, Roychoudhury A, Mitra T (2010) Modeling shared cache and bus in multi-cores for timing analysis. In: Proceedings of the 13th international workshop on software & compilers for embedded systems, pp 6:1–6:10

  • Cruz RL (1991) A calculus for network delay. I. Network elements in isolation. IEEE Trans Inf Theory 37(1):114–131

    Article  MathSciNet  MATH  Google Scholar 

  • Dasari D, Akesson B, Nelis V, Awan MAA, Petters SM (2013) Identifying the sources of unpredictability in COTS-based multicore systems. In: 8th IEEE international symposium on industrial embedded systems (SIES)

  • Dasari D, Andersson B, Nelis V, Petters SM, Easwaran A, Lee J (2011) Response time analysis of COTS-based multicores considering the contention on the shared memory bus. In: IEEE 10th international conference on trust, security and privacy in computing and communications, pp 1068–1075

  • Dasari D, Nelis V (2012) An analysis of the impact of bus contention on the WCET in multicores. In: IEEE 9th international conference on embedded software and systems (HPCC-ICESS), pp 1450–1457

  • Gustafsson J, Betts A, Ermedahl A, Lisper B (2010) The Mälardalen WCET benchmarks—past, present and future. OCG, Brussels, pp 137–147

  • Hara Y, Tomiyama H, Honda S, Takada H, Ishii K (2008) CHStone: a benchmark program suite for practical c-based high-level synthesis. In: IEEE international symposium on circuits and systems, 2008, ISCAS 2008, pp 1192–1195

  • IEC 61508 (2010) Functional safety of electrical/electronic/programmable electronic safety-related systems

  • JEDEC Solid State Technology Association (2012) DDR3 SDRAM specification, JESD79-3F edn

  • Kelter T, Falk H, Marwedel P, Chattopadhyay S, Roychoudhury A (2011) Bus-aware multicore WCET analysis through TDMA offset bounds. In: Proceedings of the 2011 Euromicro conference on real-time systems, pp 3–12

  • Kollig P, Osborne C, Henriksson T (2009) Heterogeneous multi-core platform for consumer multimedia applications. In: Proceedings of design, automation and test in Europe conference

  • Lee C, Potkonjak M, Mangione-Smith W (1997) Mediabench: a tool for evaluating and synthesizing multimedia and communicatons systems. In: Proceedings of ACM/IEEE international symposium on microarchitecture, pp 330–335

  • Li Y, Akesson B, Goossens K (2014) Dynamic command scheduling for real-time memory controllers. In: 26th Euromicro conference on real-time systems (ECRTS), pp 3–14

  • Nowotsch, J., Paulitsch, M.: Leveraging multi-core computing architectures in avionics. In: 2012 Ninth European dependable computing conference (EDCC), pp 132–143. IEEE, Washington, DC (2012)

  • Nowotsch J, Paulitsch M, Henrichsen A, Pongratz W, Schacht A (2014) Monitoring and wcet analysis in cots multi-core-soc-based mixed-criticality systems. In: Design, automation and test in Europe conference and exhibition (DATE), pp 1–5

  • Paolieri M, Quinones E, Cazorla F, Valero M (2009) An analyzable memory controller for hard real-time CMPs. IEEE Embe Syst Lett 1(4):86–90

    Article  Google Scholar 

  • Pellizzoni R, Schranzhofer A, Chen JJ, Caccamo M, Thiele L (2010) Worst case delay analysis for memory interference in multicore systems. In: Conference on design, automation and test in Europe, pp 741–746

  • Reineke J, Liu I, Patel H, Kim S, Lee EA (2011) PRET DRAM controller: bank privatization for predictability and temporal isolation. In: CODES+ISSS ’11: proceedings of the IEEE/ACM international conference on Hardware/software codesign and system synthesis, pp 99–108

  • Rodrigues V, Akesson B, Melo de Sousa S, Florido M (2013) A declarative compositional timing analysis for multicores using the latency-rate abstraction. Practical aspects of declarative languages. Lecture Notes in Computer Science, vol 7752. Springer, Berlin Heidelberg, pp 43–59

  • Rosén J, Andrei A, Eles P, Peng Z (2007) Bus access optimization for predictable implementation of real-time applications on multiprocessor systems-on-chip. In: Proceedings of the real-time systems symposium, pp 49–60

  • Schliecker S, Ernst R (2011) Real-time performance analysis of multiprocessor systems with shared memory. ACM Trans Embed Comput Syst 10:22:1–22:27

  • Schliecker S, Negrean M, Ernst R (2010) Bounding the shared resource load for the performance analysis of multiprocessor systems. In: Proceedings of the conference on design, automation and test in Europe, pp 759–764

  • Schranzhofer A, Chen JJ, Thiele L (2010) Timing analysis for TDMA arbitration in resource sharing systems. In: 16th IEEE real-time and embedded technology and applications symposium, pp 215–224

  • Schranzhofer A, Pellizzoni R, Chen JJ, Thiele L, Caccamo M (2010) Worst-case response time analysis of resource access models in multi-core systems. In: Proceedings of the 47th design automation conference. DAC’10. ACM, New York, pp 332–337

  • Schranzhofer A, Pellizzoni R, Chen JJ, Thiele L, Caccamo M (2011) Timing analysis for resource access interference on adaptive resource arbiters. In: Real-time and embedded technology and applications symposium

  • Shah H, Raabe A, Knoll A (2012) Bounding WCET of applications using SDRAM with priority based budget scheduling in MPSoCs. In: Design, automation test in Europe conference exhibition (DATE), pp 665–670

  • Thiele L, Chakraborty S, Naedele M (2000) Real-time calculus for scheduling hard real-time systems. In: The 2000 IEEE international symposium on circuits and systems, 2000. ISCAS 2000, Geneva, vol 4. IEEE Computer Society Press, Washington, DC, pp 101–104

  • van Berkel C (2009) Multi-core for mobile phones. In: Proceedings of design, automation and test in Europe conference, pp 1260–1265

  • Wenzel I, Kirner R, Rieder B, Puschner P (2009) Measurement-based timing analysis. Leveraging applications of formal methods verification and validation. Springer, Berlin

    Google Scholar 

  • Wilhelm R, Engblom J, Ermedahl A, Holsti N, Thesing S, Whalley D, Bernat G, Ferdinand C, Heckmann R, Mitra T, Mueller F, Puaut I, Puschner P, Staschulat J, Stenström P (2008) The worst-case execution-time problem - overview of methods and survey of tools. ACM Trans Embed Comput Syst 7:36:1–36:53

  • Wilhelm R, Grund D, Reineke J, Schlickling M, Pister M, Ferdinand C (2009) Memory hierarchies, pipelines, and buses for future architectures in time-critical embedded systems. Trans Comput-Aided Des Integ Circ Syst 28(7):966–978

    Article  Google Scholar 

  • Wu ZP, Krish Y, Pellizzoni R (2013) Worst case analysis of DRAM latency in multi-requestor systems. In: Proceedings of IEEE real-time systems symposium

  • Yun H, Yao G, Pellizzoni R, Caccamo M, Sha L (2012) Memory access control in multiprocessor for real-time systems with mixed criticality. In: 24th Euromicro conference on real-time systems (ECRTS), pp 299–308

  • Yun H, Yao G, Pellizzoni R, Caccamo M, Sha L (2013) Memguard: memory bandwidth reservation system for efficient performance isolation in multi-core platforms. In: IEEE 19th real-time and embedded technology and applications symposium (RTAS). IEEE Computer Society Press, Washington, DC, pp 55–64

  • Zhou M, Bock S, Ferreira A, Childers B, Melhem R, Mosse D (2011) Real-time scheduling for phase change main memory systems. In: TrustCom, ICESS11, pp 991–998

Download references

Acknowledgments

This work was partially supported by National Funds through FCT/MEC (Portuguese Foundation for Science and Technology) and co-financed by ERDF (European Regional Development Fund) under the PT2020 Partnership, within project UID/CEC/04234/2013 (CISTER Research Centre); by FCT/MEC and the EU ARTEMIS JU within project ARTEMIS/0001/2013—JU grant nr. 621429 (EMC2); by the North Portugal Regional Operational Programme (ON.2—O Novo Norte) under the National Strategic Reference Framework (NSRF), through ERDF, and by National Funds through FCT/MEC, within project NORTE-07-0124-FEDER-000063 (BEST-CASE, New Frontiers); and by the European Union under the Seventh Framework Programme (FP7/2007-2013), grant agreement n\(^{\circ }\) 611016 (P-SOCRATES) and by the European social fund within the framework of realizing the project “Support of inter-sectoral mobility and quality enhancement of research teams at Czech Technical University in Prague”, CZ.1.07/2.3.00/30.0034.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Dakshina Dasari.

Appendix

Appendix

This appendix contains the proofs of Lemmas 3,  4, and 5. These proofs are all quite long as they are all based on case enumeration. Although many of the cases in the proof are similar, some even identical, the presented proofs cover all cases exhaustively for completeness.

1.1 Proof of Lemma 3

Proof

We prove the lemma by induction. First, we show in the basic step that the claim is true considering only the first request \({\text {req}}_{i, 1}\) and its slot assignment \(\sigma _{i}(1)\). That is, we show that the release and service times given by Eqs. (7) and (8) result in a maximum cumulative delay \(\mathcal{D}_{i}(1) = {\text {srv}}_{i, 1} - {\text {rel}}_{i, 1}\). Then, in the inductive step, we show that if the claim is true considering the set of the first k requests, \(k \ge 1\) (induction hypothesis), then the property holds for the first \((k+1)\) requests as well. In other words, assuming that Eqs. (7) and (8) assign a release and service time to the k first requests that result in a maximum cumulative delay \(\mathcal{D}_{i}(k)\), then the same equations provide a maximum cumulative delay \(\mathcal{D}_{i}( k+1)\) when applied to the first \((k+1)\) requests. Both the basic and inductive steps are proven by showing that any other choice of release and service time, for any of the requests in the considered set of requests, results in a lower cumulative delay.

Basic step By considering only the first request \({\text {req}}_{i, 1}\), it is easy to see that any release time \({\text {rel}}_{i, 1}\) different from that given by Eq. (7) leads to \({\text {rel}}_{i, 1} > \mathcal{T}^{\min }_{i}(\sigma _{i}(1) - 1) + 1\). This follows from the fact that having \({\text {rel}}_{i, 1} < \mathcal{T}^{\min }_{i}(\sigma _{i}(1) - 1) + 1\) is not possible, as shown in Lemma 1. Besides, choosing any other release time \({\text {rel}}_{i, 1} > \mathcal{T}^{\min }_{i}(\sigma _{i}(1) - 1) + 1\) would have as sole impact, a decrease in the difference \(({\text {srv}}_{i, 1} - {\text {rel}}_{i, 1})\), and subsequently a lower delay \(\mathcal{D}_{i}( 1)\) incurred by request \({\text {req}}_{i, 1}\). In short, since \(\mathcal{T}^{\min }_{i}(\sigma _{i}(1) - 1) + 1\) is a lower bound on the release time of request \({\text {req}}_{i, 1}\) (from Lemma 1), choosing \({\text {rel}}_{i, 1} = \mathcal{T}^{\min }_{i}(\sigma _{i}(1) - 1) + 1\) is the best choice to guarantee a maximum delay for the first request. Similarly, since \(\min (\mathcal{T}^{\max }_{i}(\sigma _{i}(k)), {\text {rel}}_{i, k} + \mathcal{T}^{\max }_{i}(k))\) was shown to be an upper bound on the service time of request \({\text {req}}_{i, k}\), \(\forall k\) (see Lemma 2), it is easy to see that the choice of \({\text {srv}}_{i, 1}\) by Eq. (8) also guarantees a maximum delay for this first request. In conclusion, we showed that \(\mathcal{D}_{i}( 1) = {\text {srv}}_{i, 1} - {\text {rel}}_{i, 1}\) is maximum when \({\text {rel}}_{i, 1}\) and \({\text {srv}}_{i, 1}\) are given by the equations of Lemma 3.

Inductive step Assuming that Eqs. (7) and (8) define a release and a service time for the first k requests of \(\tau _i\) such that their cumulative delay \(\mathcal{D}_{i}( k)\) is maximized, we will show that defining \({\text {rel}}_{i, k+1}\) and \({\text {srv}}_{i, k+1}\) using the equations of Lemma 3 maximizes \(\mathcal{D}_{i}( k+1)\). By applying the same reasoning as in the basic step, it is evident that choosing any other value of \({\text {rel}}_{i, k+1}\) greater than its lower bound (given in Lemma 1 and Eq. (7)) and/or any other service time \({\text {srv}}_{i, k+1}\) lower than its upper bound (given in Lemma 2 and Eq. (8)) induces a lower delay for request \({\text {req}}_{i, k+1}\), and thus a lower cumulative delay \(\mathcal{D}_{i}( k+1)\).

However, it may be noted from the release-time equation (Eq. 7) that the choice of service time \({\text {srv}}_{i, k}\) of the previous request \({\text {req}}_{i, k}\) influences the lower bound on \({\text {rel}}_{i, k+1}\), and subsequently an upper bound on \({\text {srv}}_{i, k+1}\) (see Eq. (8)). One should therefore investigate the following question: although choosing \({\text {srv}}_{i, k} = \min ( \mathcal{T}^{\max }_{i}(\sigma _{i}(k)), {\text {rel}}_{i, k} + \mathcal{T}^{\max }_{i}(1))\) guarantees a maximum cumulative delay \(\mathcal{D}_{i}( k)\) for the first k requests (from the induction hypothesis), doing so might define a range of possible values for \({\text {rel}}_{i, k+1}\) that discards those leading to a maximum cumulative delay \(\mathcal{D}_{i}( k+1)\). The remainder of this proof consists of showing that any value of \({\text {srv}}_{i, k}\) different from that given by Eq. (8) results in a lower cumulative delay \(\mathcal{D}_{i}( k+1)\).

To figure out how \({\text {srv}}_{i, k}\) affects the range of possible values for \({\text {rel}}_{i, k+1}\) and \({\text {srv}}_{i, k+1}\), let us consider different values X and Y for \({\text {srv}}_{i, k}\), where \(X = \min ( \mathcal{T}^{\max }_{i}(\sigma _{i}(k)), {\text {rel}}_{i, k} + \mathcal{T}^{\max }_{i}(1))\) (as given by Expression (8)) and Y is any positive number \(< X\). We show in the following that \(\mathcal{D}_{i}( k+1)\) is always maximum for \({\text {srv}}_{i, k} = X\).

We first introduce two symbols for compaction and readability:

We know from Lemma 1 that \({\text {rel}}_{i, k+1} \ge \max ( \mathcal{K}_{k+1}^{{\text {min}}}, {\text {srv}}_{i, k} + \varDelta _{k+1} )\) and thus three cases may arise depending on the request-to-slot assignment \(\sigma _{i}(k+1)\) of request \({\text {req}}_{i, k+1}\) (these three cases are a simple enumeration of all possible “dominance” relations between the three considered terms):

  1. 1.

    \(\mathcal{K}_{k+1}^{{\text {min}}}\le Y + \varDelta _{k+1} < X +\,\varDelta _{k+1}\)

  2. 2.

    \(Y +\,\varDelta _{k+1} < \mathcal{K}_{k+1}^{{\text {min}}}\le X +\,\varDelta _{k+1}\)

  3. 3.

    \(Y +\,\varDelta _{k+1} \le X + \varDelta _{k+1} \le \mathcal{K}_{k+1}^{{\text {min}}}\)

We proceed by proving each of these cases.

Case 1 \(\mathcal{K}_{k+1}^{{\text {min}}}\le Y +\,\varDelta _{k+1} < X +\,\varDelta _{k+1}\)

In this case, choosing \({\text {srv}}_{i, k} = Y\) leads to \({\text {rel}}_{i, k+1} \ge Y + \varDelta _{k+1}\) (from Lemma 1). By setting \({\text {rel}}_{i, k+1}\) to \(Y + \varDelta _{k+1}\), we get

$$\begin{aligned} \mathcal{D}_{i}(k+1)= & {} \sum _{\ell =1}^{k+1} ({\text {srv}}_{i, \ell } - {\text {rel}}_{i, \ell }) \nonumber \\= & {} \sum _{\ell =1}^{k-1} ({\text {srv}}_{i, \ell } - {\text {rel}}_{i, \ell }) + ({\text {srv}}_{i, k} - {\text {rel}}_{i, k}) + ({\text {srv}}_{i, k+1} - {\text {rel}}_{i, k+1}) \nonumber \\= & {} \sum _{\ell =1}^{k-1} ({\text {srv}}_{i, \ell } - {\text {rel}}_{i, \ell }) + Y - {\text {rel}}_{i, k} + {\text {srv}}_{i, k+1} - (Y + \varDelta _{k+1}) \nonumber \\= & {} \sum _{\ell =1}^{k-1} ({\text {srv}}_{i, \ell } - {\text {rel}}_{i, \ell }) + {\text {srv}}_{i, k+1} - {\text {rel}}_{i, k} - \varDelta _{k+1} \end{aligned}$$
(21)

On the other hand, choosing \({\text {srv}}_{i, k} = X\) leads to \({\text {rel}}_{i, k+1}\ge X + \varDelta _{k+1}\) (from Lemma 1). Then, if we set \({\text {rel}}_{i, k+1}= X + \varDelta _{k+1}\) (i.e., the earliest possible release time) then applying the same reasoning as above leads to the same equality, i.e.,

$$\begin{aligned} \mathcal{D}_{i}(k+1) = \sum _{\ell =1}^{k-1} ({\text {srv}}_{i, \ell } - {\text {rel}}_{i, \ell }) + {\text {srv}}_{i, k+1} - {\text {rel}}_{i, k} - \varDelta _{k+1} \end{aligned}$$
(22)

Since (21) = (22), it is correct to claim that choosing \({\text {srv}}_{i, k} = X\) leads to a worst-case cumulative delay \(\mathcal{D}_{i}(k+1) \).

Case 2 \(Y +\,\varDelta _{k+1} < \mathcal{K}_{k+1}^{{\text {min}}}\le X +\,\varDelta _{k+1}\)

In this case, choosing \({\text {srv}}_{i, k} = Y\) leads to \({\text {rel}}_{i, k+1}\ge \mathcal{T}^{\min }_{}(\sigma _{i}(k+1)-1)\) (from Lemma 1). Let \({\text {rel}}_{i, k+1}= \mathcal{T}^{\min }_{i}(\sigma _{i}(k+1)-1)\) (i.e., the earliest possible release time-instant), from a reasoning similar to that above it holds that

$$\begin{aligned} \mathcal{D}_{i}(k+1)= & {} \sum _{\ell =1}^{k+1} ({\text {srv}}_{i, \ell } - {\text {rel}}_{i, \ell }) \nonumber \\= & {} \sum _{\ell =1}^{k-1} ({\text {srv}}_{i, \ell } - {\text {rel}}_{i, \ell }) + Y - {\text {rel}}_{i, k} + {\text {srv}}_{i, k+1} -\mathcal{K}_{k+1}^{{\text {min}}}\nonumber \\< & {} \sum _{\ell =1}^{k-1} ({\text {srv}}_{i, \ell } - {\text {rel}}_{i, \ell }) + Y - {\text {rel}}_{i, k} + {\text {srv}}_{i, k+1} - (Y + \varDelta _{k+1}) \nonumber \\< & {} \sum _{\ell =1}^{k-1} ({\text {srv}}_{i, \ell } - {\text {rel}}_{i, \ell }) - {\text {rel}}_{i, k} + {\text {srv}}_{i, k+1} - \varDelta _{k+1} \end{aligned}$$
(23)

On the other hand, choosing \({\text {srv}}_{i, k} = X\) leads to \({\text {rel}}_{i, k+1}\ge X + \varDelta _{k+1}\) (from Lemma 1). If \({\text {rel}}_{i, k+1}= X + \varDelta _{k+1}\), then the cumulative delay \(\mathcal{D}_{i}(k+1) \) of requests \({\text {req}}_{_, 1}, {\text {req}}_{_, 2}, \ldots , {\text {req}}_{_, k+1}\) is given by

$$\begin{aligned} \mathcal{D}_{i}(k+1)= & {} \sum _{\ell =1}^{k+1} ({\text {srv}}_{i, \ell } - {\text {rel}}_{i, \ell }) \nonumber \\= & {} \sum _{\ell =1}^{k-1} ({\text {srv}}_{i, \ell } - {\text {rel}}_{i, \ell }) + X - {\text {rel}}_{i, k} + {\text {srv}}_{i, k+1} -\mathcal{K}_{k+1}^{{\text {min}}}\nonumber \\\ge & {} \sum _{\ell =1}^{k-1} ({\text {srv}}_{i, \ell } - {\text {rel}}_{i, \ell }) + X - {\text {rel}}_{i, k} + {\text {srv}}_{i, k+1} - (X + \varDelta _{k+1}) \nonumber \\\ge & {} \sum _{\ell =1}^{k-1} ({\text {srv}}_{i, \ell } - {\text {rel}}_{i, \ell }) - {\text {rel}}_{i, k} + {\text {srv}}_{i, k+1} - \varDelta _{k+1} \end{aligned}$$
(24)

Since (24) \(>\) (23), we can conclude that the cumulative delay is higher for \({\text {srv}}_{i, k} = X\).

Case 3 \(Y + \varDelta _{k+1} \le X + \varDelta _{k+1} \le \mathcal{K}_{k+1}^{{\text {min}}}\)

In this case, choosing either \({\text {srv}}_{i, k} = Y\) or \({\text {srv}}_{i, k} = X\) leads to \({\text {rel}}_{i, k+1}\ge \mathcal{T}^{\min }_{i}({\text {srv}}_{i, k+1}-1)\) (from Lemma 1). Therefore, the range of possible values for \({\text {rel}}_{i, k+1}\) is not affected by the choice of \({\text {srv}}_{i, k}\) and the maximum cumulative delay is obviously obtained for \({\text {srv}}_{i, k} = X\). \(\square \)

1.2 Proof of Lemma 4

Proof

The proof must show that given Conditions (9), (10), and (11), Eqs. (12), (13), and (14) hold. From the claim itself, Eq. (12) trivially holds. We stated this equality only for completeness in order to show that the situation after assigning the (\(k+1\))’th request is identical to the situation before assigning it. Let us start the proof by introducing some symbols to improve readability:

According to these new symbols and the equations of Lemma 3, the four quantities \({\text {srv}}_{i,k+1}\), \({\text {rel}}_{i,k+1}\), \({\text {srv}}_{i,k+1}'\), and \({\text {rel}}_{i,k+1}'\) can be re-written as

$$\begin{aligned} {\text {rel}}_{i,k+1}= & {} \max \big (\mathcal{K}_{k+1}^{{\text {min}}}, {\text {srv}}_{i,k} +~\varDelta _{k+1}\big )\end{aligned}$$
(25)
$$\begin{aligned} {\text {srv}}_{i,k+1}= & {} \min \big (\mathcal{K}_{k+1}^{{\text {max}}}, {\text {rel}}_{i,k+1} +~ \mathcal{T}^{\max }_{i}(1)\big ) \end{aligned}$$
(26)
$$\begin{aligned} {\text {rel}}_{i,k+1}'= & {} \max \big (\mathcal{K}_{k+1}^{{\text {min}}}, {\text {srv}}_{i,k}' +~ \varDelta '_{k+1}\big ) \end{aligned}$$
(27)
$$\begin{aligned} {\text {srv}}_{i,k+1}'= & {} \min \big (\mathcal{K}_{k+1}^{{\text {max}}}, {\text {rel}}_{i,k+1}' +~ \mathcal{T}^{\max }_{i}(1)\big ) \end{aligned}$$
(28)

From (11), it holds that

$$\begin{aligned} {\text {srv}}_{i,k}' - \sigma _{i}'(k) \times {\text {TR}}\le {\text {srv}}_{i,k} - \sigma _{i}(k) \times {\text {TR}}\end{aligned}$$

By adding \(h \times {\text {TR}}\) to both sides of this inequality, we get

$$\begin{aligned} {\text {srv}}_{i,k}' + (h - \sigma _{i}'(k)) \times {\text {TR}}\le {\text {srv}}_{i,k} + (h - \sigma _{i}(k)) \times {\text {TR}}\end{aligned}$$

and the symbols \(\varDelta _{k+1}\) and \(\varDelta '_{k+1}\) can now be used to simplify this result:

$$\begin{aligned} {\text {srv}}_{i,k}' + \varDelta '_{k+1} \le {\text {srv}}_{i,k} +~ \varDelta _{k+1} \end{aligned}$$
(29)

In order to prove that Inequalities (13) and (14) always hold true, we must investigate three cases. These three cases simply come from an enumeration of all possible “dominance” relations between the three terms \(\mathcal{K}_{k+1}^{{\text {min}}}\), \({\text {srv}}_{i,k} + \varDelta _{k+1}\), and \({\text {srv}}_{i,k}' + \varDelta '_{k+1}\):

  • Case 1 \({\text {srv}}_{i,k}' + ~\varDelta '_{k+1} \le {\text {srv}}_{i,k} + ~\varDelta _{k+1} \le \mathcal{K}_{k+1}^{{\text {min}}}\)

  • Case 2 \({\text {srv}}_{i,k}' + ~\varDelta '_{k+1} \le \mathcal{K}_{k+1}^{{\text {min}}}\le {\text {srv}}_{i,k} + ~\varDelta _{k+1}\)

  • Case 3 \(\mathcal{K}_{k+1}^{{\text {min}}}\le {\text {srv}}_{i,k}' + ~\varDelta '_{k+1} \le {\text {srv}}_{i,k} + ~\varDelta _{k+1}\)

Case 1 \({\text {srv}}_{i,k}' + \varDelta '_{k+1} \le {\text {srv}}_{i,k} + \varDelta _{k+1} \le \mathcal{K}_{k+1}^{{\text {min}}}\)

In this case, we have

These service times trivially satisfy Condition (14) since \(\sigma _{i}(k+1) = \sigma _{i}'(k+1) = h\). Then, using \({\text {rel}}_{i,k+1} = {\text {rel}}_{i,k+1}'\), \({\text {srv}}_{i,k+1} = {\text {srv}}_{i,k+1}'\), and \(\mathcal{D}_{i}(k) \le \mathcal{D}_{i}'(k)\) from (10), we get

$$\begin{aligned} \mathcal{D}_{i}(k) + {\text {srv}}_{i,k+1} - {\text {rel}}_{i,k+1} \le \mathcal{D}_{i}'(k) + {\text {srv}}_{i,k+1}' - {\text {rel}}_{i,k+1}' \end{aligned}$$

This inequality can be re-written as

$$\begin{aligned} \mathcal{D}_{i}(k+1) \le \mathcal{D}_{i}'(k+1) \end{aligned}$$

which satisfies Condition (13).

Case 2 \({\text {srv}}_{i,k}' +~ \varDelta '_{k+1} \le \mathcal{K}_{k+1}^{{\text {min}}}\le {\text {srv}}_{i,k} +~ \varDelta _{k+1}\)

In this case, from (25) and (27) we have the following relation between the release time-instants of the \((k+1)\)’th request in the mappings \(\mathbb {M}_i\) and \(\mathbb {M}'_i\):

$$\begin{aligned} {\text {rel}}_{i,k+1} = {\text {srv}}_{i,k} +\,\varDelta _{k+1} \ge {\text {rel}}_{i,k+1}' = \mathcal{K}_{k+1}^{{\text {min}}}\end{aligned}$$
(30)

Next, we need to handle the relation between the service times \({\text {srv}}_{i,k+1}\) and \({\text {srv}}_{i,k+1}'\) of this last request and we must explore three more sub-cases. These three sub-cases simply come from an enumeration of all possible “dominance” relations between the three terms \(\mathcal{K}_{k+1}^{{\text {max}}}\), \({\text {rel}}_{i,k+1} +~ \mathcal{T}^{\max }_{i}(1)\), and \({\text {rel}}_{i,k+1}' +~ \mathcal{T}^{\max }_{i}(1)\):

  • Case 2.1 \({\text {rel}}_{i,k+1}' +\,\mathcal{T}^{\max }_{i}(1) \le {\text {rel}}_{i,k+1} +\,\mathcal{T}^{\max }_{i}(1) \le \mathcal{K}_{k+1}^{{\text {max}}}\)

  • Case 2.2 \({\text {rel}}_{i,k+1}' +\,\mathcal{T}^{\max }_{i}(1) \le \mathcal{K}_{k+1}^{{\text {max}}}\le {\text {rel}}_{i,k+1} +\,\mathcal{T}^{\max }_{i}(1)\)

  • Case 2.3 \(\mathcal{K}_{k+1}^{{\text {max}}}\le {\text {rel}}_{i,k+1}' +\,\mathcal{T}^{\max }_{i}(1) \le {\text {rel}}_{i,k+1} +\,\mathcal{T}^{\max }_{i}(1)\)

Case 2.1 \({\text {rel}}_{i,k+1}' +\,\mathcal{T}^{\max }_{i}(1) \le {\text {rel}}_{i,k+1} +\,\mathcal{T}^{\max }_{i}(1) \le \mathcal{K}_{k+1}^{{\text {max}}}\)

In this particular sub-case, it holds from (26) and (28) that

$$\begin{aligned} {\text {srv}}_{i,k+1}= & {} {\text {rel}}_{i,k+1} +~\mathcal{T}^{\max }_{i}(1)\end{aligned}$$
(31)
$$\begin{aligned} {\text {srv}}_{i,k+1}'= & {} {\text {rel}}_{i,k+1}' +~\mathcal{T}^{\max }_{i}(1) \end{aligned}$$
(32)

and it immediately follows from (30), (31) and (32) that \({\text {srv}}_{i,k+1} \ge {\text {srv}}_{i,k+1}'\) , which satisfies Condition (14) since \(\sigma _{i}(k+1) = \sigma _{i}'(k+1) =~h\). Also from (31) and (32), it holds that \({\text {srv}}_{i,k+1} - {\text {rel}}_{i,k+1} = \mathcal{T}^{\max }_{i}(1) = {\text {srv}}_{i,k+1}' - {\text {rel}}_{i,k+1}'\) and by using this equality together with \(\mathcal{D}_{i}(k) \le \mathcal{D}_{i}'(k)\) from (10), we obtain

$$\begin{aligned} \mathcal{D}_{i}(k) + \mathcal{T}^{\max }_{i}(1) \le \mathcal{D}_{i}'(k) + \mathcal{T}^{\max }_{i}(1) \end{aligned}$$

and thus

$$\begin{aligned} \mathcal{D}_{i}(k) + {\text {srv}}_{i,k+1} - {\text {rel}}_{i,k+1} \le \mathcal{D}_{i}'(k) + {\text {srv}}_{i,k+1}' - {\text {rel}}_{i,k+1}' \end{aligned}$$

By re-writing this inequality we get

$$\begin{aligned} \mathcal{D}_{i}(k+1) \le \mathcal{D}_{i}'(k+1) \end{aligned}$$

which satisfies Condition (13).

Case 2.2 \({\text {rel}}_{i,k+1}' +\,\mathcal{T}^{\max }_{i}(1) \le \mathcal{K}_{k+1}^{{\text {max}}}\le {\text {rel}}_{i,k+1} +\,\mathcal{T}^{\max }_{i}(1)\)

In this case, we have

It thus holds from Case 2.2 that \({\text {srv}}_{i,k+1} \ge {\text {srv}}_{i,k+1}'\) and these service times trivially satisfy Condition (14) since \(\sigma _{i}(k+1) = \sigma _{i}'(k+1) = h\). Then, assuming by contradiction that Condition (13) is not satisfied, we must have:

$$\begin{aligned} \mathcal{D}_{i}(k+1) > \mathcal{D}_{i}'(k+1) \end{aligned}$$

which can be re-written as

$$\begin{aligned} \mathcal{D}_{i}(k) + {\text {srv}}_{i,k+1} - {\text {rel}}_{i,k+1} > \mathcal{D}_{i}'(k) + {\text {srv}}_{i,k+1}' - {\text {rel}}_{i,k+1}' \end{aligned}$$

By replacing \({\text {srv}}_{i,k+1}\) and \({\text {srv}}_{i,k+1}'\) with their values, we get

$$\begin{aligned} \mathcal{D}_{i}(k) + \mathcal{K}_{k+1}^{{\text {max}}}- {\text {rel}}_{i,k+1} > \mathcal{D}_{i}'(k) + \mathcal{T}^{\max }_{i}(1) \end{aligned}$$

and then,

$$\begin{aligned} \mathcal{D}_{i}(k) > \mathcal{D}_{i}'(k) + \mathcal{T}^{\max }_{i}(1) - (\mathcal{K}_{k+1}^{{\text {max}}}- {\text {rel}}_{i,k+1}) \end{aligned}$$

and since from Case 2.2 \(\mathcal{K}_{k+1}^{{\text {max}}}- {\text {rel}}_{i,k+1} \le \mathcal{T}^{\max }_{i}(1)\), it follows from the above inequality that

$$\begin{aligned} \mathcal{D}_{i}(k) > \mathcal{D}_{i}'(k) \end{aligned}$$

which contradicts Condition (10). This contradiction implies that Condition (13) is satisfied.

Case 2.3 \(\mathcal{K}_{k+1}^{{\text {max}}}\le {\text {rel}}_{i,k+1}' +\,\mathcal{T}^{\max }_{i}(1) \le {\text {rel}}_{i,k+1} +\,\mathcal{T}^{\max }_{i}(1)\)

In this case it holds from (26) and (28) that

$$\begin{aligned} {\text {srv}}_{i,k+1} = {\text {srv}}_{i,k+1}' = \mathcal{K}_{k+1}^{{\text {max}}}\end{aligned}$$

and it immediately follows that \({\text {srv}}_{i,k+1} \ge {\text {srv}}_{i,k+1}'\), which satisfies Condition (14) since \(\sigma _{i}(k+1) = \sigma _{i}'(k+1) = h\). Then, assuming by contradiction that Condition (13) is not satisfied, we must have:

$$\begin{aligned} \mathcal{D}_{i}(k+1) > \mathcal{D}_{i}'(k+1) \end{aligned}$$

which can be re-written as

$$\begin{aligned} \mathcal{D}_{i}(k) + {\text {srv}}_{i,k+1} - {\text {rel}}_{i,k+1} > \mathcal{D}_{i}'(k) + {\text {srv}}_{i,k+1}' - {\text {rel}}_{i,k+1}' \end{aligned}$$

By replacing \({\text {srv}}_{i,k+1}\) and \({\text {srv}}_{i,k+1}'\) with their values, we get

$$\begin{aligned} \mathcal{D}_{i}(k) + \mathcal{K}_{k+1}^{{\text {max}}}- {\text {rel}}_{i,k+1} > \mathcal{D}_{i}'(k) + \mathcal{K}_{k+1}^{{\text {max}}}- {\text {rel}}_{i,k+1}' \end{aligned}$$

and then,

$$\begin{aligned} \mathcal{D}_{i}(k) > \mathcal{D}_{i}'(k) + {\text {rel}}_{i,k+1} - {\text {rel}}_{i,k+1}' \end{aligned}$$

From Eq. (30), a case condition of Case 2,we have \({\text {rel}}_{i,k+1} \ge {\text {rel}}_{i,k+1}'\) and it follows from the above inequality that

$$\begin{aligned} \mathcal{D}_{i}(k) > \mathcal{D}_{i}'(k) \end{aligned}$$

which contradicts Condition (10). This contradiction implies that Condition (13) is satisfied.

Case 3 \(\mathcal{K}_{k+1}^{{\text {min}}}\le {\text {srv}}_{i,k}' +\,\varDelta '_{k+1} \le {\text {srv}}_{i,k} +\,\varDelta _{k+1}\)

In this case, from (25) and (27) we have the following relation between the release time-instants of the \((k+1)\)’th request in the mappings \(\mathbb {M}_i\) and \(\mathbb {M}'_i\):

$$\begin{aligned} {\text {rel}}_{i,k+1}&= {\text {srv}}_{i,k} +\,\varDelta _{k+1} \\ {\text {rel}}_{i,k+1}'&= {\text {srv}}_{i,k}' +\,\varDelta '_{k+1} \end{aligned}$$

Next, we need to handle the relation between the service times \({\text {srv}}_{i,k+1}\) and \({\text {srv}}_{i,k+1}'\) of this last request and we hence have the same three sub-cases to explore as in Case 2, but with the slightly different case conditions of Case 3.

  • Case 3.1 \({\text {rel}}_{i,k+1}' +\,\mathcal{T}^{\max }_{i}(1) \le {\text {rel}}_{i,k+1} +\,\mathcal{T}^{\max }_{i}(1) \le \mathcal{K}_{k+1}^{{\text {max}}}\)

  • Case 3.2 \({\text {rel}}_{i,k+1}' +\,\mathcal{T}^{\max }_{i}(1) \le \mathcal{K}_{k+1}^{{\text {max}}}\le {\text {rel}}_{i,k+1} +\,\mathcal{T}^{\max }_{i}(1)\)

  • Case 3.3 \(\mathcal{K}_{k+1}^{{\text {max}}}\le {\text {rel}}_{i,k+1}' +\,\mathcal{T}^{\max }_{i}(1) \le {\text {rel}}_{i,k+1} +\,\mathcal{T}^{\max }_{i}(1)\)

Case 3.1 \({\text {rel}}_{i,k+1}' +\,\mathcal{T}^{\max }_{i}(1) \le {\text {rel}}_{i,k+1} +\,\mathcal{T}^{\max }_{i}(1) \le \mathcal{K}_{k+1}^{{\text {max}}}\)

From (26) and (28), we get

$$\begin{aligned} {\text {srv}}_{i,k+1}= & {} {\text {rel}}_{i,k+1} +~ \mathcal{T}^{\max }_{i}(1)\end{aligned}$$
(33)
$$\begin{aligned} \text{ and } {\text {srv}}_{i,k+1}'= & {} {\text {rel}}_{i,k+1}' + ~\mathcal{T}^{\max }_{i}(1) \end{aligned}$$
(34)

and it immediately follows from (33) and (34) that \({\text {srv}}_{i,k+1} \ge {\text {srv}}_{i,k+1}'\), which satisfies Condition (14) since \(\sigma _{i}(k+1) = \sigma _{i}'(k+1) = h\). Also from (33) and (34), it holds that \({\text {srv}}_{i,k+1} - {\text {rel}}_{i,k+1} = \mathcal{T}^{\max }_{i}(1) = {\text {srv}}_{i,k+1}' - {\text {rel}}_{i,k+1}'\). Similarly to Case 2.1, by using this equality together with \(\mathcal{D}_{i}(k) \le \mathcal{D}_{i}'(k)\) from (10), we obtain

$$\begin{aligned} \mathcal{D}_{i}(k) + \mathcal{T}^{\max }_{i}(1) \le \mathcal{D}_{i}'(k) + \mathcal{T}^{\max }_{i}(1) \end{aligned}$$

and thus

$$\begin{aligned} \mathcal{D}_{i}(k) + {\text {srv}}_{i,k+1} - {\text {rel}}_{i,k+1} \le \mathcal{D}_{i}'(k) + {\text {srv}}_{i,k+1}' - {\text {rel}}_{i,k+1}' \end{aligned}$$

By re-writing this inequality we get

$$\begin{aligned} \mathcal{D}_{i}(k+1) \le \mathcal{D}_{i}'(k+1) \end{aligned}$$

which satisfies Condition (13).

Case 3.2 \({\text {rel}}_{i,k+1}' +\,\mathcal{T}^{\max }_{i}(1) \le \mathcal{K}_{k+1}^{{\text {max}}}\le {\text {rel}}_{i,k+1} +\,\mathcal{T}^{\max }_{i}(1)\)

In this case, we have

$$\begin{aligned} {\text {srv}}_{i,k+1}= & {} \mathcal{K}_{k+1}^{{\text {max}}} \text{ from } \text{(26) } \\ {\text {srv}}_{i,k+1}'= & {} {\text {rel}}_{i,k+1}' +\,\mathcal{T}^{\max }_{i}(1) \text{ from } \text{(28) } \end{aligned}$$

It thus holds from Case 3.2 that \({\text {srv}}_{i,k+1} \ge {\text {srv}}_{i,k+1}'\) and these service times trivially satisfy Condition (14) since \(\sigma _{i}(k+1) = \sigma _{i}'(k+1) = h\). Then, assuming by contradiction that Condition (13) is not satisfied, we must have:

$$\begin{aligned} \mathcal{D}_{i}(k+1) > \mathcal{D}_{i}'(k+1) \end{aligned}$$

which can be re-written as

$$\begin{aligned} \mathcal{D}_{i}(k) + {\text {srv}}_{i,k+1} - {\text {rel}}_{i,k+1} > \mathcal{D}_{i}'(k) + {\text {srv}}_{i,k+1}' - {\text {rel}}_{i,k+1}' \end{aligned}$$

By replacing \({\text {srv}}_{i,k+1}\) and \({\text {srv}}_{i,k+1}'\) with their values, we get

$$\begin{aligned} \mathcal{D}_{i}(k) + \mathcal{K}_{k+1}^{{\text {max}}}- {\text {rel}}_{i,k+1} > \mathcal{D}_{i}'(k) + \mathcal{T}^{\max }_{i}(1) \end{aligned}$$

and then,

$$\begin{aligned} \mathcal{D}_{i}(k) > \mathcal{D}_{i}'(k) + \mathcal{T}^{\max }_{i}(1) - (\mathcal{K}_{k+1}^{{\text {max}}}- {\text {rel}}_{i,k+1}) \end{aligned}$$

and since from Case 3.2 \(\mathcal{K}_{k+1}^{{\text {max}}}- {\text {rel}}_{i,k+1} \le \mathcal{T}^{\max }_{i}(1)\), it follows from the above inequality that

$$\begin{aligned} \mathcal{D}_{i}(k) > \mathcal{D}_{i}'(k) \end{aligned}$$

which contradicts Condition (10). This contradiction implies that Condition (13) is satisfied.

Case 3.3 \(\mathcal{K}_{k+1}^{{\text {max}}}\le {\text {rel}}_{i,k+1}' +\,\mathcal{T}^{\max }_{i}(1) \le {\text {rel}}_{i,k+1} +\,\mathcal{T}^{\max }_{i}(1)\)

In this case, it holds from (26) and (28) that

$$\begin{aligned} {\text {srv}}_{i,k+1} = {\text {srv}}_{i,k+1}' = \mathcal{K}_{k+1}^{{\text {max}}}\end{aligned}$$

and it immediately follows that \({\text {srv}}_{i,k+1} \ge {\text {srv}}_{i,k+1}'\), which satisfies Condition (14) since \(\sigma _{i}(k+1) = \sigma _{i}'(k+1) = h\). Then, assuming by contradiction that Condition (13) is not satisfied, we must have:

$$\begin{aligned} \mathcal{D}_{i}(k+1) > \mathcal{D}_{i}'(k+1) \end{aligned}$$

which can be re-written as

$$\begin{aligned} \mathcal{D}_{i}(k) + {\text {srv}}_{i,k+1} - {\text {rel}}_{i,k+1} > \mathcal{D}_{i}'(k) + {\text {srv}}_{i,k+1}' - {\text {rel}}_{i,k+1}' \end{aligned}$$

By replacing \({\text {srv}}_{i,k+1}\) and \({\text {srv}}_{i,k+1}'\) with their values, we get

$$\begin{aligned} \mathcal{D}_{i}(k) + \mathcal{K}_{k+1}^{{\text {max}}}- {\text {rel}}_{i,k+1} > \mathcal{D}_{i}'(k) + \mathcal{K}_{k+1}^{{\text {max}}}- {\text {rel}}_{i,k+1}' \end{aligned}$$

and then,

$$\begin{aligned} \mathcal{D}_{i}(k) > \mathcal{D}_{i}'(k) + {\text {rel}}_{i,k+1} - {\text {rel}}_{i,k+1}' \end{aligned}$$

From Case 3.3, we have \({\text {rel}}_{i,k+1} \ge {\text {rel}}_{i,k+1}'\) and it follows from the above inequality that

$$\begin{aligned} \mathcal{D}_{i}(k) > \mathcal{D}_{i}'(k) \end{aligned}$$

which contradicts Condition (10). This contradiction implies that Condition (13) is satisfied. \(\square \)

1.3 Proof of Lemma 5

Proof

The proof must show that given Conditions (15), (16), and (17), Eqs. (18), (19), and (20) hold. From the claim itself, Eq. (18) trivially holds since \(\sigma _{i}(k+1) = \sigma _{i}'(k+1) = h\). We stated this equality only for completeness in order to show that the situation after assigning the (\(k+1\))’th request is same as the situation before assigning it. Let us start the proof by introducing some symbols to improve readability:

According to these new symbols and from the equations of Lemma 3, the four quantities \({\text {srv}}_{i,k+1}\), \({\text {rel}}_{i,k+1}\), \({\text {srv}}_{i,k+1}'\), and \({\text {rel}}_{i,k+1}'\) can be re-written as

$$\begin{aligned} {\text {rel}}_{i,k+1}= & {} \max \big (\mathcal{K}_{k+1}^{{\text {min}}}, {\text {srv}}_{i,k} +\,\varDelta _{k+1}\big )\end{aligned}$$
(35)
$$\begin{aligned} {\text {srv}}_{i,k+1}= & {} \min \big (\mathcal{K}_{k+1}^{{\text {max}}}, {\text {rel}}_{i,k+1} +\,\mathcal{T}^{\max }_{i}(1)\big )\end{aligned}$$
(36)
$$\begin{aligned} {\text {rel}}_{i,k+1}'= & {} \max \big (\mathcal{K}_{k+1}^{{\text {min}}}, {\text {srv}}_{i,k}' +\,\varDelta '_{k+1}\big )\end{aligned}$$
(37)
$$\begin{aligned} {\text {srv}}_{i,k+1}'= & {} \min \big (\mathcal{K}_{k+1}^{{\text {max}}}, {\text {rel}}_{i,k+1}' +\,\mathcal{T}^{\max }_{i}(1)\big ) \end{aligned}$$
(38)

According to (17), we have

$$\begin{aligned} {\text {srv}}_{i,k} - \sigma _{i}(k) \times {\text {TR}}\le {\text {srv}}_{i,k}' - \sigma _{i}'(k) \times {\text {TR}}\end{aligned}$$

and by adding “\(h \times {\text {TR}}\)” to both sides we get

$$\begin{aligned} {\text {srv}}_{i,k} + (h - \sigma _{i}(k)) \times {\text {TR}}\le {\text {srv}}_{i,k}' + (h - \sigma _{i}'(k)) \times {\text {TR}}\end{aligned}$$

which gives, by definition of \(\varDelta _{k+1}\) and \(\varDelta '_{k+1}\),

$$\begin{aligned} {\text {srv}}_{i,k} +\,\varDelta _{k+1} \le {\text {srv}}_{i,k}' +\,\varDelta '_{k+1} \end{aligned}$$
(39)

With the help of Inequality (39), we will now prove that Inequalities (19) and (20) always hold true (remember that Inequality (18) is always satisfied). Note that both Inequalities (19) and (20) are indirectly based on the release and service time of the \((k+1)\)’th request in both mappings \(\mathbb {M}_i\) and \(\mathbb {M}_i'\), i.e. they are based on the four quantities \({\text {srv}}_{i,k+1}\), \({\text {rel}}_{i,k+1}\), \({\text {srv}}_{i,k+1}'\), and \({\text {rel}}_{i,k+1}'\). Therefore, if we first focus on the relation between the release times \({\text {rel}}_{i,k+1}\) and \({\text {rel}}_{i,k+1}'\) in the two mappings \(\mathbb {M}_i\) and \(\mathbb {M}_i'\) then it holds from (39), (35), and (37) that only three cases must be investigated:

  • Case 1 \({\text {srv}}_{i,k} +\,\varDelta _{k+1} \le {\text {srv}}_{i,k}' +\,\varDelta '_{k+1} \le \mathcal{K}_{k+1}^{{\text {min}}}\)

  • Case 2 \({\text {srv}}_{i,k} +\,\varDelta _{k+1} \le \mathcal{K}_{k+1}^{{\text {min}}}\le {\text {srv}}_{i,k}' +\,\varDelta '_{k+1}\)

  • Case 3 \(\mathcal{K}_{k+1}^{{\text {min}}}\le {\text {srv}}_{i,k} +\,\varDelta _{k+1} \le {\text {srv}}_{i,k}' +\,\varDelta '_{k+1}\)

Case 1 \({\text {srv}}_{i,k} +\,\varDelta _{k+1} \le {\text {srv}}_{i,k}' +\,\varDelta '_{k+1} \le \mathcal{K}_{k+1}^{{\text {min}}}\)

Proof of (20) In this case, we have from (35) and (37), \({\text {rel}}_{i,k+1} = {\text {rel}}_{i,k+1}' = \mathcal{K}_{k+1}^{{\text {min}}}\) and from (36) and (38), \({\text {srv}}_{i,k+1} = {\text {srv}}_{i,k+1}'\) , which satisfies (20) since \(\sigma _{i}(k+1) = \sigma _{i}'(k+1) = h\).

Proof of (19) By combining (15) with (17) we get \({\text {srv}}_{i,k} \le {\text {srv}}_{i,k}'\) and thus it holds from Inequality (16) that \(\mathcal{D}_{i}(k) \le \mathcal{D}_{i}'(k)\). Therefore, since \({\text {rel}}_{i,k+1} = {\text {rel}}_{i,k+1}'\) and \({\text {srv}}_{i,k+1} = {\text {srv}}_{i,k+1}'\) it also holds that

$$\begin{aligned} \mathcal{D}_{i}(k) + {\text {srv}}_{i,k+1} - {\text {rel}}_{i,k+1} \le \mathcal{D}_{i}'(k) + {\text {srv}}_{i,k+1}' - {\text {rel}}_{i,k+1}' \end{aligned}$$

and thus,

$$\begin{aligned} \mathcal{D}_{i}(k+1) \le \mathcal{D}_{i}'(k+1) \end{aligned}$$

and since \({\text {srv}}_{i,k+1} = {\text {srv}}_{i,k+1}'\) in this case, we can write

$$\begin{aligned} \mathcal{D}_{i}(k+1) + ({\text {srv}}_{i,k+1}' - {\text {srv}}_{i,k+1})\le \mathcal{D}_{i}'(k+1) \end{aligned}$$

which satisfies (19).

Case 2 \({\text {srv}}_{i,k} +\,\varDelta _{k+1} \le \mathcal{K}_{k+1}^{{\text {min}}}\le {\text {srv}}_{i,k}' +\,\varDelta '_{k+1} \)

In this case, we get from (35) and (37),

$$\begin{aligned} {\text {rel}}_{i,k+1}' = {\text {srv}}_{i,k}' +\,\varDelta '_{k+1} \ge {\text {rel}}_{i,k+1} = \mathcal{K}_{k+1}^{{\text {min}}}\end{aligned}$$
(40)

Next, we need to handle the relation between the service times \({\text {srv}}_{i,k+1}\) and \({\text {srv}}_{i,k+1}'\) in the two mappings \(\mathbb {M}_i\) and \(\mathbb {M}_i'\) and it holds from (36) and (38) that we have three more sub-cases to explore:

  • Case 2.1 \({\text {rel}}_{i,k+1} +\,\mathcal{T}^{\max }_{i}(1) \le {\text {rel}}_{i,k+1}' +\,\mathcal{T}^{\max }_{i}(1) \le \mathcal{K}_{k+1}^{{\text {max}}}\)

  • Case 2.2 \({\text {rel}}_{i,k+1} +\,\mathcal{T}^{\max }_{i}(1) \le \mathcal{K}_{k+1}^{{\text {max}}}\le {\text {rel}}_{i,k+1}' +\,\mathcal{T}^{\max }_{i}(1)\)

  • Case 2.3 \(\mathcal{K}_{k+1}^{{\text {max}}}\le {\text {rel}}_{i,k+1} +\,\mathcal{T}^{\max }_{i}(1) \le {\text {rel}}_{i,k+1}' +\,\mathcal{T}^{\max }_{i}(1)\)

Case 2.1 \({\text {rel}}_{i,k+1} + \mathcal{T}^{\max }_{i}(1) \le {\text {rel}}_{i,k+1}' + \mathcal{T}^{\max }_{i}(1) \le \mathcal{K}_{k+1}^{{\text {max}}}\)

Proof of (20) From (36) and (38) we get

$$\begin{aligned} {\text {srv}}_{i,k+1}= & {} {\text {rel}}_{i,k+1} +\,\mathcal{T}^{\max }_{i}(1)\end{aligned}$$
(41)
$$\begin{aligned} {\text {srv}}_{i,k+1}'= & {} {\text {rel}}_{i,k+1}' +\,\mathcal{T}^{\max }_{i}(1) \end{aligned}$$
(42)

From (40), (41) and (42), it immediately follows that \({\text {srv}}_{i,k+1} \le {\text {srv}}_{i,k+1}'\), which satisfies (20) since \(\sigma _{i}(k+1) = \sigma _{i}'(k+1) =~h\).

Proof of (19) Also from (41) and (42), it holds that \({\text {srv}}_{i,k+1} - {\text {rel}}_{i,k+1} = \mathcal{T}^{\max }_{i}(1) = {\text {srv}}_{i,k+1}' - {\text {rel}}_{i,k+1}'\). Using \(\mathcal{D}_{i}(k) + ({\text {srv}}_{i,k}' - {\text {srv}}_{i,k}) \le \mathcal{D}_{i}'(k)\) from (16), we get

$$\begin{aligned} \mathcal{D}_{i}(k) + \big ({\text {srv}}_{i,k}' - {\text {srv}}_{i,k}\big ) + \mathcal{T}^{\max }_{i}(1) \le \mathcal{D}_{i}'(k) + \mathcal{T}^{\max }_{i}(1) \end{aligned}$$

and thus

$$\begin{aligned} \mathcal{D}_{i}(k) + \big ({\text {srv}}_{i,k}' - {\text {srv}}_{i,k}\big ) + {\text {srv}}_{i,k+1} - {\text {rel}}_{i,k+1} \le \mathcal{D}_{i}'(k) + {\text {srv}}_{i,k+1}' - {\text {rel}}_{i,k+1}' \end{aligned}$$

which implies

$$\begin{aligned} \mathcal{D}_{i}(k+1) + \big ({\text {srv}}_{i,k}' - {\text {srv}}_{i,k}\big ) \le \mathcal{D}_{i}'(k+1) \end{aligned}$$
(43)

Now, we have:

$$\begin{aligned} {\text {srv}}_{i,k+1}' - {\text {srv}}_{i,k+1} =&{\text {rel}}_{i,k+1}' +\,\mathcal{T}^{\max }_{i}(1) - ( {\text {rel}}_{i,k+1} +\,\mathcal{T}^{\max }_{i}(1)) \\&\text{ from }~(41)~\mathrm{and}~(42) \\ =&{\text {rel}}_{i,k+1}' -\,{\text {rel}}_{i,k+1} \\ =&{\text {srv}}_{i,k}' +\,\varDelta '_{k+1} - \mathcal{K}_{k+1}^{{\text {min}}}\\&\text{ from }~(40) \\ \le&{\text {srv}}_{i,k}' +\,\varDelta '_{k+1} - ({\text {srv}}_{i,k} +\,\varDelta _{k+1}) \\&\text{ from } \text{ Case } \text{2 } \\ \le&{\text {srv}}_{i,k}' - {\text {srv}}_{i,k} + \big (\varDelta '_{k+1} -\,\varDelta _{k+1}\big ) \\ \le&{\text {srv}}_{i,k}' - {\text {srv}}_{i,k} + \big (h - \sigma _{i}'(k)\big ) \times {\text {TR}}- (h - \sigma _{i}(k)) \times {\text {TR}}\\&\text{ from } \text{ the } \text{ definition } \text{ of }~\varDelta _{k+1}\,\text{ and }~\varDelta '_{k+1} \\ \le&{\text {srv}}_{i,k}' - {\text {srv}}_{i,k} + \big (\sigma _{i}(k) - \sigma _{i}'(k)\big ) \times {\text {TR}}\\ \le&{\text {srv}}_{i,k}' - {\text {srv}}_{i,k} \\&\text{ since } \sigma _{i}(k) - \sigma _{i}'(k) \le 0~\text{ from }~(15) \end{aligned}$$

Therefore it holds from the above inequality and from (43) that:

$$\begin{aligned} \mathcal{D}_{i}(k+1) + \big ({\text {srv}}_{i,k+1}' - {\text {srv}}_{i,k+1}\big ) \le \mathcal{D}_{i}'(k+1) \end{aligned}$$

which satisfies (19).

Case 2.2 \({\text {rel}}_{i,k+1} +\,\mathcal{T}^{\max }_{i}(1) \le \mathcal{K}_{k+1}^{{\text {max}}}\le {\text {rel}}_{i,k+1}' +\,\mathcal{T}^{\max }_{i}(1)\)

Proof of (20) From (36) and (38), we get \({\text {srv}}_{i,k+1} = {\text {rel}}_{i,k+1} +\,\mathcal{T}^{\max }_{i}(1)\) and \({\text {srv}}_{i,k+1}' = \mathcal{K}_{k+1}^{{\text {max}}}\). We thus get \({\text {srv}}_{i,k+1} \le {\text {srv}}_{i,k+1}'\), which satisfies (20) since \(\sigma _{i}(k+1) = \sigma _{i}'(k+1) = h\).

Proof of (19) We use proof by contradiction. Suppose that Inequality (19) is not satisfied, we must have:

$$\begin{aligned} \mathcal{D}_{i}(k+1) + \big ({\text {srv}}_{i,k+1}' - {\text {srv}}_{i,k+1}\big ) > \mathcal{D}_{i}'(k+1) \end{aligned}$$

and thus,

$$\begin{aligned} \mathcal{D}_{i}(k) + \big ({\text {srv}}_{i,k+1}' - {\text {srv}}_{i,k+1}\big ) + {\text {srv}}_{i,k+1} - {\text {rel}}_{i,k+1} > \mathcal{D}_{i}'(k) + {\text {srv}}_{i,k+1}' - {\text {rel}}_{i,k+1}' \end{aligned}$$

which can be re-written as

$$\begin{aligned} \mathcal{D}_{i}(k) - {\text {rel}}_{i,k+1} > \mathcal{D}_{i}'(k) - {\text {rel}}_{i,k+1}' \end{aligned}$$

and since it holds from (40) that \({\text {rel}}_{i,k+1}' = {\text {srv}}_{i,k+1}' +~ \varDelta '_{k+1} \ge {\text {rel}}_{i,k+1} = \mathcal{K}_{k+1}^{{\text {min}}}\) and \(\mathcal{K}_{k+1}^{{\text {min}}}\ge {\text {srv}}_{i,k} +\,\varDelta _{k+1}\) from Case 2, we get

$$\begin{aligned} \mathcal{D}_{i}(k) - ({\text {srv}}_{i,k} +\,\varDelta _{k+1}) > \mathcal{D}_{i}'(k) - \big ({\text {srv}}_{i,k+1}' +\,\varDelta '_{k+1}\big ) \end{aligned}$$

and thus

$$\begin{aligned} \mathcal{D}_{i}(k) + \big ({\text {srv}}_{i,k+1}' - {\text {srv}}_{i,k}\big ) + \big (\varDelta '_{k+1} - \varDelta _{k+1}\big ) > \mathcal{D}_{i}'(k) \end{aligned}$$

As seen at the end of Case 2.1, we have \(\varDelta '_{k+1} - \varDelta _{k+1} \le 0\) from (15) and from the definitions of \(\varDelta _{k+1}\) and \(\varDelta '_{k+1}\), and thus it holds that

$$\begin{aligned} \mathcal{D}_{i}(k) + \big ({\text {srv}}_{i,k+1}' - {\text {srv}}_{i,k}\big ) > \mathcal{D}_{i}'(k) \end{aligned}$$

which contradicts (16). This contradiction implies that Condition (19) is always satisfied.

Case 2.3 \(\mathcal{K}_{k+1}^{{\text {max}}}\le {\text {rel}}_{i,k+1} +\,\mathcal{T}^{\max }_{i}(1) \le {\text {rel}}_{i,k+1}' +\,\mathcal{T}^{\max }_{i}(1)\)

Proof of (20) From (36) and (38), we get \({\text {srv}}_{i,k+1} = {\text {srv}}_{i,k+1}' = \mathcal{K}_{k+1}^{{\text {max}}}\) and it immediately follows that \({\text {srv}}_{i,k+1} \le {\text {srv}}_{i,k+1}'\), which satisfies (20) since \(\sigma _{i}(k+1) = \sigma _{i}'(k+1) = h\).

Proof of (19) The proof is identical to the proof of (19) in Case 2.2 and is repeated here only for completeness. We use proof by contradiction. Suppose that Inequality (19) is not satisfied, we must have:

$$\begin{aligned} \mathcal{D}_{i}(k+1) + \big ({\text {srv}}_{i,k+1}' - {\text {srv}}_{i,k+1}\big ) > \mathcal{D}_{i}'(k+1) \end{aligned}$$

and thus,

$$\begin{aligned} \mathcal{D}_{i}(k) + \big ({\text {srv}}_{i,k+1}' - {\text {srv}}_{i,k+1}\big ) + {\text {srv}}_{i,k+1} - {\text {rel}}_{i,k+1} > \mathcal{D}_{i}'(k) + {\text {srv}}_{i,k+1}' - {\text {rel}}_{i,k+1}' \end{aligned}$$

which can be re-written as

$$\begin{aligned} \mathcal{D}_{i}(k) - {\text {rel}}_{i,k+1} > \mathcal{D}_{i}'(k) - {\text {rel}}_{i,k+1}' \end{aligned}$$

and since it holds from (40) that \({\text {rel}}_{i,k+1}' = {\text {srv}}_{i,k+1}' + \varDelta '_{k+1} \ge {\text {rel}}_{i,k+1} = \mathcal{K}_{k+1}^{{\text {min}}}\) and \(\mathcal{K}_{k+1}^{{\text {min}}}\ge {\text {srv}}_{i,k} + \varDelta _{k+1}\) from the Case 2, we get

$$\begin{aligned} \mathcal{D}_{i}(k) - ({\text {srv}}_{i,k} +\,\varDelta _{k+1}) > \mathcal{D}_{i}'(k) - \big ({\text {srv}}_{i,k+1}' +\,\varDelta '_{k+1}\big ) \end{aligned}$$

and thus

$$\begin{aligned} \mathcal{D}_{i}(k) + \big ({\text {srv}}_{i,k+1}' - {\text {srv}}_{i,k}\big ) + \big (\varDelta '_{k+1} - \varDelta _{k+1}\big ) > \mathcal{D}_{i}'(k) \end{aligned}$$

As seen at the end of Case 2.1, we have \(\varDelta '_{k+1} - \varDelta _{k+1} \le 0\) from (15) and from the definitions of \(\varDelta _{k+1}\) and \(\varDelta '_{k+1}\), and thus it holds that

$$\begin{aligned} \mathcal{D}_{i}(k) + \big ({\text {srv}}_{i,k+1}' - {\text {srv}}_{i,k}\big ) > \mathcal{D}_{i}'(k) \end{aligned}$$

which contradicts (16). This contradiction implies that Condition (19) is always satisfied.

Case 3 \(\mathcal{K}_{k+1}^{{\text {min}}}\le {\text {srv}}_{i,k} +\,\varDelta _{k+1} \le {\text {srv}}_{i,k}' +\,\varDelta '_{k+1}\)

In this case, we get from (35) and (37), \({\text {rel}}_{i,k+1} = {\text {srv}}_{i,k} +\,\varDelta _{k+1}\) and \({\text {rel}}_{i,k+1}' ={\text {srv}}_{i,k}' +\,\varDelta '_{k+1}\) and thus, according to (39), it holds that

$$\begin{aligned} {\text {rel}}_{i,k+1} \le {\text {rel}}_{i,k+1}' \end{aligned}$$
(44)

Again, we need to handle the relation between the service times \({\text {srv}}_{i,k+1}\) and \({\text {srv}}_{i,k+1}'\) in the two mappings \(\mathbb {M}_i\) and \(\mathbb {M}_i'\) and it holds from (36) and (38) that we have three more sub-cases to explore:

  • Case 3.1 \({\text {rel}}_{i,k+1} +\,\mathcal{T}^{\max }_{i}(1) \le {\text {rel}}_{i,k+1}' +\,\mathcal{T}^{\max }_{i}(1) \le \mathcal{K}_{k+1}^{{\text {max}}}\)

  • Case 3.2 \({\text {rel}}_{i,k+1} +\,\mathcal{T}^{\max }_{i}(1) \le \mathcal{K}_{k+1}^{{\text {max}}}\le {\text {rel}}_{i,k+1}' +\,\mathcal{T}^{\max }_{i}(1)\)

  • Case 3.3 \(\mathcal{K}_{k+1}^{{\text {max}}}\le {\text {rel}}_{i,k+1} +\,\mathcal{T}^{\max }_{i}(1) \le {\text {rel}}_{i,k+1}' +\,\mathcal{T}^{\max }_{i}(1)\)

Case 3.1 \({\text {rel}}_{i,k+1} +~ \mathcal{T}^{\max }_{i}(1) \le {\text {rel}}_{i,k+1}' +~ \mathcal{T}^{\max }_{i}(1) \le \mathcal{K}_{k+1}^{{\text {max}}}\)

Proof of (20) From (36) and (38), we get

$$\begin{aligned} {\text {srv}}_{i,k+1}= & {} {\text {rel}}_{i,k+1} +\,\mathcal{T}^{\max }_{i}(1)\end{aligned}$$
(45)
$$\begin{aligned} {\text {srv}}_{i,k+1}'= & {} {\text {rel}}_{i,k+1}' +\,\mathcal{T}^{\max }_{i}(1) \end{aligned}$$
(46)

From (44), (45) and (46), it immediately follows that \({\text {srv}}_{i,k+1} \le {\text {srv}}_{i,k+1}'\), which satisfies (20) since \(\sigma _{i}(k+1) = \sigma _{i}'(k+1) = h\).

Proof of (19) From (45) and (46), it holds that \({\text {srv}}_{i,k+1} - {\text {rel}}_{i,k+1} = \mathcal{T}^{\max }_{i}(1) = {\text {srv}}_{i,k+1}' - {\text {rel}}_{i,k+1}'\). Using \(\mathcal{D}_{i}(k) + ({\text {srv}}_{i,k}' - {\text {srv}}_{i,k}) \le \mathcal{D}_{i}'(k)\) from (16), we get

$$\begin{aligned} \mathcal{D}_{i}(k) + \big ({\text {srv}}_{i,k}' - {\text {srv}}_{i,k}\big ) + \mathcal{T}^{\max }_{i}(1) \le \mathcal{D}_{i}'(k) + \mathcal{T}^{\max }_{i}(1) \end{aligned}$$

and then

$$\begin{aligned} \mathcal{D}_{i}(k) + \big ({\text {srv}}_{i,k}' - {\text {srv}}_{i,k}\big ) + {\text {srv}}_{i,k+1} - {\text {rel}}_{i,k+1} \le \mathcal{D}_{i}'(k) + {\text {srv}}_{i,k+1}' - {\text {rel}}_{i,k+1}' \end{aligned}$$

which implies

$$\begin{aligned} \mathcal{D}_{i}(k+1) + \big ({\text {srv}}_{i,k}' - {\text {srv}}_{i,k}\big ) \le \mathcal{D}_{i}'(k+1) \end{aligned}$$
(47)

Now, we have:

$$\begin{aligned} {\text {srv}}_{i,k+1}' - {\text {srv}}_{i,k+1}= & {} {\text {rel}}_{i,k+1}' +\,\mathcal{T}^{\max }_{i}(1) - ( {\text {rel}}_{i,k+1} +\,\mathcal{T}^{\max }_{i}(1)) \\&\text{ from }~(45)~\hbox {and}~(46) \\= & {} {\text {rel}}_{i,k+1}' - {\text {rel}}_{i,k+1} \\&{\hbox {From}} ~(35)~{\hbox {and}} ~(37) \mathrm{\;and\;Case~3} \\= & {} {\text {srv}}_{i,k}' +\,\varDelta '_{k+1} - ({\text {srv}}_{i,k} +\,\varDelta _{k+1}) \\= & {} {\text {srv}}_{i,k}' - {\text {srv}}_{i,k} +~ (\varDelta '_{k+1} -\,\varDelta _{k+1}) \\\le & {} {\text {srv}}_{i,k}' - {\text {srv}}_{i,k} \\&\text{ because } ~\varDelta '_{k+1} - \varDelta _{k+1} \le 0~\mathrm{from}~(15)\\&{\hbox { and the definitions of}}\,\varDelta _{k+1}\,\mathrm{and}\,\varDelta '_{k+1} \end{aligned}$$

Therefore, it holds from the above inequality and from (47) that:

$$\begin{aligned} \mathcal{D}_{i}(k+1) + \big ({\text {srv}}_{i,k+1}' - {\text {srv}}_{i,k+1}\big ) \le \mathcal{D}_{i}'(k+1) \end{aligned}$$

which satisfies (19).

Case 3.2 \({\text {rel}}_{i,k+1} +\,\mathcal{T}^{\max }_{i}(1) \le \mathcal{K}_{k+1}^{{\text {max}}}\le {\text {rel}}_{i,k+1}' +\,\mathcal{T}^{\max }_{i}(1)\)

Proof of (20) From (36) and (38), we get \({\text {srv}}_{i,k+1} = {\text {rel}}_{i,k+1} +\,\mathcal{T}^{\max }_{i}(1)\) and \({\text {srv}}_{i,k+1}' = \mathcal{K}_{k+1}^{{\text {max}}}\). We thus get \({\text {srv}}_{i,k+1} \le {\text {srv}}_{i,k+1}'\), which satisfies (20) since \(\sigma _{i}(k+1) = \sigma _{i}'(k+1) = h\).

Proof of (19) The proof is by contradiction. If Inequality (19) is not satisfied then we must have:

$$\begin{aligned} \mathcal{D}_{i}(k+1) + \big ({\text {srv}}_{i,k+1}' - {\text {srv}}_{i,k+1}\big ) > \mathcal{D}_{i}'(k+1) \end{aligned}$$

and thus,

$$\begin{aligned} \big (\mathcal{D}_{i}(k) + {\text {srv}}_{i,k+1} - {\text {rel}}_{i,k+1}\big ) + \big ({\text {srv}}_{i,k+1}' - {\text {srv}}_{i,k+1}\big ) > \mathcal{D}_{i}'(k) + {\text {srv}}_{i,k+1}' - {\text {rel}}_{i,k+1}' \end{aligned}$$

which can be re-written as

$$\begin{aligned} \mathcal{D}_{i}(k) - {\text {rel}}_{i,k+1} > \mathcal{D}_{i}'(k) - {\text {rel}}_{i,k+1}' \end{aligned}$$

By replacing the values of \({\text {rel}}_{i,k+1}\) and \({\text {rel}}_{i,k+1}'\) from Case 3, we have

$$\begin{aligned} \mathcal{D}_{i}(k) - ({\text {srv}}_{i,k} +\,\varDelta _{k+1}) > \mathcal{D}_{i}'(k) - \big ({\text {srv}}_{i,k}' +\,\varDelta '_{k+1}\big ) \end{aligned}$$

and thus,

$$\begin{aligned} \mathcal{D}_{i}(k) + \big ({\text {srv}}_{i,k}' - {\text {srv}}_{i,k}\big ) + \big (\varDelta '_{k+1} - \varDelta _{k+1}\big ) > \mathcal{D}_{i}'(k) \end{aligned}$$

and since \(\varDelta '_{k+1} - \varDelta _{k+1} \le 0\) from (15) and the def. of \(\varDelta _{k+1}\) and \(\varDelta '_{k+1}\), it holds that

$$\begin{aligned} \mathcal{D}_{i}(k) + {\text {srv}}_{i,k}' - {\text {srv}}_{i,k} > \mathcal{D}_{i}'(k) \end{aligned}$$

which contradicts (16). This contradiction implies that Eq. (19) is satisfied.

Case 3.3 \(\mathcal{K}_{k+1}^{{\text {max}}}\le {\text {rel}}_{i,k+1} + \mathcal{T}^{\max }_{i}(1) \le {\text {rel}}_{i,k+1}' + \mathcal{T}^{\max }_{i}(1)\)

Proof of (20) From (36) and (38), we get \({\text {srv}}_{i,k+1} = {\text {srv}}_{i,k+1}' = \mathcal{K}_{k+1}^{{\text {max}}}\) and it immediately follows that \({\text {srv}}_{i,k+1} \le {\text {srv}}_{i,k+1}'\), which satisfies (20) since \(\sigma _{i}(k+1) = \sigma _{i}'(k+1) = h\).

Proof of (19) The proof is by contradiction. If Inequality (19) is not satisfied, we must have:

$$\begin{aligned} \mathcal{D}_{i}(k+1) + \big ({\text {srv}}_{i,k+1}' - {\text {srv}}_{i,k+1}\big ) > \mathcal{D}_{i}'(k+1) \end{aligned}$$

and thus,

$$\begin{aligned} \mathcal{D}_{i}(k) + \big ({\text {srv}}_{i,k+1}' - {\text {srv}}_{i,k+1}\big ) + {\text {srv}}_{i,k+1} - {\text {rel}}_{i,k+1} > \mathcal{D}_{i}'(k) + {\text {srv}}_{i,k+1}' - {\text {rel}}_{i,k+1}' \end{aligned}$$

By replacing \({\text {srv}}_{i,k+1}\) and \({\text {srv}}_{i,k+1}'\) with their values, we get

$$\begin{aligned} \mathcal{D}_{i}(k)+ \big ( \mathcal{K}_{k+1}^{{\text {max}}}- \mathcal{K}_{k+1}^{{\text {max}}}\big ) + \mathcal{K}_{k+1}^{{\text {max}}}- {\text {rel}}_{i,k+1} > \mathcal{D}_{i}'(k) + \mathcal{K}_{k+1}^{{\text {max}}}- {\text {rel}}_{i,k+1}' \end{aligned}$$

and thus,

$$\begin{aligned} \mathcal{D}_{i}(k) + {\text {rel}}_{i,k+1}' - {\text {rel}}_{i,k+1} > \mathcal{D}_{i}'(k) \end{aligned}$$

By replacing the values of \({\text {rel}}_{i,k+1}\) and \({\text {rel}}_{i,k+1}'\) from Case 3, we have

$$\begin{aligned} \mathcal{D}_{i}(k) + \big ({\text {srv}}_{i,k}' +\,\varDelta '_{k+1}\big ) - ({\text {srv}}_{i,k} +\,\varDelta _{k+1}) > \mathcal{D}_{i}'(k) \end{aligned}$$

which gives

$$\begin{aligned} \mathcal{D}_{i}(k) + \big ({\text {srv}}_{i,k}' - {\text {srv}}_{i,k}\big ) + \big (\varDelta '_{k+1} - \varDelta _{k+1}\big ) > \mathcal{D}_{i}'(k) \end{aligned}$$

and since \(\varDelta '_{k+1} - \varDelta _{k+1} \le 0\) from (15) and the def. of \(\varDelta _{k+1}\) and \(\varDelta '_{k+1}\), it holds that

$$\begin{aligned} \mathcal{D}_{i}(k) + {\text {srv}}_{i,k}' - {\text {srv}}_{i,k} > \mathcal{D}_{i}'(k) \end{aligned}$$

which contradicts (16). This contradiction implies that Eq. (19) is satisfied. \(\square \)

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Dasari, D., Nelis, V. & Akesson, B. A framework for memory contention analysis in multi-core platforms. Real-Time Syst 52, 272–322 (2016). https://doi.org/10.1007/s11241-015-9229-9

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11241-015-9229-9

Keywords

Navigation