Skip to main content
Log in

Parameter adaptation for generalized multiframe tasks: schedulability analysis, case study, and applications to self-suspending tasks

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

Abstract

The generalized multiframe task model (GMF) extends the sporadic task model and multiframe task model. Each frame in the GMF model contains an execution time, a relative deadline, and a minimum inter-arrival time. These parameters are fixed after task specification time in the GMF model. However, multimedia and adaptive control systems may be overloaded and no longer stabilized when the task parameters in such systems are not flexible. In order to address this problem, deadlines and periods of frames may change to alleviate temporal overload, e.g., in the parameter adaptation and elastic scheduling model. In this paper, we propose a new model GMF-PA (the GMF model with parameter adaptation). This model allows task parameters to be flexible in arbitrary-deadline systems. A necessary schedulability test based on mixed-integer linear programming is given to check the schedulability under EDF scheduling and optimally assign frame deadlines and periods at the same time. We also prove that the test is a sufficient and necessary schedulability test when frame deadlines and periods must be integers. An approximation algorithm is also deployed to reduce computational running time and indicates a sufficient schedulability test in general. The speed-up factor of our approximation algorithm is \(1+\epsilon \) where \(\epsilon \) can be arbitrarily small, with respect to the exact schedulability test of GMF-PA tasks under EDF. We also apply the GMF model to self-suspending tasks. By extending recent work on scheduling self-suspending tasks, we remove the assumption that frame deadlines are equally assigned in self-suspending tasks, and the system is extended from constrained-deadline systems to arbitrary-deadline systems. We have done extensive experiments to show that the schedulability ratio is improved using our techniques in our GMF-PA model.

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
Fig. 8
Fig. 9

Similar content being viewed by others

Notes

  1. Note that in our paper (Peng and Fisher 2016), we define the cycle deadline \(\mathcal {D}_i\) as the upper bound of \(\sum _{j=0}^{N_i-1} D_i^j\). We believe that the new definition is more appropriate for modeling the end-to-end constraint of self-suspending tasks. The change will not affect the evaluation results because the previous work assume \(D_i^j=P_i^j\) (also set for our algorithms in evaluations) which makes \(\sum _{j=0}^{N_i-1} D_i^j\) and \(D_i^{N_i-1}+\sum _{j=0}^{N_i-2}P_i^j\) be equal.

  2. The approximation algorithm is still an MILP (and thus still potentially intractably), but a reduction in constraints leads to a significant improvement in time efficiency as shown in the evaluation section.

  3. We reuse the data generated by Nimmagadda et al. (2010). The systems they used are a robot car and a Linux server. The car is a pioneer 3DX robot with an Intel core2-duo 2 GHz processor and two cameras. The resolution of both cameras is \(640 \times 480\). The server is an Intel Xeon Linux server with eight quad-core 2.33 GHz processors and 8 GB RAM.

  4. In the work (Nimmagadda et al. 2010), the execution of modules are represented by a graph, we choose a reasonable valid sequence from the graph. The aim is to relax the independence of the modules. This sequence is also compatible with the sequences in a more general context (Sivaraman and Trivedi 2013).

  5. In the GMF-PA model, \(E_i^j\) is the j’th frame execution time of task \(\tau _i\). In this section, we omit subscript for simplicity.

  6. Nimmagadda et al. (2010) refer to computation as cycles. For example, \(c_f\) is the total number of cycles needed to extract the features of a picture.

  7. In this case, it is assumed that the three objects have same speed and move parallel, this can be applied in the scenario of tracking cars in different lanes (Sivaraman and Trivedi 2013).

  8. Note that the EDA algorithm in the previous paper (Chen and Liu 2014) only consider one-segment self-suspending tasks, we extend EDA using our MILP. In MILP, we add one more constraint to let the frame deadlines of each task be equal.

References

  • Ahmed E, Akhunzada A, Whaiduzzaman M, Gani A, Hamid S, Buyya R (2015) Network-centric performance analysis of runtime application migration in mobile cloud computing. Simul Model Pract Theory 50:42–56

    Article  Google Scholar 

  • Andersson B (2008) Schedulability analysis of generalized multiframe traffic on multihop-networks comprising software-implemented ethernet-switches. In: Proceedings of the IEEE international symposium on parallel and distributed processing, pp 1–8, April 2008

  • Baruah S (2003) Dynamic- and static-priority scheduling of recurring real-time tasks. Real Time Syst 24(1):93–128

    Article  MATH  Google Scholar 

  • Baruah S (2010) The non-cyclic recurring real-time task model. In: Proceedings of the 31st IEEE real-time systems symposium, pp 173–182, November 2010. doi:10.1109/RTSS.2010.19

  • Baruah S, Chen D, Gorinsky S, Mok A (1999) Generalized multiframe tasks. Real Time Syst 17(1):5–22

    Article  Google Scholar 

  • Bini E, Buttazzo GC (2005) Measuring the performance of schedulability tests. Real Time Syst 30(1):129–154

    Article  MATH  Google Scholar 

  • Buttazzo GC, Lipari G, Caccamo M, Abeni L (2002) Elastic scheduling for flexible workload management. IEEE Trans Comput 51(3):289–302

    Article  Google Scholar 

  • Chantem T, Wang X, Lemmon MD, Hu XS (2008) Period and deadline selection for schedulability in real-time systems. In: Proceedings of the Euromicro conference on real-time systems (ECRTS), pp 68–177, July 2008

  • Chen JJ, Liu C (2014) Fixed-relative-deadline scheduling of hard real-time tasks with self-suspensions. In: Proceedings of the real time systems symposium (RTSS), December 2014

  • Chen JJ, Nelissen G, Huang WH (2016) A unifying response time analysis framework for dynamic self-suspending tasks. In: Proceedings of the 28th Euromicro conference on real-time systems (ECRTS), pp 61–71, July 2016. doi:10.1109/ECRTS.2016.31

  • Ding S, Tomiyama H, Takada H (2007) Scheduling algorithms for i/o blockings with a multi-frame task model. In: Proceedings of the 13th IEEE international conference on embedded and real-time computing systems and applications, August 2007

  • Ekberg P, Yi W (2015) Uniprocessor feasibility of sporadic tasks remains coNP-complete under bounded utilization. In: Proceedings of the 36th IEEE real-time systems symposium (RTSS)

  • Ekberg P, Guan N, Stigge M, Yi W (2015) An optimal resource sharing protocol for generalized multiframe tasks. J Log Algebr Methods Progr 84(1):92–105

    Article  MathSciNet  MATH  Google Scholar 

  • Gurobi (2014) The state-of-the-art mathematical programming solver. http://www.gurobi.com/

  • Huang WH, Chen JJ (2016) Self-suspension real-time tasks under fixed-relative-deadline fixed-priority scheduling. In: Proceedings of the design, automation, and test in Europe (DATE), March 2016

  • Kim J, Andersson B, de Niz D, Rajkumar RR (2013) Segment-fixed priority scheduling for self-suspending real-time tasks. In: Proceedings of the 34th real-time systems symposium, pp 246–257, December 2013. doi:10.1109/RTSS.2013.32

  • Kim J, Andersson B, de Niz D, Chen J-J, Huang WH, Nelissen G (2016) Segment-fixed priority scheduling for self-suspending real-time tasks. Technical Report. CMU/SEI-2016-TR-002

  • Lipari G, Bini E (2011) On the problem of allocating multicore virtual resources to real-time task pipelines. In: 4th workshop on compositional theory and technology for real-time embedded systems, November 2011

  • Liu J (2000) Real-time systems. Prentice Hall, Upper Saddle River

    Google Scholar 

  • Liu C, Anderson JH (2009) Task scheduling with self-suspensions in soft real-time multiprocessor systems. In: Proceedings of the 30th IEEE real-time systems symposium, pp 425–436, December 2009. doi:10.1109/RTSS.2009.10

  • Liu C, Anderson JH (2013) Suspension-aware analysis for hard real-time multiprocessor scheduling. In: Proceedings of the 25th Euromicro conference on real-time systems, pp 271–281, July 2013. 10.1109/ECRTS.2013.36

  • Liu M, Behnam M, Nolte T (2013) Schedulability analysis of multi-frame messages over controller area networks with mixed-queues. In: Proceedings of the 18th emerging technologies factory automation (ETFA), pp 1–6, Sept 2013

  • Liu W, Chen JJ, Toma A, Kuo TW, Deng Q (2014) Computation offloading by using timing unreliable components in real-time systems. In: Proceedings of the 51st design automation conference (DAC), pp 1–6, June 2014

  • Mok AK, Chen D (1996) A multiframe model for real-time tasks. In: Proceedings of the 17th IEEE real-time systems symposium, pp 22–29, Dec 1996

  • Moyo NT, Nicollet E, Lafaye F, Moy C (2010) On schedulability analysis of non-cyclic generalized multiframe tasks. In: Proceedings of the 22nd Euromicro conference real-time systems (ECRTS), pp 271–278, July 2010

  • Nelissen G, Fonseca J, Raravi G, Nelis V (2015) Timing analysis of fixed priority self-suspending sporadic tasks. In: Proceedings of the 27th Euromicro conference on real-time systems (ECRTS), pp 80–89, July 2015. doi:10.1109/ECRTS.2015.15

  • Nimmagadda Y, Kumar K, Lu YH, Lee CSG (2010) Real-time moving object recognition and tracking using computation offloading. In: Proceedings of the IEEE/RSJ intelligent robots and systems (IROS 2010), Oct 2010

  • Peng B, Fisher N (2016) Parameter adaptation for generalized multiframe tasks and applications to self-suspending tasks. In: Proceedings of the 22nd embedded and real-time computing systems and applications (RTCSA), Aug 2016

  • Peng B, Fisher N, Chantem T (2016) MILP-based deadline assignment for end-to-end flows in distributed real-time systems. In: Proceedings of the 24th international conference on real-time networks and systems (RTNS ’16), pp 13–22. ACM, New York. ISBN 978-1-4503-4787-7. doi:10.1145/2997465.2997498

  • Ridouard F, Richard P, Cottet F (2004) Negative results for scheduling independent hard real-time tasks with self-suspensions. In: Proceedings of the 25th real-time systems symposium, pp 47–56, Dec 2004. doi:10.1109/REAL.2004.35

  • Sivaraman S, Trivedi MM (2013) Looking at vehicles on the road: a survey of vision-based vehicle detection, tracking, and behavior analysis. IEEE Trans Intell Transp Syst 14(4):1773–1795. doi:10.1109/TITS.2013.2266661

    Article  Google Scholar 

  • Stigge M, Ekberg P, Guan N, Yi W (2011) The digraph real-time task model. In: Proceedings of the 17th IEEE real-time and embedded technology and applications symposium, pp 71–80, April 2011. doi:10.1109/RTAS.2011.15

  • Tchidjo Moyo N, Nicollet E, Lafaye F, Moy C (2009) Real time scheduling analysis for DSP base band processing in multi-channel SDR set. In: Proceedings of the SDR forum technical conference, Washington, USA, Dec 2009. https://hal-supelec.archives-ouvertes.fr/hal-00401397

  • Toma A, Chen JJ (2013) Server resource reservations for computation offloading in real-time embedded systems. In: Proceedings of the 11th IEEE symposium on embedded systems for real-time multimedia, pp 31–39, Oct 2013. doi:10.1109/ESTIMedia.2013.6704500

  • von der Brüggen G, Huang WH, Chen JJ, Liu C (2016) Uniprocessor scheduling strategies for self-suspending task systems. In: Proceedings of the 24th international conference on real-time networks and systems (RTNS ’16), pp 119–128. ACM, New York. ISBN 978-1-4503-4787-7. doi:10.1145/2997465.2997497. http://doi.acm.org/10.1145/2997465.2997497

Download references

Acknowledgements

This research has been supported in part by the US National Science Foundation (Nos. CNS-0953585, CNS-1618185) and a grant from Wayne State University’s Office of Vice President of Research.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Bo Peng.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Peng, B., Fisher, N. Parameter adaptation for generalized multiframe tasks: schedulability analysis, case study, and applications to self-suspending tasks. Real-Time Syst 53, 957–986 (2017). https://doi.org/10.1007/s11241-017-9279-2

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11241-017-9279-2

Keywords

Navigation