DAG Hierarchical Schedulability Analysis for Avionics Hypervisor in Multicore Processors
Abstract
:1. Introduction
2. Preliminaries
2.1. System Model
2.2. Task Model
2.3. Work-Conserving Schedulability Analysis
3. Related Work
4. Schedulability Analysis
4.1. Scheduling
4.1.1. Concurrent Parent and Child Model
Algorithm 1: Concurrent Parent and Child Model algorithm |
Input: Output: Specifications: |
if /* distinguishing capacity parents */ for every |
while do end end /* distinguishing capacity children */ for every end return |
4.1.2. The CP Priority Execution (CPPE)
4.1.3. Exploiting Parallelism and Joint Dependency
Algorithm 2: Priority assignment algorithm |
Input: Output: Parameter: Intialise: |
/* Rule 1. */ /* Rule 2. */ for every , do while do |
/* Seek for the longest partial path in . */ |
: if then break else /* Rule 3. */ end end end |
4.2. Analysis of Response Time
4.2.1. The (α, β)-pair Analysis Formulation
- (1)
- Bounds of parallel workload ();
- (2)
- Bounds of the longest run sequence in that runs later than , expressed as .
4.2.2. Bounding and
4.2.3. Explicit Execution Order (ESO)
5. Hierarchical Scheduling in Hypervisor
- (1)
- Scheduling DAG tasks on virtual processors.
- (2)
- Scheduling virtual processors on physical processors.
5.1. Overview of Virtualization
5.2. Schedule Tasks to VCPUs
5.3. Schedule VCPUs to PCPUs
5.4. VCPUs in Hypervisor
6. Results
6.1. Evaluations
6.1.1. Sensitivity of DAG Priorities
6.1.2. Usefulness of The Proposed Schedulability
6.2. Synthetic Workload
7. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Alonso, A.; de la Puente, J.; Zamorano, J.; de Miguel, M.; Salazar, E.; Garrido, J. Safety concept for a mixed criticality on-board software system. IFAC PapersOnLine 2015, 48, 240–245. [Google Scholar] [CrossRef] [Green Version]
- Burns, A.; Davis, R. A survey of research into mixed criticality systems. ACM Calc. Surv. 2017, 50, 1–37. [Google Scholar] [CrossRef] [Green Version]
- Burns, A.; Davis, R. Mixed Criticality Systems: A Review; Technical Report MCC-1(L); Department of Calculater Science, University of York: York, UK, 2019; p. 6. Available online: http://www-users.cs.york.ac.uk/burns/review.pdf (accessed on 10 March 2019).
- LynxSecure. Available online: https://www.lynx.com/products/lynxsecure-separation-kernel-hypervisor (accessed on 14 January 2021).
- QNX Adaptive Partitioning Thread Scheduler. Available online: https://www.qnx.com/developers/docs/7.0.0/index.html#com.qnx.doc.neutrino.sys_arch/topic/adaptive.html (accessed on 14 January 2021).
- QNX Hypervisor. Available online: https://blackberry.qnx.com/en/software-solutions/embedded-software/industrial/qnx-hypervisor (accessed on 14 January 2021).
- QNX Platform for Digital Cockpits. Available online: https://blackberry.qnx.com/content/dam/qnx/products/bts-digital-cockpits-product-brief.pdf (accessed on 14 January 2021).
- Wind River Helix Virtualization Platform. Available online: https://www.windriver.com/products/helix-platform/ (accessed on 18 June 2021).
- Wind River VxWorks 653 Platform. Available online: https://www.windriver.com/products/vxworks/certification-profiles/#vxworks_653 (accessed on 18 June 2019).
- Baruah, S. The Federated Scheduling of Systems of Conditional Sporadic DAG Tasks. In Proceedings of the 12th International Conference on Embedded Software, Amsterdam, The Netherlands, 4–9 October 2015; pp. 1–10. [Google Scholar]
- Li, J.; Chen, J.; Agrawal, K.; Lu, C.; Gill, C.; Saifullah, A. Analysis of Federated and Global Scheduling for Parallel Real-Time Tasks. In Proceedings of the 26th Euromicro Conference on Real-Time Systems, Madrid, Spain, 8–11 July 2014; pp. 85–96. [Google Scholar]
- Xu, J.; Nan, G.; Xiang, L.; Wang, Y. Semi-Federated Scheduling of Parallel Real-Time Tasks on Multiprocessors. In Proceedings of the 2017 IEEE Real-Time Systems Symposium (RTSS), Paris, France, 5–8 December 2017; pp. 80–91. [Google Scholar]
- He, Q.; Jiang, X.; Guan, N.; Guo, Z. Intra-task priority assignment in real-time scheduling of DAG tasks on multi-cores. IEEE Trans. Parallel Distrib. Syst. 2019, 30, 2283–2295. [Google Scholar] [CrossRef]
- Melani, A.; Bertogna, M.; Bonifaci, V.; Marchetti-Spaccamela, A.; Buttazzo, G.C. Response-Time Analysis of Conditional DAG Tasks in Multiprocessor Systems. In Proceedings of the Euromicro Conference on Real-Time Systems, Lund, Sweden, 8–10 July 2015; pp. 211–221. [Google Scholar]
- Graham, R.L. Bounds on multiprocessing timing anomalies. J. Appl. Math. 1969, 17, 416–429. [Google Scholar] [CrossRef] [Green Version]
- Fonseca, J.; Nelissen, G.; Nélis, V. Improved Response Time Analysis of Sporadic DAG Tasks for Global FP Scheduling. In Proceedings of the International Conference on Real-Time Networks and Systems, Grenoble, France, 4–6 October 2017; pp. 28–37. [Google Scholar]
- Chen, P.; Liu, W.; Jiang, X.; He, Q.; Guan, N. Timing-anomaly free dynamic scheduling of conditional DAG tasks on multi-core systems. ACM Trans. Embed. Comput. Syst. 2019, 18, 1–19. [Google Scholar] [CrossRef]
- Chang, S.; Zhao, X.; Liu, Z.; Deng, Q. Real-time scheduling and analysis of parallel tasks on heterogeneous multi-cores. J. Syst. Archit. 2020, 105, 101704. [Google Scholar] [CrossRef]
- Guan, F.; Qiao, J.; Han, Y. DAG-fluid: A real-time scheduling algorithm for DAGs. IEEE Trans. Calc. 2020, 70, 471–482. [Google Scholar] [CrossRef]
- Topcuoglu, H.; Hariri, S.; Wu, M.-y. Performance-effective and low-complexity task scheduling for heterogeneous computing. IEEE Trans. Parallel Distrib. Syst. 2002, 13, 260–274. [Google Scholar] [CrossRef] [Green Version]
- Lin, H.; Li, M.-F.; Jia, C.-F.; Liu, J.-N.; An, H. Degree-of-joint task scheduling of fine-grained parallel programs on heterogeneous systems. J. Calc. Sci. Technol. 2019, 34, 1096–1108. [Google Scholar]
- Zhao, S.; Dai, X.; Bate, I.; Burns, A.; Chang, W. DAG Scheduling and Analysis on Multiprocessor Systems: Exploitation of Parallelism and Dependency. In Proceedings of the 2020 IEEE Real-Time Systems Symposium (RTSS), Houston, TX, USA, 1–4 December 2020; pp. 28–40. [Google Scholar]
- Zhao, S.; Dai, X.; Bate, I. DAG Scheduling and Analysis on Multi-Core Systems by Modelling Parallelism and Dependency. IEEE Trans. Parallel Distrib. Syst. 2022, 33, 231–245. [Google Scholar] [CrossRef]
- Jiang, X.; Guan, N.; Long, X.; Wan, H. Decomposition-based Real-Time Scheduling of Parallel Tasks on Multi-cores Platforms. IEEE Trans. Calc. Aided Des. Integr. Circuits Syst. 2019, 39, 183–198. [Google Scholar]
- Yang, T.; Deng, Q.; Sun, L. Building real-time parallel task systems on multi-cores: A hierarchical scheduling approach. J. Syst. Archit. 2019, 92, 1–11. [Google Scholar] [CrossRef]
- Saifullah, A.; Ferry, D.; Li, J.; Agrawal, K.; Lu, C.; Gill, C. Parallel real-time scheduling of dags. Parallel Distrib. Syst. IEEE Trans. 2014, 25, 3242–3252. [Google Scholar] [CrossRef] [Green Version]
He2019 > EO | |||
Core (m) | Min. | Avg. | Max. |
2 | 0.05 | 7.88 | 30.62 |
4 | 0.02 | 7.20 | 33.38 |
8 | 0.03 | 5.42 | 25.28 |
He2019 < EO | |||
Core (m) | Min. | Avg. | Max. |
2 | 0.01 | 6.48 | 30.67 |
4 | 0.02 | 4.54 | 23.84 |
8 | 0.03 | 1.64 | 19.27 |
Core (m) | Data | Dataset |
---|---|---|
2 | 262 | He2019 > EO |
670 | He2019 < EO | |
4 | 275 | He2019 > EO |
451 | He2019 < EO | |
8 | 184 | He2019 > EO |
191 | He2019 < EO |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Yang, H.; Zhao, S.; Shi, X.; Zhang, S.; Guo, Y. DAG Hierarchical Schedulability Analysis for Avionics Hypervisor in Multicore Processors. Appl. Sci. 2023, 13, 2779. https://doi.org/10.3390/app13052779
Yang H, Zhao S, Shi X, Zhang S, Guo Y. DAG Hierarchical Schedulability Analysis for Avionics Hypervisor in Multicore Processors. Applied Sciences. 2023; 13(5):2779. https://doi.org/10.3390/app13052779
Chicago/Turabian StyleYang, Huan, Shuai Zhao, Xiangnan Shi, Shuang Zhang, and Yangming Guo. 2023. "DAG Hierarchical Schedulability Analysis for Avionics Hypervisor in Multicore Processors" Applied Sciences 13, no. 5: 2779. https://doi.org/10.3390/app13052779
APA StyleYang, H., Zhao, S., Shi, X., Zhang, S., & Guo, Y. (2023). DAG Hierarchical Schedulability Analysis for Avionics Hypervisor in Multicore Processors. Applied Sciences, 13(5), 2779. https://doi.org/10.3390/app13052779