Automatically enforcing fresh and consistent inputs in intermittent systems
摘要
Intermittently powered energy-harvesting devices enable new applications in inaccessible environments. Program executions must be robust to unpredictable power failures, introducing new challenges in programmability and correctness. One hard problem is that input operations have implicit constraints, embedded in the behavior of continuously powered executions, on when input values can be collected and used. This paper aims to develop a formal framework for enforcing these constraints. We identify two key properties---freshness (i.e., uses of inputs must satisfy the same time constraints as in continuous executions) and temporal consistency (i.e., the collection of a set of inputs must satisfy the same time constraints as in continuous executions). We formalize these properties and show that they can be enforced using atomic regions. We develop Ocelot, an LLVM-based analysis and transformation tool targeting Rust, to enforce these properties automatically. Ocelot provides the programmer with annotations to express these constraints and infers atomic region placement in a program to satisfy them. We then formalize Ocelot's design and show that Ocelot generates correct programs with little performance cost or code changes.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- SOL: safe on-node learning in cloud platforms 引用了 Adaptive low-overhead scheduling for periodic and reactive intermittent execution
- IntOS: Persistent Embedded Operating System and Language Support for Multi-threaded Intermittent Computing 引用了 Adaptive low-overhead scheduling for periodic and reactive intermittent execution
- IntOS: Persistent Embedded Operating System and Language Support for Multi-threaded Intermittent Computing 引用了 A Type System for Safe Intermittent Computing
- IntOS: Persistent Embedded Operating System and Language Support for Multi-threaded Intermittent Computing 引用了 Time-sensitive Intermittent Computing Meets Legacy Software
- An Architectural Charge Management Interface for Energy-Harvesting Systems 引用了 Reliable Timekeeping for Intermittent Computing
- An Architectural Charge Management Interface for Energy-Harvesting Systems 引用了 Adaptive low-overhead scheduling for periodic and reactive intermittent execution
- An Architectural Charge Management Interface for Energy-Harvesting Systems 引用了 Time-sensitive Intermittent Computing Meets Legacy Software
- A Type System for Safe Intermittent Computing 引用了 RustBelt meets relaxed memory
- A Type System for Safe Intermittent Computing 引用了 Adaptive low-overhead scheduling for periodic and reactive intermittent execution
- A Type System for Safe Intermittent Computing 引用了 Time-sensitive Intermittent Computing Meets Legacy Software
引用它的顶会 Paper6
- An Architectural Charge Management Interface for Energy-Harvesting SystemsEmily Ruppel, Milijana Surbatovich, Harsh Desai, Kiwan Maeng 等MICRO 2022 · 26 次引用
- IntOS: Persistent Embedded Operating System and Language Support for Multi-threaded Intermittent ComputingYilun Wu, Byounguk Min, Mohannad Ismail, Wenjie Xiong 等OSDI 2024 · 16 次引用
- SOL: safe on-node learning in cloud platformsYawen Wang, Daniel Crankshaw, Neeraja J. Yadwadkar, Daniel S. Berger 等ASPLOS 2022 · 14 次引用
- A Type System for Safe Intermittent ComputingMilijana Surbatovich, Naomi Spargo, Limin Jia, Brandon LuciaPLDI 2023 · 13 次引用
- Data-flow Availability: Achieving Timing Assurance in Autonomous SystemsAo Li, Ning ZhangOSDI 2024 · 10 次引用
它引用的 Paper7
- Reliable Timekeeping for Intermittent ComputingJasper de Winkel, Carlo Delle Donne, Kasim Sinan Yildirim, Przemyslaw Pawelczak 等ASPLOS 2020 · 92 次引用
- Time-sensitive Intermittent Computing Meets Legacy SoftwareVito Kortbeek, Kasim Sinan Yildirim, Abu Bakar, Jacob Sorber 等ASPLOS 2020 · 89 次引用
- Adaptive low-overhead scheduling for periodic and reactive intermittent executionKiwan Maeng, Brandon LuciaPLDI 2020 · 84 次引用
- RustBelt meets relaxed memoryHoang-Hai Dang, Jacques-Henri Jourdan, Jan-Oliver Kaiser, Derek DreyerPOPL 2020 · 68 次引用
- Persistency semantics of the Intel-x86 architectureAzalea Raad, John Wickerson, Gil Neiger, Viktor VafeiadisPOPL 2020 · 61 次引用
相关 Paper
- Adaptable Runtime Monitoring for Intermittent SystemsEren Yildiz, Khakim Akhunov, Lorenzo Antonio Riva, Arda Goknil 等EuroSys 2024 · 7 次引用
- Towards a formal foundation of intermittent computingMilijana Surbatovich, Brandon Lucia, Limin JiaOOPSLA 2020 · 26 次引用
- Concrat: An Automatic C-to-Rust Lock API Translator for Concurrent ProgramsJaemin Hong, Sukyoung RyuICSE 2023 · 17 次引用
- Rust yDL: A Program Logic for RustDaniel Drodt, Reiner HähnleFM 2026
- Automatic Linear Resource Bound Analysis for Rust via Prophecy PotentialsQihao Lian, Di WangOOPSLA 2025 · 1 次引用
