论文标题
在使用NVM的嵌入式系统的功率故障下快速恢复程序执行
Rapid Recovery of Program Execution Under Power Failures for Embedded Systems with NVM
论文作者
论文摘要
打开电源后,从初始状态恢复中断程序可能会导致负面影响。一些程序甚至无法恢复。为了在功率故障下快速恢复程序执行,检查点的执行状态由NVM在具有NVM的嵌入式系统的功率故障下备份。但是,频繁的检查点会缩短NVM的寿命并产生大量的写作开销。在本文中,提出了函数调用触发的检查点设置的技术,以减少NVM上的写入。评估结果表明,与基于日志的方法和基于步骤的方法相比,堆栈备份的NVM备份大小的平均减少了99.8%和80.5 $%。为了更好地实现这一目标,我们还提出了伪功能电话,以增加备份点以降低恢复成本,并提出基于呼叫的备用备份方法,以降低循环中的备份成本。为了进一步避免NVM上的内容混乱并从NVM中脱颖而出,提出了一种清洁NVM上内容的方法,提出了尚无用来恢复的方法。根据上述问题和技术,提出了恢复技术,并使用该案例来分析如何在不同的功率故障下快速恢复。
After power is switched on, recovering the interrupted program from the initial state can cause negative impact. Some programs are even unrecoverable. To rapid recovery of program execution under power failures, the execution states of checkpoints are backed up by NVM under power failures for embedded systems with NVM. However, frequent checkpoints will shorten the lifetime of the NVM and incur significant write overhead. In this paper, the technique of checkpoint setting triggered by function calls is proposed to reduce the write on NVM. The evaluation results show an average of 99.8% and 80.5$% reduction on NVM backup size for stack backup, compared to the log-based method and step-based method. In order to better achieve this, we also propose pseudo-function calls to increase backup points to reduce recovery costs, and exponential incremental call-based backup methods to reduce backup costs in the loop. To further avoid the content on NVM is cluttered and out of NVM, a method to clean the contents on the NVM that are useless for restoration is proposed. Based on aforementioned problems and techniques, the recovery technology is proposed, and the case is used to analyze how to recover rapidly under different power failures.