arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.16997cs.PLcs.DM
收藏

不可靠程序的概率区间分析

Probabilistic Interval Analysis of Unreliable Programs

Dibyendu Das, Soumyajit Dey

AI总结:

针对未来芯片计算不可靠的问题,提出基于抽象解释的静态区间分析技术,使用受限C型语言建模并考虑瞬态故障模型,预测程序变量在特定点取值于给定范围的概率。

摘要:

芯片技术的进步将使未来的计算机芯片速度更快。此类芯片的功耗也将降低。但这种速度的提升并非没有代价,速度和效率(即计算的准确性)之间将存在权衡。为了获得这种额外的速度,我们将不得不让计算机在计算中犯更多的错误。因此,使用这些类型的芯片构建的系统将具有内在的不可靠性。为这些系统编写的程序也必须纳入这种不可靠性。研究人员已经开始为这种不可靠的架构开发编程框架。\n在当前的工作中,我们使用受限版本的C型语言来为不可靠架构编写的程序建模。我们提出了一种静态分析为此类架构编写的代码的技术。我们的技术主要关注此类程序的区间/范围分析,使用了成熟的抽象解释理论。在讨论硬件的不可靠性时,隐含地存在硬件组件发生故障的可能性。有两种故障模型,即:1)永久故障模型,硬件在发生故障时停止执行;2)瞬态故障模型,发生故障时,硬件使用错误的操作数值继续后续操作。在本文中,我们仅考虑了瞬态故障模型。该分析的目标是预测程序变量在给定程序点从给定范围内取值的概率。

英文摘要:

Advancement of chip technology will make future computer chips faster. Power consumption of such chips shall also decrease. But this speed gain shall not come free of cost, there is going to be a trade-off between speed and efficiency, i.e accuracy of the computation. In order to achieve this extra speed we will simply have to let our computers make more mistakes in computations. Consequently, systems built with these type of chips will possess an innate unreliability lying within. Programs written for these systems will also have to incorporate this unreliability. Researchers have already started developing programming frameworks for unreliable architectures as such. In the present work, we use a restricted version of C-type languages to model the programs written for unreliable architectures. We propose a technique for statically analyzing codes written for these kind of architectures. Our technique, which primarily focuses on Interval/Range Analysis of this type of programs, uses the well established theory of abstract interpretation. While discussing unreliability of hardware, there comes scope of failure of the hardware components implicitly. There are two types of failure models, namely: 1) permanent failure model, where the hardware stops execution on failure and 2) transient failure model, where on failure, the hardware continues subsequent operations with wrong operand values. In this paper, we've only taken transient failure model into consideration. The goal of this analysis is to predict the probability with which a program variable assumes values from a given range at a given program point.

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

↑