ALFRED:面向间歇计算环境的虚拟内存
ALFRED: Virtual Memory for Intermittent Computing
AI总结:
ALFRED 通过编译期自动确定虚拟到易失/非易失内存映射的虚拟内存抽象,免去程序员手动管理持久状态,在间歇计算中最多降低两个数量级能耗并加速任务完成。
摘要:
我们提出 ALFRED:一种虚拟内存抽象,用于化解间歇计算中易失性内存与非易失性内存之间的二分对立。混合易失性微控制器允许程序员将部分应用状态分配到非易失性主存上。因此,程序员需要手动探索在更简单的持久状态管理与非易失性内存操作的能量开销、以及因非幂等代码重新执行而导致的间歇性异常之间的权衡。这种方法费时费力,且只能获得次优性能。我们在 ALFRED 中采取不同的立场:为程序员提供一种与内存具体易失特性解耦的虚拟内存抽象,并自动确定从虚拟内存到易失性或非易失性内存的高效映射。与现有工作不同,ALFRED 不要求程序员学习新的编程模型或语言语法,同时映射完全在编译期解决,从而降低了运行时的能量开销。我们通过一系列程序机器级代码变换实现 ALFRED。与现有系统相比,我们证明在固定工作负载下,ALFRED 可将能耗降低最多两个数量级。这使得工作负载能够更快完成,因为可用能量的使用从保障前向推进转向了有用的应用处理。
英文摘要:
We present ALFRED: a virtual memory abstraction that resolves the dichotomy between volatile and non-volatile memory in intermittent computing. Mixed-volatile microcontrollers allow programmers to allocate part of the application state onto non-volatile main memory. Programmers are therefore to explore manually the trade-off between simpler management of persistent state against the energy overhead for non-volatile memory operations and intermittence anomalies due to re-execution of non-idempotent code. This approach is laborious and yields sub-optimal performance. We take a different stand with ALFRED: we provide programmers with a virtual memory abstraction detached from the specific volatile nature of memory and automatically determine an efficient mapping from virtual to volatile or non-volatile memory. Unlike existing works, ALFRED does not require programmers to learn a new programming model or language syntax, while the mapping is entirely resolved at compile-time, reducing the run-time energy overhead. We implement ALFRED through a series of program machine-level code transformations. Compared to existing systems, we demonstrate that ALFRED reduces energy consumption by up to two orders of magnitude given a fixed workload. This enables the workloads to finish sooner, as the use of available energy shifts from ensuring forward progress to useful application processing.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。