On Schedulability Analysis of AADL Architecture with Storage Resource Constraint

被引:0
|
作者
Lu Y. [1 ]
Qin S.-D. [2 ]
Xi L.-Q. [1 ]
Dong Y.-W. [1 ]
机构
[1] School of Computer Science, Northwest Polytechnical University, Xi'an
[2] School of Software, Northwest Polytechnical University, Xi'an
来源
Ruan Jian Xue Bao/Journal of Software | 2021年 / 32卷 / 06期
基金
中国国家自然科学基金;
关键词
AADL; Cache related preemption delay; Complex embedded system; Resource constraint schedulability;
D O I
10.13328/j.cnki.jos.006243
中图分类号
学科分类号
摘要
The embedded system has been wildly applied in real-time automatic control systems, and most of these systems are safety- critical. For example, the engine control systems in an automobile, and the avionics in an airplane. It is very important to verify the schedulability property of such real-time embedded system in its early design stages, so that to avoid unexpected loss for the debugging of architecture design frictions. However, it has been proved to be a tough challenge to evaluate the schedulability of a PSRT (preemptive-scheduling real-time) system, especially when taking the constraints of system resources into consideration. The cache memory build inside the processor is such a kind of exclusive-accessing resource that is shared by all the tasks deployed on the processor. In addition, the CPRD (cache-related preemption delay) caused by preemptive task scheduling will bring extra time to the execution time to all the tasks. Thus, the CPRD should be taken into consideration when estimating the WCET (worst case executing time) of tasks in a real-time system. A model-based architecture level schedulability evaluate and verification method, which is designed for priority based PSRT system, is proposed in this study, in order to do cache resource constrained, and CPRD related schedulability evaluation based on AADL system architecture model. In the first step, the study enhances the property set of AADL storage elements, so that to be compatible with cache memory properties in system architecture model constructing. Secondly, the study proposes a set or algorithms to: estimate the CPRDs of a task before it is completed; do system schedule simulation and construct the schedule sequence with the constraint of Cache resource and CPRDs involved; and WCET estimation of the tasks in such a CPRD considered, preemptive-scheduling execution sequence. Finally, methods mentioned above are implemented within a prototype software toolkit, which is designed to do system level schedulability evaluation and verification with CPRD constraints considered. The toolkit is tested with a use case of aircraft airborne open-architecture intelligent information system. The result shows that, compared with schedule sequence constructed without cache memory resource constraints, the WCET estimated for most tasks are extended, and sequence order is changed. In some extreme cases, when CPRD is taken into consideration, some tasks are evaluated to be incompletable. The test shows that the method and algorithms proposed in this study are feasible. © Copyright 2021, Institute of Software, the Chinese Academy of Sciences. All rights reserved.
引用
收藏
页码:1663 / 1681
页数:18
相关论文
共 20 条
  • [1] Liu YF, Zhang LC., Worst-Case execution time analysis for real-time systems, Application Research of Computers, 22, 11, pp. 16-18, (2005)
  • [2] Zhou GC, Guo BL, Gao X, Et al., Fast estimation of WCET based on distribution function, Computer Science, 43, pp. 157-161, (2016)
  • [3] Architecture analysis and design language (AADL) AS-5506A. The Engineering Society for Advancing Mobility and Sea Air and Space, Aerospace lnfonnation Report, (2009)
  • [4] Yang ZB, Pi L, Hu K, Gu ZH, Ma DF., AADL: An architecture design and analysis language for complex embedded real-time systems, Ruan Jian Xue Bao/Journal of Software, 21, 5, pp. 899-915, (2010)
  • [5] Zhang J., Research on the earliest deadline priority real-time scheduling algorithm, (2009)
  • [6] Clarke D, Lee I, Xie H L., VERSA: A tool for the specification and analysis of resource-bound real-time systems, Nonlinear Dynamics, 87, 1, pp. 1-7, (2016)
  • [7] Clavel M, Et al., Maude Manuel, (2004)
  • [8] Jerad C, Barkaoui K, Grissa-Touzi A., On the use of real-time Maude for architecture description and verification: A case study, Proc. of the Visions of Computer Science-bcs Int'l Academic Conf, (2015)
  • [9] Hu K, Duan ZB, Wang JY, Ga LC, Shang LH., Template-Based AADL automatic code generation, Frontiers of Computer Science in China, 13, 4, pp. 698-714, (2019)
  • [10] Singhoff F, Legrand J, Nana L, Et al., Scheduling and memory requirements analysis with AADL, Proc. of the ACM Sigada Int'l Conf. on Ada: The Engineering of Correct & Reliable Software for Real-time & Distributed Systems Using Ada & Related Technologies, pp. 1-10, (2005)