Modelling, Verification and Synthesis of Two-Tier Hierarchical Fixed-Priority Preemptive Scheduling

被引:5
作者
Asberg, Mikael [1 ]
Pettersson, Paul [1 ]
Nolte, Thomas [1 ]
机构
[1] MRTC Malardalen Univ, SE-72123 Vasteras, Sweden
来源
PROCEEDINGS OF THE 23RD EUROMICRO CONFERENCE ON REAL-TIME SYSTEMS (ECRTS 2011) | 2011年
关键词
real-time systems; hierarchical scheduling; modelling; formal verification; code-synthesis;
D O I
10.1109/ECRTS.2011.24
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Hierarchical scheduling has major benefits when it comes to integrating hard real-time applications. One of those benefits is that it gives a clear runtime separation of applications in the time domain. This in turn gives a protection against timing error propagation in between applications. However, these benefits rely on the assumption that the scheduler itself schedules applications correctly according to the scheduling parameters and the chosen scheduling policy. A faulty scheduler can affect all applications in a negative way. Hence, being able to guarantee that the scheduler is correct is of great importance. Therefore, in this paper, we study how properties of hierarchical scheduling can be verified. We model a hierarchically scheduled system using task automata, and we conduct verification with model checking using the Times tool. Further, we generate C-code from the model and we execute the hierarchical scheduler in the VxWorks kernel. The CPU and memory overhead of the modelled scheduler is compared against an equivalent manually coded two-level hierarchical scheduler. We show that the worst-case memory consumption is similar and that there is a considerable difference in CPU overhead.
引用
收藏
页码:172 / 181
页数:10
相关论文
共 48 条
  • [1] A THEORY OF TIMED AUTOMATA
    ALUR, R
    DILL, DL
    [J]. THEORETICAL COMPUTER SCIENCE, 1994, 126 (02) : 183 - 235
  • [2] Amnell T., 2002, Nordic Journal of Computing, V9, P269
  • [3] Amnell T., TACAS 02
  • [4] Andriantsiferana L., FORTE 97
  • [5] Asberg M., ETFA 09
  • [6] Asberg M., 2011, 2379 MAL U
  • [7] Asberg M., 2010, 2377 MAL U
  • [8] Barreto L. P., RTS 02
  • [9] Behnam M., EMSOFT 07
  • [10] Behnam M., OSPERT 08