基于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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。