Lune

POPL2021顶会

Taming x86-TSO persistency

Artem Khyzha, Ori Lahav

摘要

We study the formal semantics of non-volatile memory in the x86-TSO architecture. We show that while the explicit persist operations in the recent model of Raad et al. from POPL'20 only enforce order between writes to the non-volatile memory, it is equivalent, in terms of reachable states, to a model whose explicit persist operations mandate that prior writes are actually written to the non-volatile memory. The latter provides a novel model that is much closer to common developers' understanding of persistency semantics. We further introduce a simpler and stronger sequentially consistent persistency model, develop a sound mapping from this model to x86, and establish a data-race-freedom guarantee providing programmers with a safe programming discipline. Our operational models are accompanied with equivalent declarative formulations, which facilitate our formal arguments, and may prove useful for program verification under x86 persistency.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • 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 引用了 NVTraverse: in NVRAM data structures, the destination is more important than the journey
  • Spirea: A Mechanized Concurrent Separation Logic for Weak Persistent Memory 引用了 Persistency semantics of the Intel-x86 architecture
  • NVTraverse: in NVRAM data structures, the destination is more important than the journey 引用了 Persistency semantics of the Intel-x86 architecture
  • Mangosteen: Fast Transparent Durability for Linearizable Applications using NVM 引用了 NVTraverse: in NVRAM data structures, the destination is more important than the journey
  • Mangosteen: Fast Transparent Durability for Linearizable Applications using NVM 引用了 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 引用了 Persistency semantics of the Intel-x86 architecture
  • A Programming Model for Disaggregated Memory over CXL 引用了 NVTraverse: in NVRAM data structures, the destination is more important than the journey
  • A Programming Model for Disaggregated Memory over CXL 引用了 Persistency semantics of the Intel-x86 architecture
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper9

  1. 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 次引用
  2. 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 次引用
  3. Spirea: A Mechanized Concurrent Separation Logic for Weak Persistent MemorySimon Friis Vindum, Lars BirkedalOOPSLA 2023 · 6 次引用
  4. Mangosteen: Fast Transparent Durability for Linearizable Applications using NVMSergey Egorov, Gregory V. Chockler, Brijesh Dongol, Dan O'Keeffe 等USENIX ATC 2024 · 5 次引用
  5. A Programming Model for Disaggregated Memory over CXLGal Assa, Moritz Lumme, Lucas Bürgi, Michal Friedman 等ASPLOS 2026 · 4 次引用

它引用的 Paper4

  1. Evaluating Persistent Memory Range IndexesLucas Lersch, Xiangpeng Hao, Ismail Oukid, Tianzheng Wang 等VLDB 2020 · 97 次引用
  2. LB+-Trees: Optimizing Persistent Index Performance on 3DXPoint MemoryJihang Liu, Shimin Chen, Lujun WangVLDB 2020 · 69 次引用
  3. Persistency semantics of the Intel-x86 architectureAzalea Raad, John Wickerson, Gil Neiger, Viktor VafeiadisPOPL 2020 · 61 次引用
  4. NVTraverse: in NVRAM data structures, the destination is more important than the journeyMichal Friedman, Naama Ben-David, Yuanhao Wei, Guy E. Blelloch 等PLDI 2020 · 52 次引用

相关 Paper

  1. Verification under Intel-x86 with PersistencyParosh Aziz Abdulla, Mohamed Faouzi Atig, Ahmed Bouajjani, K. Narayan Kumar 等PLDI 2024 · 3 次引用
  2. 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 次引用
  3. Deciding reachability under persistent x86-TSOParosh Aziz Abdulla, Mohamed Faouzi Atig, Ahmed Bouajjani, K. Narayan Kumar 等POPL 2021 · 12 次引用
  4. Rely/Guarantee Reasoning for Multicopy Atomic Weak Memory ModelsNicholas Coughlin, Kirsten Winter, Graeme SmithFM 2021 · 16 次引用
  5. Persistent Owicki-Gries reasoning: a program logic for reasoning about persistent programs on Intel-x86Azalea Raad, Ori Lahav, Viktor VafeiadisOOPSLA 2020 · 20 次引用
黄昏的海面,两侧是细线勾勒的悬崖