WorksComputer Science
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.
Introduction
Memory shared over Compute Express Link (CXL) lets a CXL pod, a set of hosts attached to one memory device [18, 37], load and store the same cache lines through the hosts’ own processor caches [12]. We write pod for short. A host that crashes takes its cache with it. The lines it has modified and not yet written back are gone, while the device and the other hosts go on.
Software that relies on coherence between hosts answers this loss in three ways (§9). Some designs stop the whole pod when any host crashes. Some assume that stored energy or the platform flushes a crashing host’s cache. The rest flush, and they flush as code for persistent memory does: an operation puts what it wrote on the device before it returns. That practice was shaped by the crash of a whole machine, after which no cache holds anything. A host crash in a pod differs in one respect. On a fabric that writes a modified line back to the device before it serves another host’s access to that line, whatever a surviving host has seen of a line is already on the device. CXL’s shared regions with hardware coherence are such a fabric on our reading of the specification § 2. None of these designs says which of its flushes a host crash then requires.
We show that a host crash requires the flushes that order one line before another, and none of the flushes that make a finished operation durable: by a proof for operations that take effect in a single store, and by tests on models of three published designs whose operations store several times. A design for persistent memory issues both kinds (Figure 1). An ordering flush keeps a line from reaching the device before a line it depends on: a link before the record it names, a lock’s release before the writes it covered. A durability flush puts an operation’s own stores on the device so that the operation survives. Durability flushes can go because a value they would protect is of one of two kinds. Either a surviving host has observed the value, in which case the fabric has already put it on the device, or only the crashed host has observed it, in which case, for a host whose clients die with it, the crash condition we use lets it vanish with that host.

Figure 1. The claim. Host A stores and then , which depends on ; host B may load ; then A crashes and its cache is lost. A black cell is a value on the device and a dashed cell one that is not. Without the ordering flush, of before the store to , B’s load makes the fabric write back while is still only in A’s cache: B has seen a value whose dependency the crash removes. Without the durability flush, of after the operation, nothing that a survivor has seen is lost: if B has loaded , the fabric has written it back first, and if no host has, disappears with A and no survivor can tell. A host crash requires the first flush and not the second.
The contributions are these.
The ordering rule (§ 3). For one dependency between two lines, two rules on stores keep the device consistent through any crashes, and a dependent value stored while the device lacks the value it depends on can be exposed to a surviving host.
A theorem for operations with one commit (§ 3). If every operation takes effect in one store and first flushes the other lines it read or prepared, an implementation that is correct without crashes meets our crash condition; an operation on one line needs no flush. If every finished operation must survive instead, even a register that one host writes alone needs a flush in every write.
A lock table (§ 5) loses no lock of a surviving host at any sampled crash with no flush at all, and two ordering flushes keep every thread from reading part of a crashed host’s update.
A persistent hash index (§ 6) with the flushes of two dependencies shows no violation for survivors in the explored instances, and its inserts write 0.58 lines to the device each whereas those of its published code write 2.00.
An allocator (§ 7) flushes each new reference when it allocates. With that flush a survivor can hold or reach a freed object in every explored instance in which a reference or a segment leaves the client that crashes, and with the ordering flushes in its place in none.
The three designs are tested by exploring small instances of models of them on an executable model of the memory, exhaustively whenever the state space could be finished (Figure 2; § 4, § 10).

Figure 2. Outcomes of the three studies. A bar is the share of explored instances in which some execution violates the design’s crash condition when a host crashes and its cache is lost (for the lock table, the nine programs explored with up to two crashes, counting the program explored at two budgets once). With the ordering flushes alone, none does; leaving one of them out brings violations back. Every allocator bar keeps the source’s flushes of redo entries and eras. Some runs stopped at a cap on the number of states; § 5 to § 7 give the counts.
For a designer the result is a rule of placement: flush a line before the store that depends on it, and nowhere else. It replaces flushing everything the operation wrote, and it can ask for more flushes as well as fewer: one of the allocator’s ordering flushes comes when a reference changes hands, at which point its published code flushes a redo entry and none of the lines the receiver will read. For hardware the result puts a price on one property of the fabric. When a modified line is instead passed from cache to cache, a crash loses a surviving host’s lock in a share of the sampled crashes that depends on the transaction mix and the layout, and whose mean over seeds reaches 78.1 percent.
Setting and model
A pod is a set of hosts that load and store the lines of one memory device through their own processor caches [18, 37]. The hosts crash independently of the device and of each other. We study the crash of a host: its cache is lost, and the device and the other hosts keep running.
States. The model, , restricts the operational model of Assa et al. [4], in its variant in which a load by another host writes the line back, to a pod: hosts own no shared memory, one device owns every shared line, and a line moves between hosts only through the device. It has hosts , lines and values . A state has a cache per host, which maps each line to nothing, to a clean copy or to a dirty copy , and a device memory, which maps each line to a value. A clean copy is one the host obtained from the device. A dirty copy is the value left by the host’s last store or read-modify-write to the line and not yet written back. Each host also has private memory that no other host can access.
Steps. A thread on host takes the first four steps below; the fifth is a crash of the host, and the last two are silent steps of the hardware. A non-temporal store, which one of the designs we study uses, is a store followed by a flush of its line.
. Allowed only when no other host holds dirty, this step drops from every other cache and leaves at .
. If holds a copy, the load returns its value. Otherwise the load is allowed only when no host holds dirty; it returns the device value and installs a clean copy.
, an atomic read-modify-write. Allowed only when no other host holds dirty, this step reads the value that a load would return, drops from every other cache, and leaves at .
. If holds , the device memory of becomes and the copy becomes clean, and the thread waits for this. Otherwise nothing changes.
Crash. A crash erases the cache and the private memory of , leaving the device memory and the other caches untouched.
WB (silent). If holds dirty, the device memory of becomes and the copy becomes clean.
Evict (silent). A clean copy is dropped.
The silent steps are scheduled by an adversary and are invisible to threads: no thread can assume that one has occurred, and a dirty line can reach the device at any moment. A state is reachable if a sequence of steps leads to it from empty caches and some initial device memory.
The premise. The conditions of Store, Load and RMW on other hosts’ dirty copies say one thing about the hardware: an access to a line that another host holds modified is served only after that host has written the line back to the device. A coherence protocol has this property or lacks it by design.
CXL’s shared regions with multi-host hardware coherence have it, on our reading of revisions 3.0 and 4.0 of the specification [10, 11]. For each shared region with back-invalidation the fabric manager chooses hardware coherence or coherence managed by software [10 §2.4.4]; we consider the first. When the device needs a line back, as when another host requests it, it sends the holder a back-invalidate snoop. The holder’s response carries no data: it reports the state of the holder’s cache, and the response that reports the invalid state means that the holder has completed the snoop [10 Tables 3-37 and 3-38]. Data travels from a host to the device on one channel, that of requests with data, and no channel carries data from one host to another. A modified line can therefore leave its holder only by a write to the device, and the device serves the waiting host from its own memory. That the write completes before the response is the holder’s obligation. The specification says so in its description of a snoop caused by an eviction from the device’s snoop filter: the host finds that it holds modified data for the line, that data has to be written to the device before the snoop can complete, and the host sends its response once the device has completed the write [10 §3.5.1.2 and Figure 3-20]. The statement belongs to a flow that the specification gives as an example; its summary of the rules for back-invalidation refers to these flows and has no separate rule for the order [10 §3.3.3]. The order also follows from coherence: a holder that responded while its write was in flight would let the device serve a value that the write then replaces.
Two earlier works bear on this reading. Assa et al. write that the standard “does not explicitly require remote loads to update memory” and give the write-back as a variant of their model [4]. Guo et al. adopt it as the memory model of their checker, in which “remote reads ensure that cache lines have been written to the backing storage” [15]. Other coherent interconnects lack the property: the specifications of Arm’s Coherent Hub Interface (CHI) [3] and of the Cache Coherent Interconnect for Accelerators (CCIX) [6 Tables 3-16 and 3-18] let a snooped cache supply a modified line to the requester without a write to memory, and leave the duty to update memory with the holder or pass it to the requester. A fabric that hands the modified line from one cache to another is tested in §5, in which switching the premise off makes survivors lose locks.
Lemma 2.1 (coherence). In every reachable state, if a host holds dirty then no other host holds , and every clean copy of equals the device value of .
Lemma 2.2 (an observed value is on the device). In a reachable state, if a load of by host returns and does not hold dirty, then the device value of is .
Proof. Lemma 2.1 is by induction on the steps: a store or a read-modify-write leaves one holder; a load from the device needs no dirty holder and installs the device value; a flush or a write-back makes the dirty holder’s value the device value; a crash and an eviction only remove copies. For Lemma 2.2, a load by a host that does not hold the line dirty returns the host’s clean copy, which equals the device value by Lemma 2.1, or the device value itself. ▫
Lemmas 2.1 and 2.2 give the whole content of the premise for software: whatever a second host has seen of a line is on the device, and because no other host holds a line that holds dirty, a crash of loses only values that alone had.
What must survive a crash. A history records the invocations and responses of operations by threads, together with crash events. A crash ends an incarnation of its host; threads the host runs afterwards belong to a new incarnation. Write for a history with its crash events removed. Durable linearizability (DL) requires to be linearizable, so every operation that completed before a crash survives it, the crashed host’s included [19]; Assa et al. adopt it for partial crashes [4]. We use a weaker condition.
Definition 2.3 (observation-durable linearizability (ODL)). is observation-durably linearizable if for each crash event there is a set of operations, invoked by threads of the incarnation that ends and completed before , such that without the operations in the sets is linearizable.
A crash may remove completed operations of the host that crashed and no others. Every response a surviving host returned stays justified, because the linearization keeps every completed operation of a host that did not crash; so an operation of the crashed host whose effect a survivor’s response depends on cannot be removed. ODL is the condition for a host whose clients die with it. A response that leaves the pod before the lines it depends on are on the device is outside its protection.
The set need not be the last operations of the crashed host. Let a host insert and then into two lines with no flush, let another host look up , and let the first host crash. The device has and may not have , and ODL accepts the history by removing the insert of : a later operation of the crashed host survives and an earlier one does not. Buffered durable linearizability, the relaxation of DL for crashes of a whole machine, also lets a crash remove completed operations, but only those outside a cut of the history that is closed under happens-before, so that what survives is “consistent but not necessarily up to date” [19]. ODL asks less of the crashed host’s operations, which it does not keep in order, and more of the others: it removes no operation of a host that did not crash. A program that needs an operation of a host to survive whenever a later operation of the same host does has to order the two; §3 says what that takes.
Ordering flushes and durability flushes
A design for persistent memory flushes for two reasons. An ordering flush keeps one line from reaching the device before another line that it depends on. A durability flush puts an operation’s own stores on the device before the operation responds, so that the operation survives a crash. This section makes the first kind precise in Mpod, proves that it is sufficient for the dependency it protects and that a state it excludes can be exposed to a surviving host, proves that for operations that take effect in one store the ordering flushes give ODL, and shows why the second kind has a price that ODL does not pay.
Ordering pairs. Crash-consistent designs keep invariants of the form that if line holds a value of one kind, then line holds a value of another: a link names a record that has been initialized; a count covers the reference that raised it. An ordering pair consists of two distinct lines and and two sets of values and ; we say that a value at depends on an value at . In a state,
is present at if the device value of is in or some host holds a dirty copy of that is in $B;
is settled at if the device value of is in and every dirty copy of is in $A.
A state keeps the pair if, whenever is present at , is settled at . Two rules constrain the steps that write, Store and RMW. Let such a step write the value to the line from the state .
R1 If and , then is settled at in $s.
R2 If and is present at in , then .
R1 says that the dependent value is written only once the value it depends on is on the device. R2 says that the value depended on is not withdrawn while a dependent value exists.
Theorem 3.1 (the rules keep the order). Let a state keep the pair , and let every Store and RMW step of a run from that state obey R1 and R2. Then every state of the run keeps the pair; whatever crashes, write-backs and evictions the run contains. In particular, in every state of the run, if the device value of is in then the device value of is in .
A state with empty caches whose device value of is not in keeps the pair, so the theorem covers every run from such an initial state.
Proof. We show that each step preserves the property. Let the state before the step keep the pair.
A store or read-modify-write of to by host . Afterwards the only dirty copy of is , at , and the device is unchanged. If , R1 gives that was settled at , and the step touches no copy of . If and is present at afterwards, the device value of is in , so was present before, was settled at , and still is.
A store or read-modify-write of to by host . Afterwards the only dirty copy of is , and the device and every copy of are unchanged. If is present at , it was present before, so the device value of is in , and R2 gives .
A flush or write-back of a dirty copy by host . If the line is , the device value of becomes and the copy becomes clean; if is present at afterwards, then or another dirty copy is in , so was present before, and is untouched. If the line is , the device value of becomes and the presence of at does not change; if is present, was settled, so and the remaining dirty copies are in .
A load or an eviction changes no device value and no dirty copy. A crash removes copies and changes no device value: it cannot make present at , and it cannot unsettle at $x. A step on a third line changes nothing at or .
For the last sentence, a device value of in makes present, so is settled, and the device value of is in . □
Proposition 3.2 (a store out of order can be exposed). In a reachable state, let host hold a dirty copy of while the device value of is not in , and let . Then the steps , and can occur in this order; the load returns ; and afterwards the device holds at and a value outside at .
Proof. By Lemma 2.1 no host other than holds . The write-back puts on the device and leaves no dirty copy of , so the load by is served from the device and returns . None of the three steps changes the device value of .
The write-back in Proposition 3.2 is the one the premise performs before it serves ; the adversary adds only the crash. If had stored an value to and not flushed it, the crash erased it: a surviving host has read a value, and the value it depends on exists nowhere. The proposition concerns the device’s value of . R1 also asks that no host hold a dirty copy of outside , for a plainer reason: a silent write-back of such a copy puts it on the device at any moment.
What the theorems say about flushes. Consider a host that has stored an value to and is about to store a value to . R1 asks that the device hold an value at . The host cannot see silent write-backs, so it can know this in two ways: it has flushed since its last store to , or another host has accessed since (Lemma 2.2), which the host knows only if the program tells it. Either way the program has to keep other hosts from storing a value outside to in between, by a lock or by giving the line one writer; R2 forbids such a store only once a value is present. The flush of before the store to is the ordering flush of the pair, and Proposition 3.2 shows what its absence allows. Theorem 3.1 holds for each pair of a design separately, so a design with several pairs keeps them all by obeying the two rules for each. Two values on one line need no pair: a line reaches the device whole.
Theorem 3.1 never asks for a flush of . The pair is kept whether or not the dependent value ever reaches the device, and if the storing host crashes first, the value is lost together with everything that depended on it in that host’s cache. This is the sense in which a host crash requires a design’s ordering flushes and none of its durability flushes: what a durability flush would protect is either something a surviving host has observed, which Lemma 2.2 already puts on the device, or something only the crashed host had, which ODL lets a crash remove. The argument is about one line. An operation that wrote several lines can be observed through one of them, and the others must then be ordered before that one by pairs of their own. The same holds for two operations of one host that must survive in order (§2): the later store depends on the earlier, and the earlier line is flushed first.
From dependencies to the crash condition. Theorem 3.1 and Proposition 3.2 concern one pair. For operations of one common form the pairs can be read off the program, and keeping them gives ODL. An implementation of an object gives each operation a program: loads, stores, read-modify-writes and flushes taken by one thread, each determined by the operation’s arguments and by the values that its earlier loads and read-modify-writes returned, and then a response determined in the same way. It is linearizable without crashes if the history of every execution that contains no crash is linearizable [17]. An object may restrict how it is called, as a stack does that takes a new node with each push; its executions are then those that obey the restriction. The proof of Theorem 3.4 leaves operations of crashed hosts out of an execution, and we assume that what remains still obeys the restriction. A restriction on each call by itself, as the stack’s is, survives the removal of any operations.
Lemma 3.3 (what a host alone has seen). In a run from a reachable state, let host hold line dirty, and consider the steps that follow, up to and not including the first flush or write-back of by or crash of . Throughout them holds dirty, no other host loads, stores, read-modify-writes, writes back or evicts , and the device value of does not change. If the step that comes next is a crash of , the device value of is the same after the crash, and no host holds .
Proof. While holds dirty, a store, a read-modify-write or a load from the device of by another host is not allowed, and by Lemma 2.1 no other host holds a copy of to load, write back or evict. A step of other than a flush, a write-back or a crash leaves its copy of dirty. The device value of changes only by a flush or a write-back of by the host that holds it dirty. The crash erases the only copy. □
Three terms say how a value travels through an execution. A write is a store, or a read-modify-write that changes the value of its line. Let every value carry a mark that no program sees: a write marks the value it puts in its line with its own step, and every other step passes the mark on with the value. A read-modify-write that writes back the value it read is an attempt, as a failed compare-and-swap is: it leaves the line dirty at its host and leaves the mark as it was. A load or a read-modify-write reads from the write whose mark the value it returns carries. A write descends from a write if it is , or if its operation has read, at that step or an earlier one, from a write that descends from .
An implementation has single commits if in every execution, with or without crashes, the lines that each operation accesses divide into lines that it prepares and others, as follows. On the others the operation takes loads and attempts and then at most one write, its commit, and the commit is its last load, store or read-modify-write of any line. A line that an operation prepares belongs to until its commit publishes it: at any point of the execution, a step of another operation loads, stores or read-modify-writes the line only after has read from a write that descends from the commit of . A linked stack whose pushes are each given a node that has a line to itself, and that no other push is given, has single commits. A push loads the head, fills its node, and swings the head to the node by a compare-and-swap; a swap that fails is an attempt, and the push starts again. A pop loads the head and the node that the head names, and swings the head to the next node in the same way. The address of a node is written only by the commit of its push and by operations that have loaded it, so no operation reaches the node in another way. The commit rule is this: before its commit, an operation flushes every other line that it has loaded, stored or read-modify-written, after its last such step on that line.
Theorem 3.4 (single commits). Let an implementation with single commits be linearizable without crashes, and let its operations obey the commit rule. Then every execution satisfies ODL.
Proof. Call the current value of a line the dirty copy of it, if a host holds one, and its device value otherwise. By Lemma 2.1 a load or a read-modify-write returns the current value of its line. A store or a read-modify-write sets the current value; a flush, a write-back and an eviction leave it as it is; a crash of a host resets it to the device value for the lines that holds dirty and leaves it for the others. In an execution with no crash, therefore, a load returns the last value written to its line, as on a memory with no caches.
Fix an execution, with history . For a crash of host , call a line lost at if holds it dirty just before , and let its run extend from the last step at which came to hold it dirty up to . Just before the run no host holds the line dirty, so its device value is its current value, and by Lemma 3.3 the device value does not change during the run. The crash therefore returns the line to the value and the mark that it had before the run: it undoes the writes to the line during the run, and no later step reads from them. By induction on the steps, the current value of a line is at every step that of the last write to it that no crash has undone. Let be the set of operations that load, store or read-modify-write a line lost at during its run. By Lemma 3.3 they are operations of threads of in the incarnation that ends. Let be the union of the sets .
A commit of an operation of is a write that undoes. Let the operation access the lost line during the run of and commit on the line . The commit is its last access, and it comes before . If , the commit is in the run. If , the commit rule puts a flush of by the operation between that access and the commit; but holds dirty throughout the run, so the flush would write back, and would have to come to hold dirty again later, which contradicts the choice of the run. So each write of an operation of is its commit, which undoes, or a write to a line that the operation prepared.
No operation outside reads from a write of an operation of . Suppose that a step of an operation reads from a write of another operation , that is in , and that the claim holds for the steps before . If is the commit of , then undoes it, so comes before , in the run of the line, and is in . Otherwise is a write to a line that prepared, so has read, before , from a write that descends from the commit of . Every write before that descends from that commit is by an operation of : the commit is, and any other is by an operation that had read from an earlier one, which puts the operation in by the claim for the steps before . So read from a write of an operation of before , and is in .
Without the crashes and the operations of , an execution remains. Take the invocations, the steps and the responses of the operations outside , in their order, and run them in from the same initial device memory, with a write-back before each step that needs one and with no crash and no other silent step. Each host runs the threads of all its incarnations, and a thread whose operation a crash interrupted takes no further step. By assumption the calls obey the object’s restriction, if it has one. We show that each load and each read-modify-write returns the value that it returned in the original execution, so that each operation takes the same steps and gives the same response. In the original execution, let a step of an operation outside read from the write to the line .
The operation of is outside . Every write to between and was undone before , so it lies in a run of , and its operation is in . Hence is the last write to before by an operation outside , and its value is what returns in the execution without crashes. If returns the initial value of instead, the same holds of every write to before .
The execution without crashes has a linearizable history, and that history is without the operations of . For each crash take as the operations of that completed; threads of the incarnation that ends invoked them, and they completed before . The other operations of never respond, and a linearization may leave them out. Hence is observationally durably linearizable. □
The commit rule issues the ordering flushes of an operation’s pairs: the lines it read or prepared, each paired with the line of its commit. It does not ask, as does, that at the commit the device and every dirty copy of such a line hold a value of the kind depended on; linearizability without crashes already accounts for a line that another operation changes in between. It asks for no flush of the commit line, which is the absence of a durability flush. When every operation accesses one line only, by loads, attempts and at most one write last, no other line is read or prepared, so an implementation that is linearizable without crashes satisfies ODL with no flush by Theorem 3.4. An acquisition of one lock by a read-modify-write on the line of its record, which leaves the record as it was if another thread holds the lock and may be retried, and a release by one store or read-modify-write take that one-line form, so a table of such locks keeps every lock that a surviving host took, with no flush (§5). The restriction that only its holder releases a lock survives the removal in the proof: a release follows its acquisition on the same line, so a crash that undoes the acquisition undoes the release with it.
What is not proved. Theorem 3.4 does not cover an operation that writes more than once to lines it did not prepare, such as one that takes a lock, writes and releases it. A crash can then leave some of the operation’s writes on the device and undo others, and which operations may be dropped is no longer decided by which lines were lost. Nor does it cover a design that gives a prepared line to a second operation, as one that recycles nodes or packs two nodes into a line does, or a program that keeps state in its host’s private memory from one operation to the next or runs recovery code after a restart. The update paths of the three designs we study write several times. For them we identify the pairs by reading the design, or for the allocator by exploration (§7), and we test by exploration that keeping the pairs gives the crash condition. The commit rule is also more than a design may need: it flushes every line an operation read, whereas a design can know that the line is on the device already, as a pop of the stack above knows of a node that its push flushed before publishing it.
Durability has a price. The weaker condition is what removes the durability flushes. Under DL even a register needs one in every write.
Proposition 3.5 (one flush per update under DL). Let a deterministic implementation of a read-write register satisfy DL, and let each of its operations complete when run alone from any reachable state. Consider an execution in which one host runs one thread that performs writes of values distinct from each other and from the initial value, no other host takes a step, and no silent write-back occurs. Every write that completes in it contains a flush.
Proof. Suppose a write by host completes with no flush between its invocation and its response. No other host took a step and no silent write-back occurred, so the device memory at the response is as it was at ’s invocation. Crash right after the response, and let a thread of another host run a read alone. The read starts from the device memory and empty caches that it would start from in the execution in which was never invoked and crashed at ’s invocation, so it takes the same steps and returns the same value in both. In that execution the history is linearizable only if the read returns the value of the last write before , or the initial value, and neither is ’s value. So the read returns a value other than ’s after completed, with no write in between, and the history with its crash removed is not linearizable. □
The proposition is the pod counterpart of the bound of one fence per update that Cohen, Guerraoui and Zablotchi prove for crashes of a whole system [9]. Under ODL the same execution is harmless: the crash may remove , which no other host observed.
How the designs are tested
No processor, switch or device available to us keeps caches coherent across hosts, and the testbeds in the literature, virtual machines on one server, cannot lose one host’s cache. The three studies that follow therefore run on an executable form of , and they share one method.
A design as steps. We write the operations of a published design as sequences of the steps of § 2, one step for each access to shared memory that its published source code makes on the path studied: every load, store, compare-and-swap and flush, in the source’s order, except when a study says that accesses were merged or left out. A discipline is the design with a chosen set of flushes. The disciplines are: no flush; the flushes of the source, when the source has any; the ordering flushes, which are the flushes of the ordering pairs we identify in the design and no others; and the ordering flushes with one of them left out (in the hash index, the flush after a remove; in the allocator, the line of an object that the sent object refers to).
One more discipline, with a known error or with the premise switched off, must be caught, as a check that the search can find a violation. A model may also contain steps that its design needs on a pod and that its source lacks; the hash index has two, a lock that records its holder and one flush when a host starts, and §6 describes them.
Exploration. An instance fixes two or three hosts, their threads, and a handful of operations per thread. The explorer visits every reachable state of the instance: every interleaving of the threads’ steps, with a crash at any point, of any host in the lock-table study and of one designated host in the other two, within a budget of one or two crashes. It does not interleave the silent steps. At a crash it leaves each line that the crashed host held dirty with any one of the values the line has held dirty since it was last clean, or with the device’s value. Each choice is what one schedule of silent write-backs leaves. Every schedule leaves one of them, because a write-back that no other host’s access requires changes nothing a thread can observe until the host that held the line crashes. The design’s crash condition is evaluated during every execution: after each step in the explorers of the lock table and the allocator, and in that of the hash index at the end of the execution and at each crash that leads to a state not visited before, so that its counts of checked histories depend on the order of the search. A run is exhausted when no state remains to visit. A run that reaches its cap on the number of states first is reported as stopped, and a zero from a stopped run is a statement about the states it visited.
Controls. Every instance is also explored with no crash, under which no discipline may violate the condition; the exceptions are 2 instances of the hash index, which a first pass did not exhaust without a crash (it found no violation) and which were not run again. When the paper that describes a design states an assumption under which the design needs no flush, the instance is explored under that assumption as well.
What this method can show. A violation is an execution of our model of the design, with its steps listed, and can be checked against the source by hand. A zero from an exhausted run covers one instance.
A lock table
The databases designed for pods keep their cross-host locks under hardware coherence, when a device offers it, and the data that the locks guard outside it: Tigon keeps a latch and lock bits in an 8-byte record for each shared tuple [18], and XTRA keeps a lock bit and a version in each slot of a directory [34]. Tigon treats the failure of any component as a failure of the whole system. XTRA has the surviving hosts scan the directory for the locks that a crashed host held and, from its redo log, roll each of its transactions forward or release its locks. We drove the executable model of § 4 with the lock requests of two transaction mixes under two-phase locking, at settings taken from Tigon’s evaluation, and at 317,084 sampled instants in 400 runs compared the locks in force with the lock table that would remain if one host crashed at that instant. Without forwarding, no sampled crash loses a lock that a transaction on another host holds or brings back one that it released, as Lemma 2.2 requires and as Theorem 3.4 proves for locks taken and released on one line by one read-modify-write each. With pass-dirty forwarding, in which an access to a line that another host holds modified is served from that host’s cache and the device is not written, the share of sampled crashes that lose at least one such lock reaches a mean over seeds of 52.2 percent in one mix when each lock record has a line of its own, and of 78.1 percent when eight records share a line in the order of their creation (Figure 3a).

Figure 3. A lock table on the executable model: the lock requests of two transaction mixes, TPC-C and a key-value mix with Zipfian keys, on 8 hosts with 3 workers each. (a) The share of sampled crashes in which, under pass-dirty forwarding (a fabric that hands a modified line from one cache to another without writing the device), at least one lock held by a transaction on a surviving host is lost, for three layouts of the 8-byte lock records; means over ten seeds with 95 percent intervals, cut at zero. The marks for eight records per line placed at random lie on those for one record per line, which they exceed by at most 1.4 points. Without forwarding the share is zero in every run. (b) Stores to lock records per committed transaction, with records created at their first use by a second host. A design that flushes after every store issues the whole bar; the first ordering flush follows an exclusive acquisition, the darker part.
The crashed host’s own locks are another matter. Without forwarding, in every mix and layout at least 69 percent of the locks that its transactions hold in lock records are lost with it: no other host has accessed their lines since they were taken, and no eviction has written them back. ODL permits that loss, and it is harmless only if what the lock guards is lost with it. Nothing orders a host’s lines on their way to the device, so a write under the lock can reach the device without the lock, and a release without the write. Two rules exclude both: a host flushes the lock’s line after an exclusive acquisition, before its first write under the lock, and has its writes on the device before it releases. In an exhaustive exploration of nine small programs without forwarding (10 instances: one program is explored with one crash and again with two), no execution under both rules lets a thread that is granted the lock read part of a crashed host’s update, and with either rule dropped every instance has such an execution. The first rule costs from 0.09 to 7.12 flush steps per committed transaction on these mixes, whereas a flush after every store to a lock record issues from 0.75 to 32.53 (Figure 3b). These are flush steps alone; §3 adds the waits that unflushed lines cause. The second is the flush by which a commit publishes its updates before it releases its locks, as XTRA’s does. Under both rules the lock of a host that crashed in mid-update stays in the lock table, over data that may be half written. A recovery that scans the lock table, as XTRA’s does, can rely on finding every lock of the crashed host that another host observed, and one that no host observed only if its holder flushed it; before it releases such a lock it has to roll the update forward or back, for which XTRA flushes a redo log before the update’s first write.
The two rules are the ordering flushes of two pairs in the sense of § 3: a value stored under the lock depends on the lock word that names its writer, and the lock word that frees the lock depends on the values stored under it. Neither is a durability flush: no shared acquisition, refused request or release is followed by a flush, and the lock table as a whole is never flushed. The result is the same with two crashes and in the three shared layouts we explored. In 32 further exhaustive runs no execution violates the property under both flushes: the same instances with two crashes allowed (10 runs, two of them of the same program), and instances in which lock words share a line with a guarded value, with each other, or with both, with two crashes (16 runs) and with one (6). Every one of these runs has a violating execution under no flush and under either flush alone, and so has each of the 29 runs made with forwarding.
A hash index
P-CLHT is the persistent form, from RECIPЕ [21], of a hash table whose buckets are one cache line each [13]. A bucket holds a lock, three slots for key-value pairs and a link to the next bucket of its chain. A lookup takes no lock. An insert locks the head of the chain and puts the pair in a free slot; if the chain has none, it fills a new bucket and links it to the last one. A remove clears the key of the pair’s slot. RECIPЕ makes each of these stores a non-temporal store or follows it with a flush, and adds a fence, so that an operation is on the device when it returns.
We wrote the three operations as steps from the source and explored them on two or three hosts with one crash, 9 instances in all (80 runs, 46.3 million states, 35 of the runs with no crash). The table exists when an instance starts, and no instance resizes it. The source takes its buckets from the system’s allocator and does not say how they are recovered; the model adds a record, on a line of its own, that a bucket is in use, and the model’s form of the source flushes that record as well. The model’s buckets have two slots. The crash condition is ODL; we also evaluate DL.
Three things in the model are not in the source. The source’s lock is a plain word, and the source frees every lock in one routine, which cannot run while other hosts are using the table. The model’s lock therefore records the host and the incarnation of its holder, and a thread that finds the lock of an incarnation that has since restarted takes it over; Guo et al. change the locks of another of RECIPE’s indexes in this way [15]. To number its incarnations a host stores and flushes one line when it starts, under every discipline, with no flush included. And the memory that a new bucket is taken from holds an old pair for the key being inserted, as after an earlier use, because the zeroing of a fresh bucket is itself a cached store that a crash can lose. A survivor’s insert or remove that finds the lock held on the device by a host that has crashed and not restarted waits, and its operation stays pending in the history; the crashed host restarts in two of the instances.
Two ordering pairs. The first pair is the one every linked structure has: a link depends on the content of the bucket it names, and on the allocator’s record that the bucket is in use. The second is particular to a table whose chains span lines: a key stored in a slot of one line depends on the removal of that key’s old pair from another line. The ordering flushes are therefore two: the new bucket and its allocation record before the link, and the line of a removed pair before the key is stored again. Our discipline issues the second after every remove, which is more often than the pair requires. We fixed the two pairs, and predicted that the first alone would not be enough, before any exploration ran.
Results. With the flushes of the source, no history violates ODL or DL (2,851,018 histories checked; 4 of the 9 explorations stopped at 2 million states). With no flush, an insert that extends a chain can be lost while its link survives: in one exhausted instance 582 histories violate ODL, the first of them a lookup that follows the link to a bucket whose content never reached the device and returns the stale pair that the bucket’s memory held before. With the first ordering flush alone such histories are gone, and 163 violating histories remain in another exhausted instance: a host removes a key and starts to insert it again with a new value, in a free slot of another line, and crashes during the insert, with the new pair’s line on the device and the removal not; a survivor’s remove of the key then returns the new value, and its next lookup returns the old one. With both ordering flushes no history violates ODL in any of the 9 instances (3,112,502 histories checked; 5 state spaces exhausted, 4 stopped at 2 million states). The discipline with a known error stores the link before it fills the bucket and issues no flush; it is caught in 5 instances (163 to 6,336 histories). In two of them no insert extends a chain, the erroneous step never runs, and the count is the same as that of no flush. The control shows that the search finds violations; it does not separate the misplaced link from the missing flushes.
An insert into a free slot of the chain’s first bucket, of a key that has no unflushed removal on another line, needs no flush at all: it touches one line, and under every discipline, the one with no flush included, no history of the instance that isolates it violates ODL. If the insert is lost with its host, ODL removes it; if a survivor has seen it, it is on the device (Lemma 2.2).
The first pair also protects liveness. Without the flush of the allocation record, a host that restarts after its crash can take from its pool a bucket that is already linked, fill it and link it to itself, and a lookup then walks that bucket without end (1,011 checked histories with an operation that never returns, in the first 2 million states of one instance under no flush; none under the first ordering flush).
What the durability flushes bought. Under the ordering flushes DL fails in 2,648 of the checked histories, as Proposition 3.5 leads one to expect: ODL lets completed operations of the crashed host that no survivor observed be lost, and DL does not. We counted on P-CLHT’s own code, with counters added, on one thread, over 5 seeds of 1,000,000 operations per phase. Of the inserts into an empty table, 71 percent go to a free slot of an existing bucket. Per insert in that phase the source writes 2.00 lines to the device, by a flush or a non-temporal store (2.75 with its 5 resizes, which the model does not have), and the ordering flushes write 0.58, in 0.29 flush steps that each name a new bucket and its allocation record. In a phase of half inserts and half removes the source writes 1.50 lines per operation and the ordering flushes 0.68, 0.50 of them after removes; § 8 turns these counts into waits. Operation by operation, the source writes two lines for an insert and one for a remove; the ordering flushes write none for an insert into a free slot, two for an insert that extends a chain, and one for a remove. The saving is the insert into a free slot, and our discipline keeps the flush after every remove.
Checks. The source’s buckets have three slots and the model’s two. With three slots, in 20 further exhausted runs, the outcomes are the same: no violation of ODL under both ordering flushes, 163 violating histories under the first alone, 1,146 under none in the instance that extends a chain. The 4 explorations that stopped at their cap visit one corner of their state spaces; repeated with another search orders (12 runs of 2 million states), they again show no violation of ODL under both ordering flushes, and the same orders find the violations of the weaker disciplines in all 9 runs made to check that they can. The two instances in which the crashed host restarts, the only ones in which a lock is taken over, are among those that stopped. Guo et al. report three missing flushes in P-CLHT’s constructor and in the allocation of its table [15]; those paths precede the state our instances start from.
An allocator
CXL-SHM is an allocator for memory shared by clients on different machines [35]. Each object carries a reference count. A client that crashes is recovered by a monitor, which releases the references the client held: its root references, the references it had attached to a queue and not yet passed, and, through a redo entry, a reference it was attaching or releasing when it crashed. Clients pass references through queues with one sender and one receiver. The sender attaches the reference to the slot at the tail and then advances the tail, and “ownership of the reference recorded in the queue is transferred atomically from A to B at the point where A advances the tail offset of the queue”. Each attach and release of a reference writes and flushes a redo entry before the count changes, then advances and flushes the client’s era word, a counter by which recovery tells whether a redo entry still applies. On top of these the allocation path flushes the new root reference. The authors add this flush “to persist the modification because our current implementation is still based on CXL 2.0”, measure that it “can occupy 27%~50% of the total time”, and write that it “may not be required in a CXL 3.0 based implementation that implements hardware distributed cache coherence (e.g., with an eADR-like assistance to flush cache data at the time of node failure)”. In their account of the order of allocation, the root reference is linked to a block before the block is taken from its page’s free list, so that a client that crashes between the two steps does not leak the block. That flush is the one we study.
We wrote allocation, reference attachment and release, sending, receiving and recovery as steps from the public source, with the monitor’s recovery taking one memory access at a time beside a surviving client, and with objects that hold a reference to another object. A queue’s receiver is recorded when the queue is created, as the paper describes. Every discipline below keeps the source’s flushes of redo entries, of era words and of a fresh page; the disciplines differ in the flush of the root reference and in the flushes we add. The crash condition is safety for the survivor: it never holds, or reaches through a reference inside an object it holds, an object whose count is zero or whose page or segment has been freed. There are 14 instances (152 runs with a crash or none, 183 million states); in 13 of them a reference or a segment leaves the client that crashes. Of the 152 runs, 20 stopped at a cap of 5 million states, none of them under the ordering flushes.
The ordering pairs. The store that passes ownership is the advance of the tail. By § 3 it depends on every line that recovery or the receiver will read through the reference. Which lines those are we found by exploration, not by reading: starting from a flush, before the tail advances, of every line that the client writes and recovery reads, we removed one line at a time and kept those whose removal made an instance unsafe. They are the line of the object sent, the lines of the objects it reaches through references (we explored chains of one and two references), the metadata of their page, the head of the client’s list of pages when the page is new, and the client’s era. Two more pairs do not involve a queue. Within an attach or a release, the advance of the client’s era depends on the reference just written; we added this flush after an instance in which the sender releases its own reference showed the need. And the release of a segment depends on the head of the list of pages. The discipline we call the ordering flushes consists of these flushes, with two lines in the flush before the tail’s advance that removal did not show to be needed (the line of the client’s other object and its pointer to its queue). It does not include the flush of the root reference. The lines were fixed on the ten instances in which no object holds a reference. The four instances with such an object and the two with a chain of references were explored afterwards, and what the ordering flushes and a discipline with one line left out would give in them was predicted before those runs.
Results. With every modified line written back at the crash, the assumption under which the authors expect the flush to be unnecessary, no execution is unsafe under any discipline (46 runs, every state space exhausted). The rest is with lost caches.
With the flush of the root reference and none of the ordering flushes, executions are unsafe in all 13 instances in which something leaves the client. In the first one found, the client allocates the first block of a page, sends it and crashes. The device has the queue’s slot and tail and the object’s count, and the page’s metadata from before the allocation, whose free pointer still names the block. Recovery takes the block for a free one, sets its count to zero and clears the page; the survivor then receives the reference and holds an object in a cleared page. With neither that flush nor the ordering flushes, executions are unsafe in the same instances, in 3 of them found only when the run was repeated with a cap of 20 million states in place of 5 million.
With the ordering flushes and without the flush of the root reference, no execution is unsafe in any of the 14 instances, and every one of these state spaces was exhausted, the largest at 16.1 million states. With the line of the object that the sent object refers to left out of the flush before the tail’s advance, executions are unsafe again in 3 of the 4 instances, among these 14, that have such an object, each explored to 5 million states (5,868 unsafe executions in the first of them): the survivor reaches, through the object it received, an object whose count on the device is zero.
In the chains we explored, the dependency reaches as far as the references do. In two further instances the sent object refers to an object that refers to a third. With the lines of all three in the flush before the tail’s advance, no execution is unsafe; these state spaces did not fit in one run, and after single runs had stopped at their caps we exhausted them in 22 runs that divide the executions by the point at which the client crashes. With the third object’s line left out, executions are unsafe in both instances: the reference to the third object is on the device and the count that covers it is not, and the survivor reaches, through two references, an object whose count is zero.
When nothing leaves the client, no discipline has an unsafe execution, the one with neither the root-reference flush nor the ordering flushes included. A recovery with a deliberate error is caught in every instance that passes a reference.
So the flush of the root reference is neither sufficient nor necessary for the survivor’s safety when a host crash loses the cache, given the flushes of redo entries and eras that the source also issues: it is the ordering flush of another pair, the page’s free pointer after the root reference that names the block, before anything has left the client. That pair keeps a crashed client from leaking a block, which the survivor’s safety does not ask for. What a design of this kind needs for the survivor’s safety is a flush when ownership passes, of the lines the new owner will depend on.
What the ordering flushes do not give. Under every discipline some executions end with an object that keeps a positive count and has no holder, when the crashed client’s count reached the device and its reference did not. Such leaks are what the pair of the root-reference flush guards against, and the ordering flushes for safety leave more of them than the source’s flush does: in the first instance 1,652 of 10,802 end states of the model leak under the ordering flushes and 144 of 5,274 under the source’s flush, and the order is the same in each of the 8 instances in which both state spaces were exhausted and a leak occurs. These are counts of distinct end states, not probabilities.
The two do different jobs, and a design can keep both. With the root-reference flush and the ordering flushes together, no execution is unsafe in any of the 14 instances, every state space exhausted, and fewer end states leak than under the ordering flushes alone in each of the 13 instances that have a leak (32 of 2,894 in the first instance).
Scope. The public code registers a queue’s receiver at its first receive, not at the queue’s creation. With that registration our model has unsafe executions under every discipline, stored energy included, through an interleaving of the registration with the monitor’s release of unreceived references in which no flush plays a part; the results above are for the registration the paper describes, which we adopted after the code’s registration failed the control with stored energy, and they say nothing about flushes under the other. The model also follows the paper when the code’s condition for applying a redo entry differs from the paper’s. Guo et al. ran two of the allocator’s benchmarks under their checker together with its recovery check, which looks for unfreed memory of crashed processes, and reported an unimplemented free procedure and a division by zero [15]. That check does not look for a survivor that holds a freed object. And the model gives every object a line of its own. In the source an object’s block is its data and a 24-byte header, rounded up to a multiple of 16 bytes, and blocks lie back to back: an object with up to 8 bytes of data shares its line with one neighbor, and a block whose size is not a multiple of 64 bytes shares a line with a neighbor or spans two. A flush of a line carries whatever else is on it, so the results are for objects that each occupy one line alone.
What the split costs and saves
The split is a statement about which flushes are required, and it does not always remove flushes. The three designs show three outcomes; we express the waits as products of our counts and published unit times (§ 10).
Unit times. An operation waits for two things. is a flush of one modified line to CXL memory. On six combinations of four processor generations with expansion devices attached directly to the host it takes 266 to 394 ns [30]; an independent measurement gives 370 ns, against 151 ns for the host’s own memory [4]. On prototypes of pooled and of shared memory it takes 494 to 540 ns [30]. For a device behind a switch, which adds at least 220 ns to a round trip [36], we derive 486 to 764 ns; no one has measured it. is what an access waits, beyond an ordinary miss, when it forces another host’s write-back. No one has measured that either. The premise puts a write-back inside it, so . A model of the protocol counts six remote message delays for a write when the owner holds the line modified and four when the owner holds the line clean [22], and a simulator gives about 418 ns against 241 to 272 ns for a write that must snoop a peer device [2]. We report and .
Fewer. The hash index flushes for durability on every update, and the ordering pairs ask for a flush only when a chain grows or a pair is removed: 29 and 45 percent of the lines the source writes in the two phases. A remove writes one line under both disciplines and an insert that extends a chain writes two, so what the ordering pairs save is the two lines of an insert into a free slot. These are the writes an operation issues itself, by a flush or a non-temporal store. A line it leaves modified reaches the device later, at an eviction or when another host accesses it, and that host then waits for the write-back.
Charge one for each line an operation writes, including a non-temporal store, for which we found no measurement on CXL memory. An insert into a free slot then saves two waits and leaves one line modified. Let be the share of those lines that another host is the next to touch; each costs that host . Operations wait less under the ordering flushes than under the published code exactly when , whatever is, so at they never wait more. On a directly attached device an insert into an empty table waits 532 to 789 ns under the published code, and 153 to 227 ns under the ordering flushes when no other host touches the lines left modified, 71 percent less; when another host touches every one of them and , the saving is 36 percent (Figure 4). For half inserts and half removes the two figures are 55 and 27 percent. The measurements show two lines flushed together taking about as long as one [30]; the charge counts every line, both for the two lines that an extending insert flushes in one step under the ordering pairs and for the two lines that an insert of the published code writes. The flush after a remove could be deferred to the next insert of the same key into another line; we did not implement that, and it would have the host remember which of its removals are unflushed.

Figure 4. Estimated wait for the device per operation of the hash index, for a memory device attached directly to the host. A bar spans the published range of the time of one flush of a modified line, 266 to 394 ns [30], multiplied by the lines the operation writes, counted on P-CLHT’s own code (resizes left out). Touched refers to the lines that the ordering flushes leave modified: if another host is the next to access such a line it waits for the write-back, charged here as one more flush. Top: inserts into an empty table. Bottom: half inserts and half removes.
A share of the stores. The lock table follows a design that has no flush. Its first ordering flush follows each exclusive acquisition: 0.09 to 7.12 flush steps per committed transaction, which is 2 to 37 percent of the stores to lock records (Figure 3b). A flush is not the only wait: a line left modified is written back when another host next asks for it, and that host waits. With the unit times above for a directly attached device and from 1 to 2, the lock records cost 0.06 to 9.36 of waiting per committed transaction with no flush, across the 10 mixes with eight records per line, and 0.13 to 11.12 under the first rule; the rule adds 0.02 to 2.28 at and 0.02 to 1.75 at . Appendix § 13 compares the disciplines as a function of .
Elsewhere, and not fewer. The allocator’s source flushes each new root reference, once per allocation. The ordering flushes we add come once per reference passed, in one step that names the lines the reference depends on, and once each time the client attaches or releases a reference, when the reference is flushed before the client’s era advances. They are not fewer than the flush of the root reference, which a design that also wants its protection against leaks keeps (§ 7), and we did not count them on a workload.
Which hardware. Documents for two coming server processors list CXL 3.0 and CXL 3.1 among their interfaces [1, 29]; neither says whether that includes coherence across hosts. Huang et al. write that “There are currently no physical CXL devices that support inter-host cache coherence” [18], and a talk on support for back-invalidation in Linux notes that “Hardware is catching up with CXL3 IP” [5]. On hardware that keeps caches coherent across hosts, is at least a round trip to the device and at least ; the estimates above move with the unit times and the break-even does not.
Related work
Ordering before durability, on one machine. The ordering rules themselves are old. Soft updates orders the dependent metadata writes of a file system by three rules, among them “Never point to a structure before it has been initialized” and “Never re-use a resource before nullifying all previous pointers to it” [23], and tracks the dependencies so that the order holds without synchronous writes [14]; several of the pairs of §5 to §7 are instances of these two rules: the link and the bucket it names, the key stored again and its earlier removal, the reference passed and the object it names. The same paper separates the write that orders from the write that makes durable: after the write that orders an inode before its directory entry, “most BSD fast filesystem implementations also immediately write the directory block before the system call creating the file returns”, a second write that it calls “not strictly necessary” and that “ensures that the filename is on stable storage” [23]. Memory persistency separates the order in which stores become visible from the order in which they persist [27]. Its persist barriers order persists, and its buffered strict persistency lets the persistent state lag behind execution, with a “persist sync” to make it catch up before a side effect that must not precede it. Optimistic crash consistency gives a file system two primitives, osync and dsync, “that decouple ordering of writes from their durability” [8]. External synchrony owes durability only to an observer outside the machine: the system holds output back until the modifications it depends on are on disk [25]. These are earlier statements of the split we use: ordering is one obligation, and synchronizing persistence with what an observer has seen is another. All of them concern one machine, whose whole cache is lost at a crash. In a pod the observer that matters is a surviving host, and under the premise the fabric performs the synchronization for every line that host touches (Lemma 2.2), and for that line only; what remains for software is the ordering. Among correctness conditions the nearest to ODL is buffered durable linearizability [19], which also lets a crash remove completed operations; § 2 says how the two differ.
Models and checkers for pods. Assa, Lumme, Bürgi, Friedman and Lahav give the first programming model for concurrent programs over CXL, an operational semantics with independent machine crashes, and prove that an adaptation of FliT [31] makes any linearizable object durably linearizable under partial crashes [4]; that transformation flushes for durability, which Proposition 3.5 shows DL cannot avoid. They note that with the write-back the transformation’s counters can be kept in local memory, and they name as future work that “relaxing durability semantics has generally been shown to be beneficial for performance … and can be explored here as well”; this paper explores one such relaxation. Guo, Truong and Demsky build a model checker for crash-consistency bugs in programs over CXL shared memory and use the write-back that a load by one host forces on a line owned by another [15]. Their checker finds missing flushes in given code; it does not say which flushes a design could drop. Guo, Luo and Demsky build a tool that inserts flushes and fences automatically so that a program is robust, a criterion about the order in which stores persist, and state that the tool applies to CXL shared memory [16]. Their analysis treats every cached line as lost at a crash, and in their example robustness requires a flush of a line after another thread has read it; when that thread runs on another host, the premise has already put the line on the device.
Pod systems and host failure. Published designs for pods answer a host crash in one of three ways. Tigon treats the failure of any component as a failure of the whole system [18]. Lupin tolerates partial failures with recoverable locks, assuming a global persistent flush [37]. CXL-SHM flushes on its allocation path and recovers by reference counts [35], and XTRA flushes a redo log and its updates at commit and has survivors scan for a crashed host’s locks [34]. None of them states which of its flushes a host crash requires; §7 measures one of them against the split. Other designs avoid the question by not relying on coherence between hosts: Borges gives every shared metadata word a single writer because “current CXL pods lack inter-host cache coherence” [7], and Cxllalloc works with full, limited or no coherence [24].
Protection below the software. Other work removes the loss itself: by extending the coherence transaction of every write so that replicas log it in hardware [28], or by an object store for function-as-a-service workloads built so that the crash of a server that shares an object does not block the others [26]. The recoverable distributed shared memory systems of the 1990s integrated checkpointing or logging with the coherence protocol [20, 32]. These change the fabric or the runtime. We ask what software must do on a fabric that offers the premise and nothing more.
Limitations
The premise. Every result assumes a fabric that writes a modified line back before another host’s access to it is served. That CXL’s hardware-coherent shared regions are such a fabric is our reading of the specification (§2), which states the order of the write-back and the response in the description of one flow; it is not a measurement. Assa et al. report that no processor or pool device implements these flows [4], and no hardware that keeps caches coherent across hosts was available to us. An emulator whose authors write that it implements the full CXL 3.0 coherency protocol has transfers between hosts that “allow one host to service a cache miss from another host’s cache without indirecting through main memory” [33]; on hardware that behaved so the premise would fail, and the lock table of §5 shows what is then lost.
The crash. The model’s crash erases one host’s cache and leaves the device, and the other hosts’ access to it, as they were, at once. On our reading the specification gives the first part for a shared region on a multi-logical device behind a switch, on which a reset of the crashed host’s logical device releases that device’s share of the region and no other’s, and not on a multi-headed device, on which a conventional reset of one head releases the shared capacity from every host [10 §9.13.3]. It does not give the second: while a snoop is pending the device blocks requests for the line [10 §3.3.3], so an access to a line that the crashed host held can wait for a response that will not come, as Patil et al. observed of CXL 3.0 [26]. We found no rule in revision 3.0 that ends the wait. In revision 4.0 the memory device of a port-based-routing fabric can notify the requesting host that a back-invalidate request received no response, as a failed memory request [11 Table 8-240], which is not the access served from the device that the model’s crash step gives. Our results concern what the device holds, not how soon it can be reached. A third behavior has been described, in which a line that a crashed host held modified is reported as poisoned and an access to it raises an exception: Assa et al. discuss it as a variant of their model, the checker of Guo et al. has it as an option, and Guo, Luo and Demsky report that it was “not yet decided how CXL will expose such failures to the software layer” [4, 15, 16]. Under poisoning every line that the crashed host held modified at the crash is unreadable to the survivors, whatever the device holds, so the flushes that our results show a host crash does not require would buy availability there, and our results do not cover it.
The theorems. Theorem 3.1 and Proposition 3.2 concern one ordering pair, and Theorem 3.4 concerns operations that take effect in one write and whose prepared lines no second operation is given; the update paths of the three designs write several times, and for them the crash condition is tested (§3).
For the allocator, reading gave the stores that pass ownership and exploration gave the lines they depend on.
The models. Each study explores a model that we wrote of another group’s design, on instances with two or three hosts and one or two crashes. For the hash index 4 of the 9 explorations under the ordering flushes stopped at 2 million states, its model has two slots per bucket in all but 20 runs and no resizing, its allocator of buckets is our stand-in, and it has a lock that records its holder and a flush at each host’s start that the source lacks (§6). A survivor that waits for the lock of a host that never restarts is not counted as a violation, and the instances in which a lock is taken over were not exhausted. For the allocator the registration of a receiver follows the paper and not the public code (§7), an object holds at most one reference, and a crash of the monitor during recovery is not modeled. Its model gives every object and every root reference a line of its own. In the source, root references are 16 bytes, four to a line, and object blocks come in sizes 16 bytes apart and lie back to back, so a block whose size is not a multiple of 64 bytes shares a line with a neighbor or spans two lines; the model represents neither, and its results are for objects that each occupy one line alone. The lock-table runs execute lock requests, not transactions, and do not run a recovery.
What was not measured. Flushes were counted, not timed: the times in §8 are products of our counts and of unit times that others measured on devices without coherence across hosts. We know of no measurement, on hardware, of an access that waits for another host’s write-back, and none of a flush through a switch.
What the condition gives up. Under ODL a host that crashes may lose operations it had completed. A system whose clients outlive the host, or which acknowledges work outside the pod, needs the durability flush for whatever it acknowledges.
Conclusion
A flush in a design for persistent memory either orders two lines or makes an operation durable. On shared memory whose fabric writes a modified line back before another host may access it, a host crash requires the first kind and not the second, when what a crashed host alone has seen may be lost: we proved this split for operations that take effect in one store, and for a lock table, a hash index and an allocator, whose operations store several times, we found no violation under the ordering flushes alone in the instances explored on such a fabric.
Two implications are untested. Tools that insert or check flushes for persistent memory could take the fabric’s write-back into account and place flushes by dependency. And a fabric that guarantees the write-back gives software more than coherence: it gives every surviving host a device that already holds what that host has seen.
Acknowledgments
This work was supported in part by the National Science Foundation under award 2446084.
Details of the lock-table runs
The lock-table runs of §5 execute lock requests on the model, not transactions, and their units are the model’s. Eight hosts run three workers each. A worker’s transaction issues its lock requests one at a time under strict two-phase locking; a refused request aborts the transaction, which releases its locks and starts over, and a commit releases them. At each step one worker, drawn uniformly, takes its next action. This fixes how long a lock is held in steps of the other workers and is not a model of time. A tuple has a lock record, which holds its exclusive holder and its shared holders, from the first access by a host other than its owner; before that its locks are in the owner’s private memory and outside the model. Every access to a record, a refused request included, is one read-modify-write of the record’s line by the accessing host, since Tigon’s record carries a latch that a thread takes before it accesses a tuple [18]. Each host’s cache keeps the 4,096 record lines it accessed last and writes a line back upon evicting it, and no other write-back happens without a snoop. A further 400 runs with caches of 256 and of 65,536 lines, made with one record per line and with eight in order of creation, give the same counts at every sampled crash as the runs with 4,096 in all 400 pairs compared, and are not counted in the totals of § 5.
The mixes and their settings are taken from Tigon’s evaluation, and each transaction is reduced to a simplified set of lock requests on existing rows: no transaction inserts a row, customers are chosen by identifier, a delivery locks one customer in each district, and a stock-level transaction locks its district and 20 stock rows. TPC-C has 24 warehouses, three per host, and its standard mix of five transactions; an order line is supplied by another warehouse with probability 0.01 or 0.0875, which gives 10 or 58 percent of the orders a remote line, and a payment’s customer belongs to another warehouse with probability 0.15 or 0.90. These are the 10/15 and 58/90 mixes of Figure 3: the first is TPC-C’s default, and the second is near the upper end of the range Tigon evaluates. Two of the 23 other warehouses are on the same host, and an access to one of them involves no lock record. The key-value mix is YCSB as Tigon configures it, with 2.4 million tuples partitioned by range over the hosts and ten operations per transaction on Zipfian keys, with skew 0.7 or 0.99, with 95 or 50 percent of the operations reads, and with 10 or 100 percent of the transactions placing five of their operations in another host’s partition. The most popular key of a partition draws 0.70 percent of its accesses at skew 0.7 and 7.1 percent at skew 0.99. A run commits 200,000 transactions. After the first fifth of it, every 2,500 steps one host is drawn and the lock table that its crash would leave is computed without changing the run: every line that the host holds modified takes the device’s value, and every other line keeps its own. Against the locks in force we count the locks of running transactions on other hosts that this table lacks, the locks it shows that transactions on other hosts had released, and the crashed host’s own locks that it shows and that it lacks.
A lock record is 8 bytes, so a line holds one record or eight, and with eight the result depends on which records share a line. In the layout in order of creation each owner fills its lines with records as they are created, so that a line holds records of one owner whose first uses by a second host were consecutive. In the layout at random every record that the first layout creates in the same run exists from the start, and each owner’s records are placed in a uniformly random order. A third layout has every record present from the start in the slot that the first layout gives it. In the second and third layouts the owner’s own accesses to those tuples go through their records from the first step. We added these two layouts after seeing the results of the first, expecting the creation of records during a run to account for its shares. It does not: the third layout, which creates none, differs from the first by at most 0.12 percentage points in any mix, and against the random layout, from which it differs in placement alone, its share is higher in every mix, by a paired difference over the seeds whose 95 percent interval lies above 0.47 points. With one record per line a survivor’s lock is lost only when the crashed host was the last to access the very record on which another host’s transaction holds a lock, and the mean share is at most 0.09 percent for TPC-C (5 of 6,036 sampled crashes at 58/90 and none of 6,036 at 10/15), at most 2.9 percent at skew 0.7, and 8.5 to 52.2 percent at skew 0.99. Eight records per line placed at random add at most 1.4 points to that. Eight per line in order of creation give 20.4 percent for TPC-C at 58/90 and 67.3 to 78.1 percent for the key-value mixes whose transactions all cross hosts. A table in order of creation starts empty, and a record receives on average between 5.6 and 66.4 stores in a run, by mix. Tigon also moves tuples back out of the shared memory under a memory budget, which the runs do not model.
Without forwarding no sampled crash loses a lock of a survivor or brings back one that a survivor released. Of the locks that the crashed host’s own transactions hold in lock records, at least 69 percent are lost in every mix and layout. What that loss can do, and which flushes prevent it, we explored exhaustively on one lock and the two data lines it guards, all three in the model’s memory. A writer takes the lock exclusively, stores to both lines and releases; a reader takes the lock, shared or exclusive, loads both lines and releases; a refused request ends its transaction. The explorer runs every interleaving of the threads’ steps with a crash of any host at any point, within a budget of one or two crashes, and leaves each line that the crashed host held modified with any value that a silent write-back could have put on the device (§ 4). A crash is offered while some thread has a step left, and a writer flushes its two data lines in one step. The property is that a thread that is granted the lock and loads both lines reads the two values of one transaction, or the two initial values, and that a thread that releases finds its own lock in the lock word. The 10 instances are nine programs, the first of them explored with one crash and again with two; they have two or three hosts and two or three threads: a writer against an exclusive or a shared reader, against two shared readers, and against a reader that reads twice; two writers on two hosts, in two threads of one host, and one after the other in one thread; writers that load both lines before they store to them; and a writer and a reader on one host. Every state space was exhausted, at between 76 and 3,709 states. With no crash, no instance violates the property under any of the disciplines below, and without forwarding no thread ever fails to find its own lock.
With no flush, every instance has an execution that violates the property: one data line reaches the device and the lock does not, the host crashes, and a survivor is granted the lock and reads one new value and one old. With a flush of the lock’s line after the exclusive acquisition and no other, every instance has one again: the release and one data line reach the device, and the other data line does not. With a flush of the two data lines before the release and no other, every instance has one, as with no flush. With both flushes no execution of any instance violates the property, and neither does any of 200,000 random schedules on four hosts with two threads each, two transactions per thread and up to three crashes; the three weaker disciplines violate it in 526, 331 and 25 of as many. In these programs no reader flushes, and no shared acquisition, refused request or release is followed by a flush of the lock’s line. With both flushes and pass-dirty forwarding, every instance has a violating execution: a lock that its holder never flushed, such as a shared reader’s, is lost with a host that had only requested it, and in 4 of the instances a thread also reads a pair that no one transaction wrote. Under forwarding the explorer offers only some of the values that a write-back could leave, which can hide violations and not create them. The explored programs hold one lock, upgrade none and create no lock record; in the runs above a record’s creation is followed in the same step by the access of the host that asked for it.
The first of the two flushes is the one that Figure 3b counts. Exclusive acquisitions, upgrades included, are 2 to 37 percent of the stores to lock records, by mix, and the other stores are shared acquisitions, refused requests, releases and the creation of records. The second is the flush by which a transaction puts its updates on the device before it releases. A design whose data lies outside the coherent region issues it in any case, since a store reaches the other hosts only through the device; for data inside the region it is one more flush step for each transaction that writes. The lock-table runs do not model the guarded data and do not count this flush. The second rule applies to every release, so a transaction that aborts after a store has to have the lines it stored to on the device before it releases; the explored programs do not abort after a store.
Flush steps are not all that a discipline waits for. A host that leaves a lock’s line modified has it written back when another host next asks for the line, and that host waits: a dirty miss. We charge a flush step that writes a line back one wait , and a dirty miss with , since the miss contains the write-back. We repeated the 200 runs that create records at their first use, with one record per line and with eight, under four disciplines that see the same lock requests: no flush; a flush after each exclusive acquisition, which is the first rule; one flush step at the commit that matches the lines of the records the transaction holds exclusively, which is the first rule for a design that defers its stores to the commit; and a flush after every store to a lock record. Per committed transaction, no flush leaves 0.15 to 11.88 dirty misses on lock records, by mix and layout. A flush after every store leaves none and issues 0.75 to 32.53 flush steps, each of which writes a line back, so it costs fewer waits than no flush only when exceeds the number of stores per dirty miss, which is between 1.8 and 14.2. A flush after an exclusive acquisition removes a dirty miss only when another host is the next to access the line: it removes fewer than 0.38 dirty misses per flush, and fewer than 0.07 with one record per line. The first rule therefore costs more waits than no flush at every below 2.6, and it leaves 84 percent or more of the dirty misses of no flush (0.15 to 10.54 per committed transaction). The flush step at the commit removes no dirty miss, because the releases that follow it store to every line it named; there are 0.09 to 1.00 such steps per committed transaction, each naming at most 12 lines. At no flush waits least and a flush after every store most in every mix and layout; at a flush after every store waits least in 2 of the 20 combinations of mix and layout. With a flush after each exclusive acquisition, no exclusive lock of the crashed host is missing from the lock table that would remain at any of the 158,542 sampled crashes, and with a flush after every store no lock of the crashed host is.
Under both rules the lock of a host that crashed between its exclusive acquisition and its release stays in the lock word, and the property holds in the explored programs because no thread is granted that lock again. Releasing it is the work of a recovery, which these programs do not have. A recovery that released the lock without first rolling the crashed holder’s update forward or back would expose the two lines as the crash left them; rolling forward needs a log that is on the device before the update’s first store, as XTRA’s redo log is [34].
These runs drive the model with lock-request patterns rather than a database with recovery, and they model the lock fields of a record alone; Tigon’s record also carries the bits of its software cache coherence, whose stores are not modeled. XTRA’s protocol is optimistic and holds locks only while a transaction commits [34]; it was not run. Forwarding stands for coherence protocols whose tables let a snooped cache supply a modified line to the requester.
References
- [1]Advanced Micro Devices. 2026. AMD EPYC Server CPU Architecture and Performance Overview. White paper (AMD EPYC 9006 Series).
- [2]Yuda An, Shushu Yi, Bo Mao, Qiao Li, Mingzhe Zhang, Diyu Zhou, Ke Zhou, Nong Xiao, Guangyu Sun, Yingwei Luo, and Jie Zhang. 2026. Xerxes: Extensive Exploration of Scalable Hardware Systems with CXL-Based Simulation Framework. In 24th USENIX Conference on File and Storage Technologies (FAST). 329–345. https://www.usenix.org/conference/fast26/presentation/an
- [3]Arm Limited. 2020. AMBA 5 CHI Architecture Specification. ARM IHI 0050E.a, issue E.a, non-confidential.
- [4]Gal Assa, Moritz Lumme, Lucas Bürgi, Michal Friedman, and Ori Lahav. 2026. A Programming Model for Disaggregated Memory over CXL. In Proceedings of the 31st ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 2. 41–58. doi:10.1145/3779212.3790121DOI
- [5]Davidlohr Bueso. 2025. CXL HDM-DB Support in Linux. Presentation slides, Linux Plumbers Conference, Tokyo, Japan.
- [6]CCIX Consortium. 2019. CCIX Base Specification Revision 1.1 Version 1.0. https://computeexpresslink.org/wp-content/uploads/2024/02/CCIX_Base_Specification_Revision1.1_Version1.0.pdf Hosted by the CXL Consortium.
- [7]Haowei Chen, Yiming Xiang, Zhipeng Jia, Yan Sun, Nam Sung Kim, and Emmett Witchel. 2026. Borges: A Low-Latency Distributed Shared Log on a CXL Memory/SSD Hybrid. In Proceedings of the ACM SIGOPS 32nd Symposium on Operating Systems Principles (SOSP ’26). 211–228. doi:10.1145/3830418.3843906DOI
- [8]Vijay Chidambaram, Thanumalayan Sankararayanan Pillai, Andrea C. Arpaci-Dusseau, and Remzi H. Arpaci-Dusseau. 2013. Optimistic Crash Consistency. In Proceedings of the Twenty-Fourth ACM Symposium on Operating Systems Principles (SOSP ’13). 228–243. doi:10.1145/2517349.2522726DOI
- [9]Nachshon Cohen, Rachid Guerraoui, and Igor Zablotchi. 2018. The Inherent Cost of Remembering Consistently. In Proceedings of the 30th on Symposium on Parallelism in Algorithms and Architectures (SPAA ’18). 259–269. doi:10.1145/3210377.3210400DOI
- [10]Compute Express Link Consortium. 2022. Compute Express Link (CXL) Specification, Revision 3.0, Version 1.0. https://computeexpresslink.org/cxl-specification/ Evaluation copy, August 1, 2022.
- [11]Compute Express Link Consortium. 2025. Compute Express Link (CXL) Specification, Revision 4.0, Version 1.0. https://computeexpresslink.org/cxl-specification/ Evaluation copy, August 13, 2025.
- [12]Debendra Das Sharma, Robert Blankenship, and Daniel Berger. 2024. An Introduction to the Compute Express Link (CXL) Interconnect. Comput. Surveys 56, 11 (Nov. 2024), 1–37. doi:10.1145/3669900DOI
- [13]Tudor David, Rachid Guerraoui, and Vasileios Trigonakis. 2015. Asynchronous Concurrency: The Secret to Scaling Concurrent Search Data Structures. In Proceedings of the 20th International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS). 631–644. doi:10.1145/2775054.2694359DOI
- [14]2 (2000), 127–153. doi:10.1145/350853.350863DOI
- [15]Simon Guo, Conan Truong, and Brian Demsky. 2026. CXLMC: Model Checking CXL Shared Memory Programs. In Proceedings of the 31st ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 2. 546–562. doi:10.1145/3779212.3790150DOI
- [16]Yutong Guo, Weiyu Luo, and Brian Demsky. 2025. Automated Insertion of Flushes and Fences for Persistency. In 2025 40th IEEE/ACM International Conference on Automated Software Engineering (ASE). 2529–2541. doi:10.1109/ASE63991.2025.002008arxiv.org/abs/2509.19459
- [17]Maurice P. Herlihy and Jeannette M. Wing. 1990. Linearizability: a correctness condition for concurrent objects. ACM Transactions on Programming Languages and Systems 12, 3 (July 1990), 463–492. doi:10.1145/78969.78972DOI
- [18]Yibo Huang, Haowei Chen, Newton Ni, Yan Sun, Vijay Chidambaram, Dixim Tang, and Emmett Witchel. 2025. Tigon: A Distributed Database for a CXL Pod. In 19th USENIX Symposium on Operating Systems Design and Implementation (OSDI). 109–128.
- [19]Joseph Izrailevitz, Hammurabi Mendes, and Michael L. Scott. 2016. Linearizability of Persistent Memory Objects Under a Full-System-Crash Failure Model. In Distributed Computing (DISC 2016). 313–327. doi:10.1007/978-3-662-53467-7_23
- [20]A.-M. Kermarrec, G. Cabillic, A. Gefflaut, C. Morin, and I. Puaut. 1995. A recoverable distributed shared memory integrating coherence and recoverability. In Twenty-Fifth International Symposium on Fault-Tolerant Computing. Digest of Papers (FTCS-95). 289–298. doi:10.1109/ftcs.1995.466970
- [21]Se Kwon Lee, Jayashree Mohan, Sanidhya Kashyap, Taesoo Kim, and Vijay Chidambaram. 2019. RECIPE: Converting Concurrent DRAM Indexes to Persistent-Memory Indexes. In Proceedings of the 27th ACM Symposium on Operating Systems Principles (SOSP). 462–477. doi:10.1145/3341301.3359635DOI
- [22]Anatole Lefort, David Schall, Nicolò Carpentieri, Julian Pritzi, Soham Chakraborty, Nicolai Oswald, and Pramod Bhatotia. 2026. C³: CXL Coherence Controllers for Heterogeneous Architectures. In 2026 IEEE International Symposium on High Performance Computer Architecture (HPCA). 1–17. doi:10.1109/hpca68181.2026.11408469
- [23]Marshall Kirk McKusick and Gregory R. Ganger. 1999. Soft Updates: A Technique for Eliminating Most Synchronous Writes in the Fast Filesystem. In Proceedings of the FREENIX Track: 1999 USENIX Annual Technical Conference.
- [24]Newton Ni, Yan Sun, Zhiting Zhu, and Emmett Witchel. 2026. Cxlloc: Safe and Efficient Memory Allocation for a CXL Pod. In Proceedings of the 31st ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 2. 528–545. doi:10.1145/3779212.3790149DOI
- [25]Edmund B. Nightingale, Kaushik Veeraraghavan, Peter M. Chen, and Jason Flinn. 2006. Rethink the Sync. In 7th USENIX Symposium on Operating Systems Design and Implementation (OSDI ’06). USENIX Association.
- [26]Adarsh Patil, Vijay Nagarajan, Nikos Nikoleris, and Nicolai Oswald. 2023. Ftfa: Fault-tolerant object-granular CXL disaggregated memory for accelerating FaaS. In 53rd Annual IEEE/IFIP International Conference on Dependable Systems and Networks (DSN). 201–215. doi:10.1109/DSN58367.2023.00030DOI
- [27]Steven Pelley, Peter M. Chen, and Thomas F. Wenisch. 2014. Memory persistence in. In 2014 ACM/IEEE 41st International Symposium on Computer Architecture (ISCA). 265–276. doi:10.1109/isca.2014.6853222
- [28]Antonis Pistakis, Burak Ocalan, Chloe Alverti, Fabien Chaix, Ram-nathan Alagappan, and Josep Torrellas. 2026. DIKTAMO: Extending CXL for Resilience to CPU Failures. arXiv:2602.08271. https://arxiv.org/abs/2602.08271 59th IEEE/ACM International Symposium on Microarchitecture (MICRO 2026).
- [29]Krishnakanth Sistla. 2026. Diamond Rapids: Intel’s Next Generation Xeon CPU. Presentation slides, Hot Chips.
- [30]Zixuan Wang, Suyash Mahar, Luyi Li, Jangseon Park, Jinpyo Kim, Theodore Michailidis, Yue Pan, Mingyao Shen, Tajana Rosing, Dean Tullsen, Steven Swanson, and Jishen Zhao. 2025. The Hitchhiker’s Guide to Programming and Optimizing Cache Coherent Heterogeneous Systems: CXL, NVLink-C2C, and AMD Infinity Fabric. arXiv:2411.02814v2. https://arxiv.org/abs/2411.02814v2
- [31]Yuanhao Wei, Naama Ben-David, Michal Friedman, Guy E. Blelloch, and Erez Petrank. 2022. FLiT: A library for simple and efficient persistent algorithms. In Proceedings of the 27th ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming (PPoPP ’22). 309–321. doi:10.1145/3503221.3508436DOI
- [32]K.-L. Wu and W.K. Fuchs. 1990. Recoverable distributed shared virtual memory. IEEE Trans. Comput. 39, 4 (April 1990), 460–469. doi:10.1109/12.54839
- [33]Yiwei Yang, Mujahid Al Rafi, Jesun Sahariar Firoz, Zhen Peng, Xi Wang, Kenza Bouasker, Sayan Ghosh, Jie Li, Daniel Wong, Dong Li, Hyeran Jeon, Kevin Barker, Nathan Tallent, and Luanzheng Guo. 2026. OCEAN: Open-Source CXL Emulation for Hyperscale Architecture and Networking. In Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis (SC ’26).DOI
- [34]Zhijun Yang, Yu Hua, Ming Zhang, Menglei Chen, Xumin Chen, and Aoyang Tong. 2026. XTRA: Unifying Cache Coherence and Concurrency Control for Distributed Transactions in a CXL Pod. In Proceedings of the 32nd ACM Symposium on Operating Systems Principles (SOSP ’25). 269–285. doi:10.1145/383048.3843888DOI
- [35]Mingxing Zhang, Teng Ma, Jinqi Hua, Zheng Liu, Kang Chen, Ning Ding, Fan Du, Jinlei Jiang, Tao Ma, and Yongwei Wu. 2023. Partial Failure Resilient Memory Management System for (CXL-based) Distributed Shared Memory. In Proceedings of the 29th Symposium on Operating Systems Principles (SOSP ’23). 658–674. doi:10.1145/3600006.3613135DOI
- [36]Yuhong Zhong, Fiodar Kazhamiaka, Pantea Zardoshti, Shuwei Teng, Rodrigo Fonseca, Mark D. Hill, and Daniel S. Berger. 2026. Octopus: Enhancing CXL Memory Pods via Sparse Topology. arXiv:2501.09020v3. https://arxiv.org/abs/2501.09020v3
- [37]Zhiting Zhu, Newton Ni, Yibo Huang, Yan Sun, Zhipeng Jia, Nam Sung Kim, and Emmett Witchel. 2024. Lupin: Tolerating Partial Failures in a CXL Pod. In Proceedings of the 2nd Workshop on Disruptive Memory Systems (DIMES ’24). 41–50. doi:10.1145/3698783.3699377DOI