Formalising CXL Cache Coherence
Chengsong Tan, Alastair F. Donaldson, John Wickerson
摘要
We report our experience formally modelling and verifying CXL.cache, the inter-device cache coherence protocol of the Compute Express Link standard. We have used the Isabelle proof assistant to create a formal model for CXL.cache based on the prose English specification. This led to us identifying and proposing fixes to several problems we identified as unclear, ambiguous or inaccurate, some of which could lead to incoherence if left unfixed. Nearly all our issues and proposed fixes have been confirmed and tentatively accepted by the CXL consortium for adoption, save for one which is still under discussion. To validate the faithfulness of our model we performed scenario verification of essential restrictions such as "Snoop-pushes-GO", and produced a fully mechanised proof of a coherence property of the model. The considerable size of this proof, comprising tens of thousands of lemmas, prompted us to develop new proof automation tools, which we have made available for other Isabelle users working with similarly cumbersome proofs.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- vCXLGen: Automated Synthesis and Verification of CXL Bridges for Heterogeneous Architectures 引用了 HeteroGen: Automatic Synthesis of Heterogeneous Cache Coherence Protocols
- vCXLGen: Automated Synthesis and Verification of CXL Bridges for Heterogeneous Architectures 引用了 Compound Memory Models
- A Programming Model for Disaggregated Memory over CXL 引用了 Compound Memory Models
- Compound Memory Models 引用了 HeteroGen: Automatic Synthesis of Heterogeneous Cache Coherence Protocols
引用它的顶会 Paper3
- vCXLGen: Automated Synthesis and Verification of CXL Bridges for Heterogeneous ArchitecturesAnatole Lefort, Julian Pritzi, Nicolò Carpentieri, David Schall 等ASPLOS 2026 · 2 次引用
- Oasis: Pooling PCIe Devices Over CXL to Boost UtilizationYuhong Zhong, Daniel S. Berger, Pantea Zardoshti, Enrique Saurez 等SOSP 2025 · 2 次引用
- TäKōFormal: Enabling Robust Software for Programmable Memory HierarchiesPranav Srinivasan, Manos Kapritsos, Yatin A. ManerkarISCA 2026
它引用的 Paper4
- HeteroGen: Automatic Synthesis of Heterogeneous Cache Coherence ProtocolsNicolai Oswald, Vijay Nagarajan, Daniel J. Sorin, Vasilis Gavrielatos 等HPCA 2022 · 15 次引用
- Compound Memory ModelsAndrés Goens, Soham Chakraborty, Susmit Sarkar, Sukarn Agarwal 等PLDI 2023 · 11 次引用
- Hemiola: A DSL and Verification Tools to Guide Design and Proof of Hierarchical Cache-Coherence ProtocolsJoonwon Choi, Adam Chlipala, ArvindCAV 2022 · 9 次引用
- A Programming Model for Disaggregated Memory over CXLGal Assa, Moritz Lumme, Lucas Bürgi, Michal Friedman 等ASPLOS 2026 · 4 次引用
相关 Paper
- Mechanizing the CMP Abstraction for Parameterized VerificationYongjian Li, Bohua Zhan, Jun PangOOPSLA 2024
- C³: CXL Coherence Controllers for Heterogeneous ArchitecturesAnatole Lefort, David Schall, Nicolò Carpentieri, Julian Pritzi 等HPCA 2026 · 1 次引用
- CXLMC: Model Checking CXL Shared Memory ProgramsSimon Guo, Conan Truong, Brian DemskyASPLOS 2026 · 1 次引用
- Xerxes: Extensive Exploration of Scalable Hardware Systems with CXL-Based Simulation FrameworkYuda An, Shushu Yi, Bo Mao, Qiao Li 等FAST 2026 · 2 次引用
- CTXNL: A Software-Hardware Co-designed Solution for Efficient CXL-Based Transaction ProcessingZhao Wang, Yiqi Chen, Cong Li, Yijin Guan 等ASPLOS 2025 · 9 次引用
