arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.02001cs.SEcs.LG
收藏

估计早期最坏情况执行时间的深度神经网络方法

Deep Neural Network Approach to Estimate Early Worst-Case Execution Time

Indian Institute of Science(印度科学学院)

Vikash Kumar

摘要:

估计最坏情况执行时间(WCET)对于开发信息物理和安全关键系统至关重要。系统的调度器使用估计的WCET来调度这些系统的每个任务,并且失败可能导致灾难性事件。因此,必须建立可证明可靠的系统。在系统开发的最后阶段,当硬件可用并且应用程序代码在其上编译时,我们可以使用WCET。不同的方法测量WCET,但是没有一种方法可以提供对WCET的早期见解,这对系统开发至关重要。如果系统设计者在早期高估了WCET,那么它将导致过高的系统,这将增加最终产品的成本,如果他们在早期低估了WCET,那么它将导致财务损失,因为系统将无法按预期运行。本文使用深度神经网络作为硬件架构和编译器的近似预测模型来估计早期WCET。该模型基于源代码预测WCET,无需在硬件架构上编译和运行。我们的WCET预测模型使用Pytorch框架创建。由此产生的WCET错误太大,不能用作WCET的上限。然而,在系统开发的早期阶段获得这些结果是系统尺寸和硬件设置配置的基本先决条件。

英文摘要:

Estimating Worst-Case Execution Time (WCET) is of utmost importance for developing Cyber-Physical and Safety-Critical Systems. The system's scheduler uses the estimated WCET to schedule each task of these systems, and failure may lead to catastrophic events. It is thus imperative to build provably reliable systems. WCET is available to us in the last stage of systems development when the hardware is available and the application code is compiled on it. Different methodologies measure the WCET, but none of them give early insights on WCET, which is crucial for system development. If the system designers overestimate WCET in the early stage, then it would lead to the overqualified system, which will increase the cost of the final product, and if they underestimate WCET in the early stage, then it would lead to financial loss as the system would not perform as expected. This paper estimates early WCET using Deep Neural Networks as an approximate predictor model for hardware architecture and compiler. This model predicts the WCET based on the source code without compiling and running on the hardware architecture. Our WCET prediction model is created using the Pytorch framework. The resulting WCET is too erroneous to be used as an upper bound on the WCET. However, getting these results in the early stages of system development is an essential prerequisite for the system's dimensioning and configuration of the hardware setup.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑