Persistent Owicki-Gries reasoning: a program logic for reasoning about persistent programs on Intel-x86
Azalea Raad, Ori Lahav, Viktor Vafeiadis
摘要
The advent of non-volatile memory (NVM) technologies is expected to transform how software systems are structured fundamentally, making the task of correct programming significantly harder. This is because ensuring that memory stores persist in the correct order is challenging, and requires low-level programming to flush the cache at appropriate points. This has in turn resulted in a noticeable verification gap.
To address this, we study the verification of NVM programs, and present Persistent Owicki-Gries (POG), the first program logic for reasoning about such programs. We prove the soundness of POG over the recent Intel-x86 model, which formalises the out-of-order persistence of memory stores and the semantics of the Intel cache line flush instructions. We then use POG to verify several programs that interact with NVM.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Memento: A Framework for Detectable Recoverability in Persistent Memory 引用了 Spirea: A Mechanized Concurrent Separation Logic for Weak Persistent Memory
- Memento: A Framework for Detectable Recoverability in Persistent Memory 引用了 Persistency semantics of the Intel-x86 architecture
- Semantics of Remote Direct Memory Access: Operational and Declarative Models of RDMA on TSO Architectures 引用了 Extending Intel-x86 consistency and persistency: formalising the semantics of Intel-x86 memory types and non-temporal stores
- Semantics of Remote Direct Memory Access: Operational and Declarative Models of RDMA on TSO Architectures 引用了 Persistency semantics of the Intel-x86 architecture
- Spirea: A Mechanized Concurrent Separation Logic for Weak Persistent Memory 引用了 GoJournal: a verified, concurrent, crash-safe journaling system
- Spirea: A Mechanized Concurrent Separation Logic for Weak Persistent Memory 引用了 Persistency semantics of the Intel-x86 architecture
- Extending Intel-x86 consistency and persistency: formalising the semantics of Intel-x86 memory types and non-temporal stores 引用了 Relaxed Persist Ordering Using Strand Persistency
- Extending Intel-x86 consistency and persistency: formalising the semantics of Intel-x86 memory types and non-temporal stores 引用了 Persistency semantics of the Intel-x86 architecture
引用它的顶会 Paper7
- GoJournal: a verified, concurrent, crash-safe journaling systemTej Chajed, Joseph Tassarotti, Mark Theng, Ralf Jung 等OSDI 2021 · 31 次引用
- Extending Intel-x86 consistency and persistency: formalising the semantics of Intel-x86 memory types and non-temporal storesAzalea Raad, Luc Maranget, Viktor VafeiadisPOPL 2022 · 24 次引用
- Semantics of Remote Direct Memory Access: Operational and Declarative Models of RDMA on TSO ArchitecturesGuillaume Ambal, Brijesh Dongol, Haggai Eran, Vasileios Klimis 等OOPSLA 2024 · 11 次引用
- Spirea: A Mechanized Concurrent Separation Logic for Weak Persistent MemorySimon Friis Vindum, Lars BirkedalOOPSLA 2023 · 6 次引用
- Memento: A Framework for Detectable Recoverability in Persistent MemoryKyeongmin Cho, Seungmin Jeon, Azalea Raad, Jeehoon KangPLDI 2023 · 4 次引用
它引用的 Paper2
相关 Paper
- Taming x86-TSO persistencyArtem Khyzha, Ori LahavPOPL 2021 · 26 次引用
- Revamping hardware persistency models: view-based and axiomatic persistency models for Intel-x86 and Armv8Kyeongmin Cho, Sung-Hwan Lee, Azalea Raad, Jeehoon KangPLDI 2021 · 24 次引用
- Robustness Verification for Checking Crash Consistency of Non-volatile MemoryZhilei Han, Fei HeASPLOS 2025 · 1 次引用
- Understanding and detecting deep memory persistency bugs in NVM programs with DeepMCBenjamin Reidys, Jian HuangPPoPP 2022 · 4 次引用
- P-INSPECT: Architectural Support for Programmable Non-Volatile Memory FrameworksApostolos Kokolis, Thomas Shull, Jian Huang, Josep TorrellasMICRO 2020 · 2 次引用
