Abstract
We consider the problem of resource provisioning for real-time cyber-physical applications in an open system environment where there does not exist a global resource scheduler that has complete knowledge of the real-time performance requirements of each individual application that shares the resources with the other applications. Regularity-based Resource Partition (RRP) model is an effective strategy to hierarchically partition and assign various resource slices among the applications. However, RRP model does not consider changes in resource requests from the applications at run time. To allow for the run time adaptation to resource requirement changes, we consider in this paper the issues in online resource partition reconfiguration, including semantics issues that arise in configuration transitions that may cause application failures. Based on the reconfiguration semantics, we study the online resource reconfigurability problem under the RRP model where the availability factors of resource partitions may be reconfigured at run time. We formalize and solve the Dynamic Partition Reconfiguration (DPR) problem for uniform environment where the minimal intervals assigned to each task for execution on each resource are the same. Extensive experiments have been conducted to evaluate the performance of the proposed approaches in different scenarios. We also present a case study using the autonomous F1/10 model car; the controller of the F1/10 car requires resource adaptation to satisfy the computing needs of its PID controller and vision system under different operating conditions. Our implementation demonstrates the effectiveness and benefit of online resource partition reconfiguration using the proposed approach in a real-world cyber-physical system.
Similar content being viewed by others
Notes
The application demo can be found in the following link: http://www.youtube.com/watch?v=8b-MMP3-cug.
A demonstration video can be found on Youtube in the following link: http://www.youtube.com/watch?v=8b-MMP3-cug.
References
Baruah SK, Cohen NK, Plaxton CG, Varvel DA (1996) Proportionate progress: a notion of fairness in resource allocation. Algorithmica 15(6):600–625
Biondi A, Buttazzo G, Bertogna M (2018) A design flow for supporting component-based software development in multiprocessor real-time systems. Real-Time Syst 54(4):800–829
Boudjadar J, Kim JH, Phan LTX, Lee I, Larsen KG, Nyman U (2018) Generic formal framework for compositional analysis of hierarchical scheduling systems. In: 21st IEEE International Symposium on Real-Time Distributed Computing (ISORC). IEEE, pp 51–58
Brandenburg B (2011) Scheduling and locking in multiprocessor real-time operating systems. PhD thesis, The University of North Carolina at Chapel Hill
Burns A (2014) System mode changes-general and criticality-based. In: Proc. of 2nd Workshop on Mixed Criticality Systems (WMC), pp 3–8
Burns A, Davis RI (2018) A survey of research into mixed criticality systems. ACM Comput Surv 50(6):82
Buttazzo G, Bini E, Wu Y (2010) Partitioning parallel applications on multiprocessor reservations. In: 22th Euromicro Conference on Real-Time Systems (ECRTS)
Buttazzo G, Bini E, Wu Y (2011) Partitioning real-time applications over multicore reservations. IEEE Trans Ind Inform 7(2):302–315
Calandrino JM, Leontyev H, Block A, Devi UC, Anderson JH (2006) LITMUSRT: a testbed for empirically comparing real-time multiprocessor schedulers. In: 27th IEEE Real-Time Systems Symposium (RTSS). IEEE, pp 111–126
Chen T, Phan LTX (2018) Safemc: a system for the design and evaluation of mode-change protocols. In: 25th IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS). IEEE, pp 105–116
Chen WJ, Huang PC, Leng Q, Mok AK, Han S (2017) Regular composite resource partition in open systems. In: 38th IEEE Real-Time Systems Symposium (RTSS). IEEE, pp 34–44
Davis RI, Altmeyer S, Burns A (2018) Mixed criticality systems with varying context switch costs. In: 24th IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS). IEEE, pp 140–151
de Niz D, Phan LT (2014) Partitioned scheduling of multi-modal mixed-criticality real-time systems on multiprocessor platforms. In: 2014 IEEE 19th Real-Time and Embedded Technology and Applications Symposium (RTAS). IEEE, pp 111–122
Deng Z, Liu JS (1997) Scheduling real-time applications in an open environment. In: 18th IEEE Real-Time Systems Symposium (RTSS). IEEE, pp 308–319
Easwaran A, Anand M, Lee I (2007) Compositional analysis framework using EDP resource models. In: 28th IEEE Real-Time Systems Symposium (RTSS). IEEE, pp 129–138
Evripidou C, Burns A (2016) Scheduling for mixed-criticality hypervisor systems in the automotive domain. In: WMC 2016 4th International Workshop on Mixed Criticality Systems
F1tenth (2019) F1tenth. http://f1tenth.org/
Feng AX (2004) Design of real-time virtual resource architecture for largescale embedded systems. PhD thesis, Department of Computer Science, The University of Texas at Austin
Gu X, Easwaran A (2016) Dynamic budget management with service guarantees for mixed-criticality systems. In: 2016 IEEE Real-Time Systems Symposium (RTSS). IEEE, pp 47–56
Gurobi (2019) Gurobi. http://gurobi.com/
Han S, Chen D, Xiong M, Lam KY, Mok AK, Ramamritham K (2012) Schedulability analysis of deferrable scheduling algorithms for maintain ingreal-time data freshness. IEEE Trans Comput 63(4):979–994
Herterich MM, Uebernickel F, Brenner W (2015) The impact of cyber-physical systems on industrial services in manufacturing. Procedia Cirp 30:323–328
Hu B, Huang K, Chen G, Cheng L, Knoll A (2016) Adaptive workload management in mixed-criticality systems. ACM Trans Embed Comput Syst 16(1):14
Hu B, Thiele L, Huang P, Huang K, Griesbeck C, Knoll A (2018) Ffob: efficient online mode-switch procrastination in mixed-criticality systems. Real-Time Systems, pp 1–43
Lee J, Chwa HS, Phan LT, Shin I, Lee I (2017) Mc-adapt: adaptive task dropping in mixed-criticality scheduling. ACM Trans Embed Comput Syst 16(5s):163
Li Y, Cheng AM (2012) Static approximation algorithms for regularity-based resource partitioning. In: 33rd IEEE Real-Time Systems Symposium (RTSS). IEEE, pp 137–148
Li Y, Cheng AM (2017) Toward a practical regularity-based model: the impact of evenly distributed temporal resource partitions. ACM Trans Embed Comput Syst 16(4):111
Li Y, Cheng AMK (2015) Transparent real-time task scheduling on temporal resource partitions. IEEE Trans Comput 65(5):1646–1655
Li H, Xu M, Li C, Lu C, Gill C, Phan L, Lee I, Sokolsky O (2018) Multi-mode virtualization for soft real-time systems. In: 24th IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS). IEEE, pp 117–128
Liu CL, Layland JW (1973) Scheduling algorithms for multiprogramming in a hard-real-time environment. J ACM 20(1):46–61
Mok AK, Alex X (2001) Towards compositionality in real-time resource partitioning based on regularity bounds. In: 22nd IEEE Real-Time Systems Symposium (RTSS). IEEE, pp 129–138
Neukirchner M, Lampka K, Quinton S, Ernst R (2013) Multi-mode monitoring for mixed-criticality real-time systems. In: 2013 International Conference on Hardware/Software Codesign and System Synthesis (CODES+ ISSS). IEEE, pp 1–10
Nikolov V, Wesner S, Frasch E, Hauck FJ (2017) A hierarchical scheduling model for dynamic soft-realtime system. In: 29th Euromicro Conference on Real-Time Systems (ECRTS), Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik
NVIDIA (2019) Embedded systems developer kits. http://devblogs.nvidia.com/jetson-tx2-delivers-twice-intelligence-edge/
Phan LT, Lee I, Sokolsky O (2010) Compositional analysis of multi-mode systems. In: 22nd Euromicro Conference on Real-Time Systems (ECRTS). IEEE, pp 197–206
Real J, Crespo A (2004) Mode change protocols for real-time systems: a survey and a new proposal. Real-Time Syst 26(2):161–197
ROS (2019) Ros framework. http://wiki.ros.org/
Schlatow J, Möstl M, Ernst R, Nolte M, Jatzkowski I, Maurer M, Herber C, Herkersdorf A (2017) Self-awareness in autonomous automotive systems. In: Proceedings of the Conference on Design, Automation & Test in Europe, European Design and Automation Association, pp 1050–1055
Shin I, Lee I (2003) Periodic resource model for compositional real-time guarantees. In: 24th IEEE Real-Time Systems Symposium (RTSS). IEEE, pp 2–13
Shirero S, Takashi M, Kei H (1999) On the schedulability conditions on partial time slots. In: International Conference on Embedded and Real-Time Computing Systems and Applications (RTCSA)
Xu H, Burns A (2019) A semi-partitioned model for mixed criticality systems. J Syst Softw 150:51–63
Acknowledgements
The work reported herein is supported by the Office of Naval Research under ONR Award N00014-17-1-2216 and by the National Science Foundation under NSF Award CNS-2008463.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Chen, WJ., Wu, P., Huang, PC. et al. Online reconfiguration of regularity-based resource partitions in cyber-physical systems. Real-Time Syst 57, 302–345 (2021). https://doi.org/10.1007/s11241-021-09364-5
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11241-021-09364-5