vNV-Heap:面向嵌入式系统的基于所有权的虚拟非易失性堆
vNV-Heap: An Ownership-Based Virtually Non-Volatile Heap for Embedded Systems
AI总结:
本文提出 vNV-Heap,一种基于 Rust 式所有权的虚拟非易失性堆,借助编译期修改跟踪与静态分析为间歇供电嵌入式系统提供有界持久化和断电恢复保证,且在 ESP32-C3 上更节能。
摘要:
无电池物联网可能通过从环境中收集所需运行能量,彻底改变我们对联网设备的理解。这些系统带来了系统软件挑战:间歇供电的 IoT 设备必须将其状态检查点保存到非易失性存储器中,以便在稍后有足够能量可用时利用该状态恢复。稀缺的能源资源要求在断电前仅持久化已修改的数据,这需要精确的修改跟踪。我们提出了 vNV-Heap,这是首个面向间歇供电系统、基于所有权的虚拟非易失性堆,并保证具备断电恢复能力。该堆利用所有权系统(一种零成本,即编译期抽象,例如由 Rust 实现)来跟踪修改并虚拟化对象持久化。为实现断电恢复能力,我们的堆在设计和实现上通过静态程序代码分析保证有界操作:例如,该堆允许确定持久化已修改且当前易失对象这一操作的最坏情况能耗。在嵌入式硬件平台(即 ESP32-C3)上对我们开源实现的评估表明,使用我们的堆抽象比现有方法更节能,同时还通过静态最坏情况边界提供运行时保证。
英文摘要:
The Internet of Batteryless Things might revolutionize our understanding of connected devices by harvesting required operational energy from the environment. These systems come with the system-software challenge that the intermittently powered IoT devices have to checkpoint their state in non-volatile memory to later resume with this state when sufficient energy is available. The scarce energy resources demand that only modified data is persisted before a power failure, which requires precise modification tracking. We present vNV-Heap, the first ownership-based virtually Non-Volatile Heap for intermittently powered systems with guaranteed power-failure resilience. The heap exploits ownership systems, a zero-cost (i.e., compile-time) abstraction for example implemented by Rust, to track modifications and virtualize object persistence. To achieve power-failure resilience, our heap is designed and implemented to guarantee bounded operations by static program code analysis: For example, the heap allows for determining a worst-case energy consumption for the operation of persisting modified and currently volatile objects. The evaluation of our open-source implementation on an embedded hardware platform (i.e., ESP32-C3) shows that using our heap abstraction is more energy efficient than existing approaches while also providing runtime guarantees by static worst-case bounds.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。