• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

计算机工程与科学

• 高性能计算 • 上一篇    下一篇

面向安全关键应用的多核处理器执行时间波动性分析

宾婧怡,丁旭阳,齐晓铭,陈浩   

  1. (航空工业西安飞行自动控制研究所(618所),陕西 西安 710077)
  • 收稿日期:2018-12-05 修回日期:2019-03-21 出版日期:2019-09-25 发布日期:2019-09-25

Analyzing runtime variability of multi-core
processors for safety-critical systems
 

BIN Jing-yi,DING Xu-yang,QI Xiao-ming,CHEN Hao   

  1. (AVIC Xi’an Flight Automatic Control Research Institute,Xi’an 710077,China)
  • Received:2018-12-05 Revised:2019-03-21 Online:2019-09-25 Published:2019-09-25

摘要:

在安全关键系统中,针对多核处理器共享硬件资源竞争带来的执行时间波动性问题,提出了基于性能计数器PMR和RSB的通用测试方法,通过捕捉执行时间波动性相关的硬件事件来分析硬件资源的共享性、执行时间的波动性和硬件平台的黑盒或灰盒行为。此方法可用于硬件平台的性能评估,也可用于应用任务的资源消耗评估,从而为WCET预测提供指导。

关键词: 多核, WCET, PMR, RSB, 安全关键系统

Abstract:

In order to solve the runtime variability problem caused by the contentions of shared hardware resources in multi-core processors for safety-critical systems, we propose a generalized measurement method based on performance monitor register (PMR) and resource stressing benchmark (RSB). The method captures the hardware events related to the execution time variability to analyze the sharing of hardware resources, the variability of execution time, and the black box or gray box behavior of the hardware platform. The proposed method can not only estimate the performance of hardware platforms, but also the resource consumption of applications, which thus can provide guidance for the worst case execution time (WCET) prediction in a pre-determined co-running context.
 

Key words: multi-core, WCET, PMR, RSB, safety-critical system