Write-Light Cache for Energy Harvesting Systems

Write-Light Cache for Energy Harvesting Systems
复制标题

DOI:
10.1145/3579371.3589098
复制
发表时间:
2023-06
期刊:
Proceedings of the 50th Annual International Symposium on Computer Architecture
影响因子:
--
通讯作者:
Jongouk Choi;Jianping Zeng;Dongyoon Lee;Changwoo Min;Changhee Jung
Jongouk Choi;Jianping Zeng;Dongyoon Lee;Changwoo Min;Changhee Jung
中科院分区:
其他
文献类型:
--
作者:
Jongouk Choi;Jianping Zeng;Dongyoon Lee;Changwoo Min;Changhee Jung

文献摘要

相似文献

能量收集系统在实现无电池物联网(IoT)服务方面具有巨大的潜力。然而,由于崩溃一致性保证的困难,它的设计没有缓存,限制了其性能。本文介绍了写光缓存(WL-Cache),一个专门的缓存架构与一个新的写策略的能量收集系统。WL-Cache结合了回写缓存和直写缓存的优点,同时避免了它们的缺点。与直写缓存不同,WL-Cache不会在每次存储时访问非易失性主存储器(NVM),而是将脏缓存行保存在缓存中以利用局部性,从而节省能源并提高性能。与回写缓存不同,WL-Cache限制缓存中脏行的数量。当电源即将被切断时,WL-Cache通过利用即时(JIT)检查点机制以故障原子方式将有界脏线集合刷新到NVM,以实现跨电源故障的崩溃一致性。为了优化,WL-Cache与运行时系统交互,该运行时系统在每个通电时段期间估计能量源的质量,并且在靴子时自适应地重新配置脏缓存行的可能数量。我们的实验表明,WL-Cache降低了硬件的复杂性,并提供了一个显着的速度比最先进的挥发性缓存设计与非易失性备份。对于两个代表性的断电跟踪,WL-Cache在先前工作中使用的23个基准测试中分别实现了1.35倍和1.44倍的平均加速。
Energy harvesting system has huge potential to enable battery-less Internet of Things (IoT) services. However, it has been designed without a cache due to the difficulty of crash consistency guarantee, limiting its performance. This paper introduces Write-Light Cache (WL-Cache), a specialized cache architecture with a new write policy for energy harvesting systems. WL-Cache combines benefits of a write-back cache and a write-through cache while avoiding their downsides. Unlike a write-through cache, WL-Cache does not access a non-volatile main memory (NVM) at every store but it holds dirty cache lines in a cache to exploit locality, saving energy and improving performance. Unlike a write-back cache, WL-Cache limits the number of dirty lines in a cache. When power is about to be cut off, WL-Cache flushes the bounded set of dirty lines to NVM in a failure-atomic manner by leveraging a just-in-time (JIT) checkpointing mechanism to achieve crash consistency across power failure. For optimization, WL-Cache interacts with a run-time system that estimates the quality of energy source during each power-on period, and adaptively reconfigures the possible number of dirty cache lines at boot time. Our experiments demonstrate that WL-Cache reduces hardware complexity and provides a significant speedup over the state-of-the-art volatile cache design with non-volatile backup. For two representative power outage traces, WL-Cache achieves 1.35x and 1.44x average speedups, respectively, across 23 benchmarks used in prior work.