CXL Coherence Writes Back What Surviving Hosts See, Leaving Flushes Only for Ordering
Abstract
Hosts that share memory over Compute Express Link (CXL) cache its lines, and a host that crashes loses the lines it has modified and not written back. Designs for such memory stop every host when one crashes, assume stored energy, or flush after each operation. We show that when a crashing host's clients die with it, the flushes a host crash requires are those that keep one line from reaching the memory device before a line it depends on, and not those that make a finished operation durable. The reason is a property that CXL requires of the fabric: a modified line is written back before another host accesses it. Whatever a surviving host has seen is then on the device, and our crash condition lets a crash drop operations that only the crashed host observed. We prove the claim for operations that take effect in a single store, and test it on small instances of models of three published designs, whose operations store several times. A lock table needs no flush to keep the locks of surviving hosts. A persistent hash index keeps every operation a survivor has observed, and in two workloads it writes fewer than half as many lines to the device as its published code does. An allocator's flush of each new reference is neither sufficient nor necessary for the survivors' safety: the allocator lacks ordering flushes, one of them when a reference changes hands.
Create a lesson
Related papers
Can Agentic LLMs Write Task-Based Parallel Code? A Study of OpenMP Tasking, HPX, StarPU and TTG
Shared title terminology · Linus Bantel, Anna-Lena Roth, Tim Thüring et al.
Smart Model Routing for Order-of-Magnitude LLM Cost Reduction
Shared title terminology · Hesham Elbakoury, Deep Shah, Ankur Sharma
Recompute or Restore? Host-Tier KV for Multi-Model Agent Workflows on a Static-Graph NPU Serving Stack
Shared title terminology · Sungwon Woo, Seyeon Kim