Compiler-Directed High-Performance Intermittent Computation with Power Failure Immunity

被引:26
作者
Choi, Jongouk [1 ]
Kittinger, Larry [2 ]
Liu, Qingrui [3 ]
Jung, Changhee [1 ]
机构
[1] Purdue Univ, W Lafayette, IN 47907 USA
[2] Blockone, Grand Cayman, Cayman Islands
[3] Annapurna Labs, Cupertino, CA USA
来源
2022 IEEE 28TH REAL-TIME AND EMBEDDED TECHNOLOGY AND APPLICATIONS SYMPOSIUM (RTAS) | 2022年
基金
美国国家科学基金会;
关键词
DEBUGGER;
D O I
10.1109/RTAS54340.2022.00012
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
This paper introduces power failure immunity (PFI), an essential program execution property for energy harvesting systems to achieve efficient intermittent computation. PFI ensures program code regions never fail more than once i.e., at most single in-region outage, during intermittent computation as if they are immunized after the first power outage. To enforce PFI automatically for such batteryless systems that use a tiny energy buffer instead, we present its compiler-directed enforcement. The compiler leverages a precise static analysis to partition the program into recoverable regions with the energy buffer size in mind so that their execution can be completed-using the full energy buffered in a single charge cycle-regardless of program execution paths. In this way, no matter how unstable the energy harvesting source is, no region fails more than once. In the virtue of PFI, this paper presents ROCKCLIMB, a high-performance and rollback-free intermittent computation scheme. It guarantees that PFI-enforced regions never fail, i.e., there is no in-region outage at all. To achieve this, ROCKCLIMB checks if the fully buffered energy is secured at each region boundary. If it is not secured, ROCKCLIMB waits until the energy buffer is fully charged, before executing the following region. In particular, the rollback-free nature of ROCKCLIMB obviates the need to log memory writes-required for rollback recovery-since no region is power-interrupted. As a result, PFI+ ROCKCLIMB achieves rollback-free and memory-log-free intermittent computation, ensuring forward execution progress and maximizing it even in the presence of frequent power outages. Our real board experiments demonstrate that PFI+ROCKCLIMB outperforms the state-of-the-art work by 5%-550% on average in various energy harvesting conditions.
引用
收藏
页码:40 / 54
页数:15
相关论文
共 89 条
[1]   Fast and Energy-Efficient State Checkpointing for Intermittent Computing [J].
Ahmed, Saad ;
Bhatti, Naveed Anwar ;
Alizai, Muhammad Hamad ;
Siddiqui, Junaid Haroon ;
Mottola, Luca .
ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2020, 19 (06)
[2]  
[Anonymous], 2016, sleep
[3]  
[Anonymous], 2006, MSP430 FAMILY INSTRU
[4]  
[Anonymous], 2016, MSP430FR5994LAUNCHPA
[5]  
[Anonymous], 2017, PROC ACM PROGRAM LAN
[6]  
[Anonymous], 2013, Wirelessly powered sensor networks and computational RFID
[7]  
[Anonymous], EVALUATION BOARD P21
[8]   Automating Efficient Variable-Grained Resiliency for Low-Power IoT Systems [J].
Baghsorkhi, Sara S. ;
Margiolas, Christos .
PROCEEDINGS OF THE 2018 INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION (CGO'18), 2018, :38-49
[9]  
Banerjee A, 2013, IEEE REAL TIME, P87, DOI 10.1109/RTAS.2013.6531082
[10]  
Blackham B., 2011, Proceedings of the 2011 IEEE 32nd Real-Time Systems Symposium (RTSS 2011), P339, DOI 10.1109/RTSS.2011.38