Research notes / Persistent memory
Persistent memory: DAX is not a durable commit
Published / Updated / Source review and worked calculation
A store can be visible to another thread before it survives power loss. DAX, a persistence fence and a transaction solve different problems. Start by identifying which parts of the machine are protected, then prove that recovery never accepts metadata whose data is missing.
On this page34 sections
Where does a store become persistent?
Byte addressability describes how locations are selected. Load/store access describes an interface. Neither alone promises survival after a crash. A persistence domain is the set of components whose contents are protected against a specified failure. It can include volatile buffers with a guaranteed power-fail drain, not only nonvolatile cells. Intel's ADR example protects the memory-controller write-pending queue, but not dirty processor caches. [1]
These are platform contracts for persistent-memory mappings, not promises about all RAM or every machine carrying a particular processor.
| Contract | Protected boundary | Software obligation |
|---|---|---|
| ADR | Persistent media and covered controller buffers; CPU caches remain outside | Move dirty data out of unprotected caches and complete the required ordering |
| eADR | Protection extends to CPU caches on a correctly enabled platform | Preserve ordering and the application's recovery protocol |
Intel's eADR description removes the need for explicit cache flushes when supported and detected, but still requires SFENCE. The platform also needs adequate stored energy. Treat eADR as a verified system property, not an inference from an instruction being available. It does not turn ordinary volatile DRAM into persistent storage. [2]
CLWB and CLFLUSHOPT: cache lines before commits
CLWB permits a clean copy to stay cached after writeback, but retention is only a hint. In contrast, CLFLUSHOPT invalidates the line. Neither promises a later cache hit or miss: hardware can invalidate or speculatively refill lines. Both operate within the CPU's cache-coherence domain. [SDM 093, CLWB and CLFLUSHOPT]
For an ADR-backed persistent-memory mapping, software can write back a batch of dirty lines and then execute SFENCE before relying on completion. The flushes may overlap; writing two flush instructions in source order is not a durable dependency between their lines. Detected eADR can remove explicit writebacks, while ordering obligations remain. This is distinct from a storage cache flush sent through a block-device interface. [PMem glossary]
A fence does not supply an application transaction. PMDK's mapping-specific persistence function completes the requested range but permits earlier persistence and provides no all-or-nothing update. For a fresh record with one writer, keep its payload stable and complete its persistence before publishing a commit marker, then persist the marker before acknowledging durable completion. Recovery still needs an appropriately failure-atomic marker; marker reuse and concurrent access require additional protocols. These are programming obligations, not a power-cut measurement. [6]
What the fence actually orders
SFENCE orders store visibility: earlier stores become globally visible before later stores. It does not order loads or LFENCE, and it is not an instruction to flush every dirty cache line. The persistence guarantee comes from combining the instruction contract with the mapping and its protected domain. The distinction between visibility to another processor and visibility to recovery is central to memory persistency. [SDM 093, SFENCE] [Memory Persistency, sections 2-4]
Same-drain batching: PMDK permits several discontiguous ranges to be flushed before one drain. Across mappings, reuse that drain only when they share the same drain function. This can avoid an unnecessary drain after each independent range, but a shared call does not establish an ordering dependency between those ranges. If recovery requires A before B, complete A's persistence before publishing B. Batching is not a transaction or a measured speedup on an unspecified machine. [PMDK drain] [6]
NVDIMM-N: three separate protection questions
NVDIMM-N serves DRAM during normal operation and uses backup energy to save its contents to flash when external power fails. The flash is a backup store, not an extra host-addressable tier. Backup energy need not sit on the DIMM: SNIA describes a separate power module or host-supplied power, while Dell documents a centralized battery. Check the platform's save trigger and readiness as well as the memory module. [14, slides 7-16]; [15]
Readability after restoration and protection for the next outage are different questions. In the documented Dell implementation, a missing or insufficiently charged battery can leave restored data accessible in read-only mode. That is not itself proof that the previous image was lost, nor permission to accept new writes as protected. The behavior and save duration are implementation-specific. [15]
The access mode adds a third question. Linux's Block Translation Table (BTT) protects sector updates with indirection and reserved metadata, but ndctl's sector mode disables DAX. It is not an atomicity layer underneath direct mapped application stores. Sector atomicity also does not make an arbitrary multi-sector transaction atomic. Choose a recovery protocol for the actual access path, independently of the module's backup-energy mechanism. [16]; [17]
Changing that mode is not a data-preserving toggle. The ndctl --reconfig operation destroys and recreates the namespace; retained geometry and name do not preserve its contents. Use backup and restore to transfer existing data. Apparently readable old bytes after reconfiguration are not a recovery guarantee. [17, --reconfig]
DAX and MAP_SYNC live at another boundary
Filesystem DAX avoids the kernel page-cache copy for suitable memory-like storage; mapped file data can be accessed directly. This does not mean the processor caches are bypassed. Linux distinguishes the persistent FS_XFLAG_DAX preference from the active per-file S_DAX state reported through STATX_ATTR_DAX. A configured preference is not proof of the effective access mode. [3]
MAP_SYNC is a mapping contract, not an instruction that flushes each store. Linux requires MAP_SHARED_VALIDATE; using MAP_SHARED can silently ignore the flag. Unsupported files return EOPNOTSUPP. For supported DAX files, MAP_SYNC gives the file-offset persistence guarantee needed to use appropriate CPU persistence instructions. The instructions are still part of the protocol. [4, MAP_SYNC]
PMDK's mapping-specific API distinguishes page, cache-line and byte persistence granularity. That classification selects the required persistence mechanism; it does not specify an application's transaction size. Use the function associated with the actual mapping instead of assuming every mmap target is PMem. A requested PAGE granularity is a maximum: a finer CACHE_LINE or BYTE mapping is also acceptable. It does not force the mapping to PAGE. Inspect the effective granularity and use that mapping's persistence function. The reference here is pinned to PMDK 1.13.1, not advertised as the newest release. [5]
FPTree: persist the data needed to rebuild
FPTree separates persistent leaves from volatile routing nodes. Recovery repairs leaf micro-logs before rebuilding the inner tree. Omitting inner-node persistence therefore depends on a recoverable leaf representation, not merely on nonvolatile media. [18, sections 4-5, Algorithm 9]
Its fingerprints accelerate candidate selection, not data-integrity verification. The study's latency sweep uses emulated SCM; the concurrent experiments use a separate TSX-capable machine. Keep those setups separate when interpreting performance. [18, sections 4.2 and 6.1]
For a design review, ask which state is authoritative, how recovery finds it, and whether an interrupted repair can safely resume. A pointer to application data also needs a lifetime and durability contract: rebuilding an index cannot recover a missing payload. These are engineering review questions, not a reproduction of FPTree or a proof for another implementation.
BzTree: delegated recovery is still recovery
BzTree delegates multi-word recovery to PMwCAS. It still needs persistent allocation, a recoverable descriptor pool and allocation epochs that distinguish unfinished in-node reservations after restart. Consolidation later reclaims their space. [BzTree, sections 3.1 and 6]
PMwCAS persists its descriptor before publishing references to it, and its decision before installing final values. Readers participate in persistence and helping; the allocator recovers before descriptor replay. These are protocol obligations, not guarantees supplied by an ordinary CAS instruction. [PMwCAS, sections III-V]
Configuration messages are not durability evidence
Our pinned-source probe executes the backend selectors independently, not the full dependency build. In the SFU PMwCAS fork, EMU prints a PMDK message as well as an emulation message, but does not define PMDK. The effective definitions, not that diagnostic alone, identify the selected branch. [BzTree build] [PMwCAS build]
| Requested backend | Persistence definitions | Interpretation |
|---|---|---|
| Omitted / PMDK | PMDK, PMEM | PMDK branch selected |
| EMU / emu | PMEM, PMEMEMU | Emulation, not power-loss persistence |
| VOLATILE | None | Persistence disabled |
| UNSUPPORTED | Not applicable | Configuration rejected |
The table groups twelve observations by request; it omits the unrelated descriptor-capacity definition. An accepted EMU configuration is not a successful full build: the captured dependency contains an unimplemented PMEM-without-PMDK callback branch. [Pinned callback branch]
The original BzTree paper, the later PMDK 1.7 comparison on Optane App Direct, and this source snapshot are separate evidence. Pin transitive dependencies, allocator and persistence domain before comparing results. [Comparative study, sections 5.1-5.2]
Evidence boundary: this is a configuration-fragment probe, not an index runtime experiment, throughput reproduction or power-cut test. Download the offline evidence package or inspect the twelve observations and pinned source manifest. The package retains the original 2026-11-10 observations; publication replay checks the same results without replacing their timestamps.
PACTree: routing can lag without changing the key contract
PACTree separates a persistent trie from linked data nodes. A structural change reaches the data layer before a background thread updates routing. Readers can follow sibling links from an outdated jump point. The design shifts work off the foreground path; it does not eliminate structural recovery or safe reclamation. [SOSP 2021, sections 5.2-5.9]
A later PiBench evaluation used the same core budget for foreground and background threads. At 20 threads, its insert workload exposed background lag and extra leaf traversal. The study used 100 million preloaded records and averaged three 10-second runs on its Optane system. These are protocol-specific observations, not a universal ranking. It also excluded PACTree from its variable-length-key comparison because generated keys could contain NUL bytes. [PVLDB 2022, sections 6.1-6.6, footnote 10]
Variable length is not the same as binary-safe identity. In revision f173a0f, StringKey compares with strcmp, even after its explicit-length set method. The suffix after a NUL byte cannot distinguish two keys under that comparison. Our native replay uses the exact class fragment, four input pairs, two input methods and two compiler configurations: 16 observations. Both configurations and methods give the results below. [Pinned key representation]
| Left bytes | Right bytes | Binary equal? | StringKey equal? |
|---|---|---|---|
61 00 78 | 61 00 79 | No | Yes |
00 61 78 | 00 62 79 | No | Yes |
61 62 63 | 61 62 64 | No | No |
61 62 63 | 61 62 63 | Yes | Yes |
This is a key-representation probe, not a full-index or power-loss test. It does not establish lost records or a durability defect. Before choosing an index, specify its permitted key bytes and comparison semantics, then budget background CPU work as part of the workload. Replay instructions and inputs are in the evidence notes; download the observations, probe, pinned header and upstream notice.
CCEH: small lookups, larger splits and recovery work
CCEH groups cacheline-sized buckets into segments, reducing directory entries. A collision can nevertheless split a segment while other buckets still have space. Directory doubling remains a separate growth cost. [19, sections 3.1-3.4]
The basic directory-plus-bucket path uses two cachelines; it is not an unconditional lookup-cost bound. The evaluated design permits probing across four bucket cachelines. Likewise, avoiding explicit logging does not eliminate recovery: ordered pointer/depth updates leave partial splits that directory traversal repairs. [19, sections 3.2, 4 and 6.1]
The original experiments use Quartz DRAM-based PM emulation. Dash later tests on actual Optane DCPMM, identifying record probing and locking as bandwidth costs. Crucially, its CCEH baseline includes repairs for allocation leaks during splits and unsafe directory reclamation, plus recovery-aware locks. These are historical observations about the evaluated implementation, not a finding about today's source tree. [19, section 6] [20, sections 1.1 and 6.1-6.2]
Lazy deletion changes validity, not necessarily bytes.The split retains migrated records in the old segment. Updated hash-prefix ownership makes them invalid there, so later insertions can reuse their slots. Default CCEH uses reader/writer protection; the paper's copy-on-write variant does not share this in-place reuse contract. [19, sections 3.2-3.3 and 5]
Consider a reader paused after taking the old segment address. Another thread splits that segment; a later insertion overwrites the migrated key's old slot. Without the required coordination, resuming at the saved address can miss a key that still exists in the sibling. The paper uses this case to motivate segment reader/writer locks for in-place reuse. [19, section 5]
| Completed state | Stored copies | Logical entries |
|---|---|---|
| Before split | 2 | 2 |
| Completed split | 3 | 2 |
| After old-slot reuse | 3 | 3 |
The old B slot becomes reusable while the sibling keeps B. These are constructed completed states, not a crash test, concurrency simulation or physical-write count. Inspect the inputs, states and limits or the executable calculation. Counting every stored copy as a live entry would misread this example.
Design-review consequence: compare the exact implementation, allocator, concurrency mode and persistence platform, not just an algorithm name or flush count. A recovered index also needs valid allocations and safe object lifetimes. This is a source comparison, not a new performance measurement.
Dash: when recovery moves into requests
Dash distinguishes readiness from completed repair. A version mismatch makes the accessing thread repair its segment before executing the requested operation. If the one-byte version wraps, the design resets versions across segments. [20, section 4.8]
| Boundary | What it measures |
|---|---|
| Ready to accept requests | Restart setup, before all segments are visited |
| First operation on a segment | Requested work plus any first-access repair |
| Steady service | Throughput and latency after the restart transient |
The original paper reports 57 ms to readiness across 40-1,280 million records. Its separate post-restart experiment shows a throughput ramp, so that timing does not mean steady performance has returned. [20, section 6.8, Table 1 and Figure 14]
Hu and colleagues report 30.1 ms for Dash at 50-200 million records, including approximately 30 ms of process startup on their machine. Their protocol uses process termination and measures until requests can be served. These are different testbeds, not a speedup comparison, and process-kill recovery is not power-cut validation. [Hu et al., section 4.9 and Table 3]
Measurement implication: report the readiness endpoint, first-request latency and subsequent throughput separately, with the touched working set and failure model. This is an engineering inference from the two protocols, not a reproduced benchmark.
TIPS: durable writes before the index catches up
TIPS persists an operation log before exposing a write in its DRAM cache. The converted index remains on non-volatile memory and is updated later. A scan therefore needs both the index and pending log entries. A slow backend can fill finite logs and stall foreground writers. [TIPS, sections 3.2, 4.1.6 and 7.4-7.5]
Paper and code differ here. In revision 386b992, scan_oplog increments scan_violation but never changes its buff argument. Its caller, tips_scan, returns the backend scan result. This is not the result adjustment described in section 4.1.6. The observation is limited to those functions at that revision; it is static source inspection, not an executed counterexample. [Pinned implementation, lines 346-393]
The reported recovery tests inject SIGKILL, including during recovery. That is not a power-cut test. [TIPS, section 7.7]
Engineering implication: a useful reproduction should force a scan while committed updates remain unapplied, check returned values rather than only a violation counter, and record log occupancy alongside throughput. Validate the exact implementation before carrying a paper's scan guarantee into an application. No TIPS hardware experiment or performance replication is claimed here.
RECIPE: who finishes an interrupted update?
RECIPE classifies convertible indexes by single-step atomic publication, existing writer helping, or writer repair that must be added. Persisting ordered updates preserves recoverable intermediate states. An unchanged retry-only reader can wait forever after restart: there is no live writer to finish the abandoned update. [RECIPE, sections 4.2-4.5]
The original evaluation tested 10,000 sampled crash states per index using interrupted operations, followed by reads and writes. A separate tracing check examined persistence of dirty cache lines. Passing those tests is evidence about that test space, not exhaustive crash-state coverage. [RECIPE, sections 5 and 7.5]
Witcher adds a useful contrast: it generates candidate persistent images from inferred dependencies, then checks output equivalence after recovery against executions that include or omit the interrupted operation. A suspicious ordering alone is not the final bug oracle. [Witcher, sections 4.3-4.4]
Its evaluation identifies RECIPE revision 5b4cf3e for P-ART, P-BwTree, P-CLHT, P-HOT and P-Masstree, with other P-CLHT configurations listed separately. Reported defects include P-ART metadata/key-value atomicity and missing persistence primitives in several other converted indexes. This is a historical implementation result, not a finding about the current revision or a refutation of every conditional conversion. [Witcher, Tables 3-4]
The repair trail matters: commit 4b0c276 moves P-ART compact counters before publication and handles an exceptional insertion path. Commit 950ae0e changes flush targets and adds missing fences in several paths. Neither patch is a certificate for all later code. [P-ART repair] [Persistence repairs]
| Evidence | Question it must answer |
|---|---|
| Recovery progress | Who can complete the abandoned update after all original threads disappear? |
| Candidate crash image | Which surviving stores are allowed by the tested platform, and which later output exposes a violation? |
| Versioned result | Which source revision, allocator and test workload were checked? The publication's algorithm name alone is insufficient. |
These review questions are an engineering synthesis, not hardware reproduction. For the broader testing contract, see crash-test oracles and coverage. Retain successful test cases and counterexamples with the exact implementation.
Data may persist earlier than the flush
The function returned by pmem2_get_persist_fn ensures durability by completion, but it is not atomic or transactional. Cache replacement may persist writes before that call. A flush is therefore not a gate that keeps unfinished updates away from recovery. The API combines flushing and draining; completing one range says nothing about the consistency of unrelated ranges. [6]
Concurrency adds another route to trouble: on a system without eADR, a reader may act on a value that is already visible but not persistent, then durably publish a dependent change. PMDK documents this counterexample and a persist-on-read approach for its stated scenario. It is not a general recipe for every lock-free structure. [7]
Which ordering does recovery observe?
A persistence domain identifies protected components; a persistency model describes permitted update orders. The recovery observer introduced by Pelley, Chen and Wenisch reads the surviving state at failure. It lets us ask whether that state obeys the required dependencies, separately from what running threads could see. [11, section I]
| Model | Ordering rule | Boundary to retain |
|---|---|---|
| Strict | Persistence follows the underlying volatile memory order. | Strict does not itself mean sequential consistency; the underlying memory model matters. |
| Epoch | Persist barriers divide a thread into ordered epochs; independent updates within an epoch may persist in either order. | An epoch is not an atomic transaction. Conflicting-address ordering still applies. |
| Strand | Logical strands within a thread can have independent persistence progress; barriers order updates within a strand. | Same-address constraints remain. Later formalizations specify their own primitives and memory model. |
The original comparison assumes sequential consistency and eight-byte atomic persists. Han and Kimura's later account instead develops strand semantics over TSO, with explicit strand creation, joining and persistence primitives. These are model-specific contracts, not permission to remove flushes or fences from an existing program. [9, section 5] [10, sections 2-3]
For an engineer reviewing a publication, record three separate facts: the protected domain, the ordering model and the recovery invariant. In our two-cell example below, the invariant is what rules out accepting a commit with missing payload. Naming the hardware alone does not establish that invariant.
What survives a returned operation?
Durable linearizability keeps completed operations in a legal real-time-respecting history across full-system crashes. Calls interrupted without a response need not all abort: later threads may finish them. Buffered durable linearizability allows lost completed calls, but constrains the surviving history and is not generally compositional. [12, section 2]
Preserving an abstract object does not require persisting every pointer. The link-free set discussed by D'Osualdo, Raad and Vafeiadis records durable membership and reconstructs list links during recovery. Their proof separates durable from recovered representations and checks that a crash during recovery preserves the encoded abstract state. [13, sections 2 and 4.1]
A completed call does not freeze its value
Consider an initially empty set, with only the listed calls on key k. Each returned call finishes before the next call begins. After the crash, recovery finishes before contains(k) runs. These are constructed histories, not measurements or an implementation proof.
| Before the crash | After recovery | Legal history? |
|---|---|---|
| insert(k) returns true | contains(k) returns false | No: the completed insertion is missing |
| insert(k) returns true; delete(k) returns true | contains(k) returns false | Yes: the later deletion removes k |
| insert(k) invoked, no response | contains(k) returns true | Yes: include the pending insertion |
| insert(k) invoked, no response | contains(k) returns false | Yes: omit the pending insertion |
The second history preserves both completed calls, even though k is absent. The last two show why a missing response alone cannot determine the outcome. A retry policy needs more than a durability label.
For a review, specify which call returns success, what that response promises after restart, and how concurrent observations constrain recovery. A flush instruction or a successful synchronization call is only part of that argument. The two-cell enumeration below checks a recovery invariant for one writer; it is not a durable-linearizability proof for concurrent objects.
Can an old write first take effect after restart?
Strict linearizability makes the caller's crash an abstract-effect deadline: an interrupted call either takes effect before that crash or has no effect. Ordinary completed calls still obey their invocation-response intervals. The original model uses crash-stop processes and shared objects that do not fail. [Aguilera and Frolund, sections 2-3.6]
The durable condition above addresses full-system failures and allows a pending call to take effect in a later era. It therefore does not impose the same deadline. Comparing the names without the failure model can hide this difference. [12, section 2, Definition 3]
For a finite comparison, start with a register containing 0. An old thread invokes write(1) but receives no response before a full-system crash. After recovery, a new abstract thread makes two completed, nonoverlapping reads. There are no other writes. The table applies the strict crash deadline to this history and compares it with unbuffered durable linearizability. It is a constructed example, not an executed storage experiment.
| Read results | Strict crash deadline | Durable linearizability |
|---|---|---|
0, 0 | Allowed | Allowed |
1, 1 | Allowed | Allowed |
0, 1 | Forbidden | Allowed |
1, 0 | Forbidden | Forbidden |
The distinguishing pair is 0, 1: the pending write can explain it only by taking effect between the reads, after the crash. A strict completion cannot place it there. The pair 1, 0 has no legal sequential explanation with only that one write. The pair 1, 1 establishes the write's effect in this restricted history, but these observations do not provide a general recovery protocol or return a response to the crashed caller. The enumeration and tests cover all four pairs; they are not a general implementation verifier. [Berryhill et al., section 4, Definition 2]
This is an abstract-history boundary, not a timestamp for implementation writes. Coccimiglio, Brown and Ravi distinguish an operation appearing before a crash in a legal history from constraining its actual key write. Their strict limited effect (SLE) condition adds that requirement for persistent sets; it is not a synonym for strict linearizability. The table checks read histories, not SLE or persistence instructions. Neither condition supplies the caller's lost response. [Coccimiglio et al., expanded manuscript, section 5]
Resume the interrupted call, including its result
Nesting-safe recoverable linearizability (NRL) supports recoverable calls inside other recoverable operations. The original model resumes the innermost pending call with retained arguments and instruction context. Its interval can cross a crash; nonvolatile bytes alone do not supply this machinery. [Attiya et al., section 2]
Start with counter zero and two logical calls, P and Q: each adds one and returns the previous value. P crashes before responding; Q completes while P is down. The stipulated effect order yields these constructed histories. They are not hardware measurements.
| P crashes | Q returns | P returns | Final count |
|---|---|---|---|
| Before its effect | 0 | 1 | 2 |
| After its effect | 1 | 0 | 2 |
In the first row, P takes effect after Q. In the second, P's recovery returns its original result without incrementing again. Blind retry in that second case returns 2 and leaves count 3: three effects for two logical calls. Final count alone cannot identify the correct per-caller responses. The example assumes an oracle for P's earlier effect; it does not implement persistent metadata or an outcome detector.
NRL is distinct from the older recoverable-linearizability condition. The later Swap paper explicitly uses a simplified model without nesting. It also separates crash-free wait-freedom from recovery that may block. [Lev Lehman et al., sections 1-2] The Fetch&Add work treats independent and global crashes separately; its recovery guarantees must be read with the selected model. [Nahum et al., sections 1-2]
Reproduce the constructed example with its model and tests. Passing these checks is not a proof of an implementation's NRL or progress.
Recovering the caller's result
A consistent recovered object can leave its caller uncertain about an interrupted operation. Detectability supplies that missing outcome information. The persistent queue work describes a per-thread announcement for the intended call and its recovered result. [Friedman et al., section 2.3]
Reading the current object value is insufficient: another process may have overwritten the relevant state. Under the UDSS specification used by Dhoked and colleagues, resolve returns the caller's latest effective operation, invocation tag and response. Tags distinguish repeated calls with identical results. If the interrupted call did not take effect, the returned identity and tag may describe an earlier effective call. This is a particular interface contract, not a universal API for persistent objects. [Dhoked et al., sections 1-2]
Outcome recovery does not turn several calls into one atomic transaction. A workflow moving an item between structures must also know which step to resume. Memento combines tracked operations, checkpoints and deterministic replay to address program recovery. This is a client-workflow obligation, not a contradiction of durable linearizability's compositionality for object histories. [Cho et al., sections 1-3]
The recovery call is part of the protocol, not just an inspection tool. The OPODIS construction requires a process interrupted inside its detectable update to finish resolve before invoking any other operation on that same object. Thus a recovering process cannot skip straight to a new request and still assume this construction's recovery guarantees. This is a scoped access restriction, not a rule for every detectable object. [Dhoked et al., section 4.1, Assumption 1]
Memento's checkpoint also has a deliberate boundary: its expression must be read-only. If a crash interrupts evaluation before the result is recorded, evaluation may happen again. The retained result supports replay; the primitive is not permission to repeat an external side effect such as sending a message. That action needs its own recovery protocol. [Cho et al., section 2.1]
Design-review consequence: specify the operation identity, result-recovery interface and caller's restart protocol. State whether crashes affect every process together or allow one process to restart while others continue; support for one model does not establish support for the other. [Dhoked et al., section 2]
Reading the paper's throughput ceiling
Pelley and colleagues combine measured instruction execution with trace-derived persistence critical paths. Their Table 1 assumes 500 ns persists and unlimited bandwidth and memory banks. Its entries are persist-bound rates divided by each configuration's instruction rate, not measured application speedups. [9, sections 7-8.1]
Apply the paper's bottleneck rule before comparing: effective normalized rate = min(1, persist-bound rate). For one-thread Copy While Locked, dividing 12 by 0.034 would suggest about 353. The capped comparison is 1 / 0.034, about 29.4. Extra persistence capacity cannot make this assumed instruction stream execute faster.
| Queue / threads | Published strict rate | Published strand rate | Capped strand rate | Strand / strict after cap |
|---|---|---|---|---|
| Copy While Locked / 1 | 0.034 | 12 | 1.0 | 29.4 times |
| Copy While Locked / 8 | 0.058 | 21 | 1.0 | 17.2 times |
| Two-Lock Concurrent / 1 | 0.080 | 29 | 1.0 | 12.5 times |
| Two-Lock Concurrent / 8 | 0.430 | 22 | 1.0 | 2.3 times |
This arithmetic reproduces the interpretation of rounded published values, not the authors' traces or a hardware experiment. The rows cannot rank absolute inserts per second across queue designs or thread counts; their denominators differ. The paper supplies no sampling uncertainty for these entries, so no confidence interval is inferred.
The source values and derived rates include all four models, assumptions and provenance. The calculation module generates this table. Modern device performance needs separate measurements.
Two granularities, opposite constraints
Increasing atomic persist size can shorten the dependency path through coalescing. Increasing dependency tracking granularity can instead serialize disjoint accesses: persistent false sharing. Conflicts in volatile memory can also propagate those dependencies. For one-thread Copy While Locked at 256-byte atomic persists, Figure 4's strict path falls to the epoch path; at 256-byte tracking granularity, Figure 5's epoch path rises toward the strict path. These are trace-derived comparisons, not measured persistent-memory hardware throughput or an eADR guarantee. [9, section 8.2, Figures 4-5]
One final persist is not all-or-nothing
Hesela's synthetic example uses two initially zero cells on separate cache lines: payload and commit. Each individual cell update is assumed atomic. There is one writer, no reuse, no tearing and no other failures. Recovery accepts the record only if commit is one; its invariant is commit = 1 implies payload = 1.
We enumerate early persistence of issued stores under three declared protocols. In the first, the writer stores payload then commit without persistence ordering. The second adds a single persist of both at the end. The third persists payload completely before issuing the commit store, then persists commit.
All reachable states during each protocol, including before completion. Yes means allowed by this logical model, not equally likely or observed on hardware. Cell values are zero or one; counts are not failure rates.
| Payload / commit | No ordering | One final persist | Payload before commit | Recovery meaning |
|---|---|---|---|---|
| 0 / 0 | Yes | Yes | Yes | No published record |
| 1 / 0 | Yes | Yes | Yes | Unpublished payload; recovery ignores it |
| 0 / 1 | Yes | Yes | No | Invalid: commit names missing payload |
| 1 / 1 | Yes | Yes | Yes | Published payload present |
Both protocols with a final successful persist finish at 1 / 1. Their intermediate recovery states differ. Only the payload-before-commit protocol excludes 0 / 1. It still allows 1 / 0: ordering plus a recovery rule makes that state safe, rather than making the two writes physically indivisible.
This is a bounded illustration, not a CPU emulator or proof for arbitrary programs. It does not model compilers, concurrent publication, cache-line sharing, large payloads, memory reclamation or repeated updates. In particular, the unordered model is not a claim that every eADR execution admits all four states.
Inspect the generated states, assumptions and operation traces or run the dependency-free enumeration module. The page's values are generated from that module, not hand-entered results.
BPFS: commit below the root
BPFS avoids copying every changed path up to the file-system root. Partial copy-on-write stops where one failure-atomic pointer update can publish the change; an append can publish previously out-of-range data by updating file size. [23, section 3.2]
Its proposed epoch barriers order writebacks, but an epoch can remain in flight after its barrier executes. Ordering is not a durability-completion receipt. The design requires aligned eight-byte failure-atomic writes and epoch-aware hardware, not merely ordinary CPU memory ordering. [23, sections 4.3-4.4]
Compare Yat's different historical contract: pm_wbarrier completes durability for writes already flushed under the required fencing rules. Unflushed cache lines are not covered. Yat also retains such writes in its active set across the barrier, instead of treating every barrier as a fresh empty state. [8, sections 2 and 4]
Engineering implication: before substituting a barrier in a recovery protocol, check whether it orders future persistence, completes selected writebacks, or both. Neither paper specifies today's DAX or eADR contract. See epoch persistency and the platform-domain comparison. This is source comparison, not a hardware benchmark.
Direct access does not transfer authority
Moving file access into userspace leaves three separate questions: who can change bytes, who validates metadata, and which event commits a recoverable update? The access path alone answers none of them.
Aerie: direct data, mediated metadata
Aerie lets a library read metadata and access permitted file data. Its trusted service still handles metadata integrity and cross-process leases; the kernel supplies mappings and protection. A client can write new bytes yet lose their file linkage if it fails before shipping metadata. Its library sync operation closes that particular gap. This is a protocol boundary, not evidence that every direct store is a committed file update. [Aerie, sections 4.2-4.3]
Kuco: offload lookup, retain validation
Kuco accepts metadata addresses found by userspace, but Kfs checks them before use and falls back to pathname resolution when validation fails. Its implementation, KucoFS, persists copy-on-write data before the metadata log; flushing data alone is not the commit point. [Kuco, sections 3.2 and 4.2]
Protection has limits: KucoFS uses partition-level read access rather than full POSIX ACLs. Its atomic-mmap copies data and publishes through msync, so it is not ordinary in-place DAX access. [Kuco, sections 4.4-4.5]
Evidence scope: Aerie's original evaluation emulated SCM with DRAM. The later Kuco evaluation used Optane for its main testbed but evaluated Aerie with delayed DRAM emulation. These are not interchangeable same-device results. This comparison reports designs, not a new benchmark. [Aerie, section 7.1] [Kuco, section 5.1]
Engineering inference: Compare the authority boundary and completion contract before comparing speed. A faster path may still require trusted validation, narrower sharing or a distinct publication call.
MadFS: move the block map, keep the permission boundary
MadFS places the block map and virtual file size inside each regular file. A userspace library can change that map for copy-on-write without changing the kernel's page tables. Permissions and directory operations remain with the kernel. This is per-file virtualization, not authority over the entire filesystem. [MadFS, sections 3-4.3]
A writer publishes a compact log entry using compare-and-swap. Competing operations validate against log progress and retry when necessary. Visibility is not the same as durability: the implementation batches log-cacheline writeback, and fsync persists the outstanding tail. [MadFS, sections 4.4 and 4.6]
| Path | What it establishes | What to check separately |
|---|---|---|
| Log commit | Publishes the write in the concurrent history | Pending log writeback |
| fsync | Persists the outstanding log tail | Not a transaction across arbitrary calls |
| mmap | Maps file data into a contiguous address range | No crash-consistency guarantee for this path |
The pinned File::fsync calls flush_up_to and records the flushed cursor. The mapped-data implementation instead builds the mapping with mremap; the paper explicitly excludes a crash-consistency guarantee for that path. A DAX-backed library does not make all application access paths equivalent. [Pinned sync code] [Pinned mapping code] [MadFS, section 4.6]
Opening a file still replays its log into a DRAM block table. The authors identify frequent opens as a poor fit. Their evaluation uses a 128 GB Optane DIMM and Linux 5.1; SplitFS runs in POSIX mode, with different data-consistency guarantees. Compare access paths, synchronization and open frequency before transferring any throughput result to another workload. This is source synthesis, not a reproduced benchmark. [MadFS, sections 5 and 5.3]
SplitFS: choose the operation contract
SplitFS accelerates data access in a user-space library while retaining ext4 DAX for metadata. Its staging files and journal-backed relink avoid recopying aligned data; partial blocks still require copying. [25] [24, section 3.3]
In sync mode, a returned operation is persistent, but an interrupted overwrite can be partial. Strict mode adds per-operation atomicity, not a transaction across calls. Separately, the paper makes appended bytes visible to other processes on fsync. A durable return is therefore not a universal publication point. [24, section 3.2]
For a producer-consumer design, specify both recovery and observation: which call makes the bytes recoverable, and which makes them available to the reader? This is an engineering inference from the distinct contracts, not a new prototype experiment.
The pinned prototype uses LD_PRELOAD and a modified kernel setup. Treat its installation and interception requirements as part of the experiment; do not assume these guarantees from enabling DAX alone. [26]
ctFS: contiguous addresses, conditional atomicity
ctFS replaces software file indexing with a contiguous virtual range, not contiguous physical storage. Persistent page tables retain the mapping, while the MMU uses ordinary DRAM page tables populated on faults. Growing a file can remap its pages instead of copying the existing payload. [60]
| Mechanism | What it supplies | What it does not imply |
|---|---|---|
| Virtual contiguity | Base address plus file offset | Physically adjacent pages |
| Sync mode | Persistent completed writes | Atomic interrupted data writes |
| Strict mode | Atomic individual data writes | A transaction across arbitrary calls |
The paper's strict path stages new data before pswap; unaligned boundary fragments still need copying. The swap also invalidates volatile translations. Metadata uses redo logging, so hardware translation does not remove the recovery protocol. Protection covers accidental bugs, not hostile applications. [59, sections 3.1-3.6]
Check the build, not just the paper. At revision 664a8b7, ctfs_config.h comments out CTFS_ATOMIC_WRITE; ctfs_pwrite selects its atomic implementation only when that macro is defined. This source observation does not identify the effective options of someone else's binary. [61] [62]
The released prototype requires a modified kernel and Optane PMem. This is a historical source comparison, not a ctFS execution or crash test by Hesela. [63]
ByVFS: a cache can also carry correctness
Fast persistent metadata does not make every DRAM cache redundant. ByVFS, a HotStorage 2018 prototype, removes dentry caching from its persistent-memory lookup path while retaining cached inodes. That is a different optimization from bypassing the file-data page cache. [74, section 3]
| Mechanism | Consequence |
|---|---|
| Remove cached names | Lookup reaches filesystem metadata directly. |
| Keep cached inodes | Frequent metadata updates still benefit from volatile state. |
| Persist an inode-cache pointer | Mount-version checks must reject pointers to an earlier incarnation. |
| Remove dcache machinery | Parent-name discovery and concurrency need replacement mechanisms. |
The pointer's bytes can survive while its DRAM target disappears. ByVFS recreates the cached inode when its version differs from the current mount. Efficient getcwd support and replacement concurrency control remained future work. [74, sections 3.1-3.2 and 6]
The modified Linux 4.3.0/NOVA evaluation emulated NVM using NUMA memory. Its command workloads did not all improve: du, find and rm were faster, while ls and cp were slower. Warm-cache access also slightly regressed. [74, section 4]
Linux's VFS documentation explains why this tradeoff extends beyond hit rate: dentries also participate in mount traversal and concurrency control. [75] Engineering implication: compare the saved work with these replacement duties, then test the complete operation set under cold and warm conditions. The paper is not evidence that removing a cache preserves today's filesystem guarantees.
NOVA: log recovery and mapped-data protection
NOVA uses per-inode persistent logs and rebuildable DRAM indexes. File data stays outside the logs; operations spanning inodes also use a small journal. Recovery can reconstruct an index without making every store atomic. [21, sections 3 and 4.7]
The original FAST 2016 design's atomic-mmap maps replica pages, then copies and atomically commits their changes at msync. It explicitly does not support DAX-mmap. Do not transfer that atomicity claim to ordinary directly mapped stores. [21, section 4.5]
NOVA-Fortis (SOSP 2017) adds replicated checksummed metadata and data checksums with RAID-4 parity. Its read/write DAX mappings are an explicit exception: applications can modify pages without filesystem intervention, so checksums and parity need not remain current. Dirty-page protection is recomputed on msync() and munmap(); removing the last mapping restores protection. Crash recovery also recomputes protection for pages logged as mapped. [22, sections 4.2-4.3]
Hesela's implication: recomputing a checksum after that checksum/parity gap does not independently establish that the bytes match an earlier intended value. Record the mapping lifecycle and the application's integrity protocol, not just the filesystem name. This is source analysis, not a hardware experiment or a current compatibility recommendation.
NOVA-Fortis: a snapshot can capture the wrong combination
NOVA-Fortis delays write faults on already-protected DAX pages until all mapped pages are read-only. Otherwise, page-by-page capture can retain old data alongside a new validity marker. The snapshot still represents an interrupted application, not necessarily a completed transaction. [22, section 3.3, Figure 3]
Our teaching model starts with data=0 and valid=0. The writer sets data=7 before valid=1; capture freezes the data page before the validity page. W means write, C means capture. We enumerate every interleaving preserving those two orders. Waiting disallows a write to a protected page until both captures finish; other writes can proceed.
| Event order | Naive (data, valid) | With waiting (data, valid) |
|---|---|---|
| W_D / W_V / C_D / C_V | 7, 1 | 7, 1 |
| W_D / C_D / W_V / C_V | 7, 1 | 7, 1 |
| W_D / C_D / C_V / W_V | 7, 0 | 7, 0 |
| C_D / W_D / W_V / C_V | 0, 1 (inconsistent) | Blocked order |
| C_D / W_D / C_V / W_V | 0, 0 | Blocked order |
| C_D / C_V / W_D / W_V | 0, 0 | 0, 0 |
One of six naive schedules captures (0, 1); waiting rejects that order. Four schedules remain admissible in this model. These counts are not a one-in-six hardware risk: schedules have no assigned probabilities. This single-writer, atomic-event model does not prove the full filesystem. Download and run the model with Node.js.
A local snapshot shares the storage failure domain; exporting and testing a separate recovery copy is still necessary. Linux's DAX documentation likewise distinguishes clearing damaged sectors from restoring their lost contents using backup or redundancy. [3, Handling Media Errors]
Pangolin: when is a stored checksum actually checked?
Pangolin moves integrity management into the persistent-object library. Its DRAM micro-buffers let commit coordinate object data and redundancy. This addresses the writable DAX protection gap described above. [Pangolin, sections 3.2-3.4]; [NOVA-Fortis, section 4.3]
| Mode | Checksum check |
|---|---|
| Default | Micro-buffer creation, not every pgl_get read |
| Scrub | Periodic whole-pool verification, in addition to default checks |
| Conservative | Every object access |
Storing redundancy does not mean each returned value was verified. The prototype can also lose data after interrupted parity updates followed by corruption in the same page column before recovery completes. [Pangolin, sections 3.3 and 3.6]
The reported error-injection tests erase pages and use mprotect/SIGSEGV to emulate media errors. They are not physical media-fault tests. [Pangolin, section 4.6]
Design-review implication: separate three questions: when data becomes durable, when its integrity is checked, and which failure combinations can be repaired. A test that only restarts after process exit cannot answer all three. Record the access path and verification mode with each result, then test their failure cases separately.
Strata: persistence before cross-media placement
Strata records updates in a process-local NVM log before asynchronous digestion reorganizes them. Its first digest stays within NVM, moving from private logs to shared structures; it is not necessarily an SSD or HDD transfer. A call fits one atomic transaction only within the log-capacity limit; larger calls are split. [Strata, sections 3.2-3.3]
The prototype has no device-failure redundancy, and its evaluation uses emulated NVM. These limits matter separately from crash consistency. [Strata, sections 4.1 and 5] The pinned author repository lists incomplete leases and no mmap support; KernelFS runs in user space. It is no longer maintained. A design description is not evidence that every published interface works in the released artifact. [Prototype README]
First failure is not the minimum mean lifetime
The paper's minimum-MTTDL wording needs care. If losing any indispensable device ends data survival, the loss time is the minimum of their lifetimes, not the minimum of the means. For nonnegative lifetimes, E[min(T_i)] <= min(E[T_i]): the pointwise minimum is no larger than any component, so the same inequality holds after taking expectations.
For independent exponential lifetimes with positive rates measured in the same units, the mean time to first failure is 1 / sum(lambda_i). Three such devices with equal mean lifetime m give m / 3, not m. This is a first-failure model with no repair, not a measured Strata failure rate. Correlated failures, redundancy and data placement need separate models. [NIST series model] [NIST exponential model]
Engineering implication: state the recovery dependency, atomicity limit and device-loss model before calling a storage path durable. This is a source-based assessment, not a reproduction of Strata or a recommendation to deploy its historical prototype.
Assise: name the failure that persistence survives
Assise extends the local-storage problem to replicated caches. Its OSDI 2020 design separates recovery from local NVM from failover to another node. In optimistic mode, a process crash can recover completed local writes, while losing the node before replication can lose a suffix. A recoverable prefix is not a promise to retain every returned write. [Assise, sections 3.2-3.4]
| Mode | Replication boundary | Recovery implication |
|---|---|---|
| Pessimistic | fsync waits for replication | Earlier writes are available to replica failover |
| Optimistic | dsync or log eviction initiates replication | Local-only updates remain exposed to loss of that node |
Assise's replicas execute CLWB and SFENCE before acknowledging replicated writes. Network transfer completion is not enough. The paper's dsync is a design-specific primitive, not a portable POSIX call. [Assise, sections 3 and 4.2]
The public artifact narrows the deployment claim further: interception applies to supported calls under the configured /mlfs prefix, and a one-node setup behaves as a local file system. Its README lists CC_OPT as a build flag and requires rebuilding after configuration changes. Treat a paper's mode description and a particular build as separate evidence. [pinned artifact]
In the pinned source, mlfs_posix_fsync invokes mlfs_do_rsync only inside #ifdef DISTRIBUTED, then returns zero. Reading that wrapper cannot verify the remote persistence path or a complete failure model. Audit the actual build and replication path before interpreting a successful call as a recovery guarantee. [pinned fsync wrapper]
This is a source comparison, not a new prototype experiment. The engineering question is which failure can remove the only recoverable copy, and which completed operation establishes protection against it. Related: replication acknowledgements and optimistic crash consistency.
The Yat lesson: test recovery during recovery
Lantz and colleagues' Yat (ATC 2014) recorded PMFS operations and replayed allowed persistent states, then ran recovery and a consistency checker. One reported bug involved a shared truncate list; fixing its transaction boundary exposed another failure when recovery itself was interrupted. Recovery had to be idempotent. [8, section 5]
The study used a proposed historical architecture, including pm_wbarrier, not a specification of today's eADR. It captured the observed thread schedule rather than exploring all software schedules. Large state sets were sampled, and adjacent writes could be coalesced at a stated coverage cost. This is evidence for disciplined fault modeling and recovery checks, not an exhaustive guarantee for current PMem applications. [8, sections 2-4]
What to record before claiming durability
- Identify the real mapping, backing storage, active DAX state and supported MAP_SYNC behavior. A device name or a successful ordinary mmap is insufficient.
- Record the enabled persistence domain, protected failure class and platform requirements. Keep power-loss survival separate from media-error tolerance.
- Name the durable dependency: which payload must survive before which marker, pointer or index entry can be accepted after restart?
- Test interrupted updates and interrupted recovery against an independent oracle. Retain the workload, platform details and excluded states with the result.
These are engineering implications of the cited contracts, not measurements by Hesela. No hardware power-cut test, benchmark or reproduction of Yat was performed. Related: crash-testing oracles and atomic rename versus durable commit.
Corpus: persistent memory, persistence domain, ADR, eADR, DAX, MAP_SYNC, byte-addressable storage.
Primary sources
- Intel. Second Generation Xeon Processor Scalable Family Technical Overview: The Persistence Domain.
- Intel. Third Generation Xeon Processor Scalable Family on Two Socket Platforms: eADR.
- Linux kernel documentation. Direct Access for files: motivation and S_DAX state.
- Linux man-pages. mmap(2), MAP_SYNC and MAP_SHARED_VALIDATE.
- PMDK 1.13.1. libpmem2(7), GRANULARITY (pinned source documentation).
- PMDK 1.13.1. pmem2_get_persist_fn(3): early persistence and non-transactional semantics.
- PMDK project. Concurrency considerations in libpmemobj-cpp, 17 September 2021.
- Philip Lantz, Subramanya Dulloor, Sanjay Kumar, Rajesh Sankaran and Jeff Jackson. Yat: A Validation Framework for Persistent Memory Software. USENIX ATC 2014, pp. 433-438, sections 2-5.
- Steven Pelley, Peter M. Chen and Thomas F. Wenisch. Memory Persistency. ISCA 2014, pp. 265-276; sections 4-5, 7-8, Table 1 and Figures 4-5. DOI: 10.1109/ISCA.2014.6853222. Author manuscript hosted by University of Illinois.
- Jixin Han and Keiji Kimura. Durable Queue Implementations Built on a Formally Defined Strand Persistency Model. Journal of Information Processing 29 (2021), pp. 823-838; sections 2-3. DOI: 10.2197/ipsjjip.29.823.
- Steven Pelley, Peter M. Chen and Thomas F. Wenisch. RETROSPECTIVE: Memory Persistency. ISCA retrospective, 2023; sections I-II.
- Joseph Izraelevitz, Hammurabi Mendes and Michael L. Scott. Linearizability of Persistent Memory Objects Under a Full-System-Crash Failure Model. DISC 2016, section 2, pp. 316-317. DOI: 10.1007/978-3-662-53426-7_23.
- Emanuele D'Osualdo, Azalea Raad and Viktor Vafeiadis. The Path to Durable Linearizability. POPL 2023, section 2 (pp. 8-9) and section 4.1 (pp. 15-16). DOI: 10.1145/3571219.
- Arthur Sainio and Mario Martinez. NVDIMM-N Cookbook. SNIA FMS 2016 tutorial, slides 7-16: mapping, arming, ADR and backup energy.
- Dell EMC NVDIMM-N Persistent Memory User Guide: Battery; implementation-specific power, save time and read-only restore behavior.
- Linux kernel documentation. BTT - Block Translation Table, introduction and theory of operation.
- ndctl-create-namespace(1): sector, fsdax and devdax modes; BTT disables DAX.
- Ismail Oukid, Johan Lasperas, Anisoara Nica, Thomas Willhalm and Wolfgang Lehner. FPTree: A Hybrid SCM-DRAM Persistent and Concurrent B-Tree for Storage Class Memory. SIGMOD 2016, pp. 371-386, sections 4-6 and Algorithm 9. DOI: 10.1145/2882903.2915251.
- Moohyeon Nam, Hokeun Cha, Young-ri Choi, Sam H. Noh and Beomseok Nam. Write-Optimized Dynamic Hashing for Persistent Memory. FAST 2019, pp. 31-44, sections 3-6.
- Baotong Lu, Xiangpeng Hao, Tianzheng Wang and Eric Lo. Dash: Scalable Hashing on Persistent Memory. PVLDB 13(8), 2020, pp. 1147-1161, sections 1.1, 4.8 and 6.1-6.8. DOI: 10.14778/3389133.3389134.
- Jian Xu and Steven Swanson. NOVA: A Log-structured File System for Hybrid Volatile/Non-volatile Main Memories. FAST 2016, pp. 323-338, sections 3 and 4.5-4.7.
- Jian Xu, Lu Zhang et al. NOVA-Fortis: A Fault-Tolerant Non-Volatile Main Memory File System. SOSP 2017, sections 1, 3.1-3.4 and 4.2-4.3. DOI: 10.1145/3132747.3132761.
- Condit et al. Better I/O Through Byte-Addressable, Persistent Memory. SOSP 2009, sections 3.2, 4.3-4.4 and 5.
- Kadekodi et al. SplitFS: Reducing Software Overhead in File Systems for Persistent Memory. SOSP 2019, sections 3.2-3.4, 5.1-5.3. DOI: 10.1145/3341301.3359631.
- SplitFS authors. README at commit 1ac6412676724760557b587e85cc21f26f654fee: interception and setup.
- Youngjin Kwon, Henrique Fingler, Tyler Hunt, Simon Peter, Emmett Witchel and Thomas Anderson. Strata: A Cross Media File System. SOSP 2017, pp. 460-477, sections 3.2-3.4, 4.1 and 5. DOI: 10.1145/3132747.3132770.
- Strata author repository, README and limitations, pinned revision f368da4cefe874e1b31a19df7c6436b48f489381.
- NIST/SEMATECH e-Handbook: 8.1.8.2 Series model, assumptions and survival product.
- NIST/SEMATECH e-Handbook: 8.1.6.1 Exponential, constant hazard and mean.
- Anderson et al. Assise: Performance and Availability via Client-local NVM in a Distributed File System. OSDI 2020, pp. 1011-1027, sections 3-5.
- Assise authors. README at c191f20b26a86bef79bb8c943b33c0c75e17c802: namespace interception, cluster configuration and build flags.
- Assise authors. posix_interface.c at c191f20b26a86bef79bb8c943b33c0c75e17c802, mlfs_posix_fsync.
- Haris Volos et al. Aerie: Flexible File-System Interfaces to Storage-Class Memory. EuroSys 2014, sections 4.2-4.3, 5.3 and 7.1. DOI: 10.1145/2592798.2592810.
- Youmin Chen et al. Scalable Persistent Memory File System with Kernel-Userspace Collaboration. FAST 2021, pp. 81-95, sections 3.2-3.4, 4.2-4.5 and 5.1.
- Hu et al. Persistent Memory Hash Indexes: An Experimental Evaluation. PVLDB 14(5), 2021, sections 3.3 and 4.9. DOI: 10.14778/3446095.3446101.
- Lee et al. RECIPE: Converting Concurrent DRAM Indexes to Persistent-Memory Indexes. SOSP 2019, sections 4-7. DOI: 10.1145/3341301.3359635.
- Fu et al. Witcher: Systematic Crash Consistency Testing for Non-Volatile Memory Key-Value Stores. SOSP 2021. DOI: 10.1145/3477132.3483556.
- RECIPE source history: P-ART counter ordering and exceptional insertion handling, commit 4b0c276.
- RECIPE source history: persistence primitive repairs, commit 950ae0e.
- Friedman et al. A Persistent Lock-Free Queue for Non-Volatile Memory. PPoPP 2018, section 2.3. DOI: 10.1145/3178487.3178490.
- Dhoked et al. RMR-Efficient Detectable Objects for Persistent Memory and Their Applications. OPODIS 2024, sections 1-2 and 4.1, Assumption 1.
- Cho et al. Memento: A Framework for Detectable Recoverability in Persistent Memory. PLDI 2023, sections 1-3. DOI: 10.1145/3591232.
- Krishnan et al. TIPS: Making Volatile Index Structures Persistent with DRAM-NVMM Tiering. USENIX ATC 2021, sections 3-5 and 7.
- TIPS source, revision 386b992: scan_oplog and tips_scan in tips-lib/src/tips.c, lines 346-393.
- Arulraj et al. BzTree: A High-Performance Latch-free Range Index for Non-Volatile Memory. PVLDB 11(5), 553-565, 2018, sections 3.1 and 6.
- Wang, Levandoski and Larson. Easy Lock-Free Indexing in Non-Volatile Memory. ICDE 2018, sections III-V.
- Lersch et al. Evaluating Persistent Memory Range Indexes. PVLDB 13(4), 574-587, 2019, sections 5.1-5.2.
- SFU BzTree, revision b2e7fcb: backend selection and floating dependency revisions.
- SFU PMwCAS, revision 3ed419f: backend definitions and EMU diagnostic.
- SFU PMwCAS, revision 3ed419f: unimplemented PMEM-without-PMDK callback branch.
- Kim et al. PACTree: A High Performance Persistent Range Index Using PAC Guidelines. SOSP 2021, sections 5.2-5.9. DOI: 10.1145/3477132.3483589.
- He et al. Evaluating Persistent Memory Range Indexes: Part Two. PVLDB 15(11), 2477-2490, 2022, sections 6.1-6.7 and footnote 10. DOI: 10.14778/3551793.3551808.
- PACTree artifact, revision f173a0f: StringKey constructors, set and comparisons in include/common.h.
- Lu Zhang and Steven Swanson. Pangolin: A Fault-Tolerant Persistent Memory Programming Library. USENIX ATC 2019, pp. 897-912, sections 3.1-3.6 and 4.6.
- Shawn Zhong, Chenhao Ye, Guanzhou Hu, Suyan Qu, Andrea Arpaci-Dusseau, Remzi Arpaci-Dusseau and Michael Swift. MadFS: Per-File Virtualization for Userspace Persistent Memory Filesystems. FAST 2023, pp. 265-280, sections 3, 4.3-4.6 and 5.
- MadFS authors. File::fsync at revision 7514a7816d39b95c9f34555a13c50173c4fa2b32, src/file/sync.cpp.
- MadFS authors. File::mmap at revision 7514a7816d39b95c9f34555a13c50173c4fa2b32, src/file/mmap.cpp.
- Li et al. ctFS. USENIX FAST 2022, pp.35-50, sections 3.1-3.6 and 5.
- ctFS 664a8b7: ctfs_config.h, commented atomic-write configuration.
- ctFS 664a8b7: ctfs_pwrite dispatch and atomic-write implementation.
- ctFS 664a8b7: prototype requirements and tested environment.
- Aguilera and Frolund. Strict Linearizability and the Power of Aborting. HPL-2003-241 (2003), sections 1-3.6.
- Berryhill, Golab and Tripunitara. Robust Shared Objects for Non-Volatile Main Memory. OPODIS 2015, section 4, Definition 2.
- Coccimiglio, Brown and Ravi. The Fence Complexity of Persistent Sets (2023), expanded manuscript, section 5.
- Intel SDM 093, Vol. 2A: CLFLUSHOPT (3-146) and CLWB (3-154).
- PMem project glossary: CLWB, CLFLUSHOPT, ADR, eADR and fences.
- Intel SDM 093, Vol. 2B: SFENCE, printed page 4-628.
- PMDK 1.13.1: pmem2_get_drain_fn, mapping-specific flush completion.
- Attiya, Ben-Baruch and Hendler. Nesting-Safe Recoverable Linearizability: Modular Constructions for Non-Volatile Memory. PODC 2018, section 2. DOI: 10.1145/3212734.3212753.
- Nahum, Attiya, Ben-Baruch and Hendler. Recoverable and Detectable Fetch&Add. OPODIS 2021, sections 1-2. DOI: 10.4230/LIPIcs.OPODIS.2021.29.
- Lev Lehman, Attiya and Hendler. Recoverable and Detectable Self-Implementations of Swap. OPODIS 2023, sections 1-2. DOI: 10.4230/LIPIcs.OPODIS.2023.24.
- Ying Wang, Dejun Jiang and Jin Xiong. Caching or Not: Rethinking Virtual File System for Non-Volatile Main Memory. HotStorage 2018, sections 3-4 and 6.
- Linux v6.16 pathname lookup: dcache responsibilities, mount integration and concurrency.
Updated . Version-pinned software documentation and historical research retain their original scope and rights.