FAST/FAIR persistent B+ tree
FAST/FAIR is a persistent B+ tree design that orders in-place updates so readers can interpret partially completed shifts and rebalancing.
Mechanism: FAST skips a key between duplicate adjacent pointers during a shift. FAIR persists a new sibling and its link before removing migrated entries from the old node. The design relies on word-sized atomic stores and enforced persistence ordering, not cache-line atomicity. [1]
Concurrency: Readers avoid read locks, but writers still coordinate with locks. Scan direction and a change counter govern read retries. The paper distinguishes read-uncommitted lock-free search from its serializable leaf-lock variant. [1]
Implementation scope: At revision 0f047e88, concurrent allocates pages with posix_memalign, while concurrent_pmdk has a separate pool create/open path. An ordinary-memory benchmark is not evidence of restart recovery, and the existence of a PMDK path alone does not establish complete crash correctness. [2] [3]
Relations
- related
- B+ tree, Persistent memory, Persistence ordering, FPTree, RECIPE persistent-index conversion, BzTree
Limitations
- The 2018 x86 evaluation uses Quartz latency emulation over DRAM and assumes DRAM bandwidth; its results are not modern-device measurements. [1]
Citations
- Hwang et al. Endurable Transient Inconsistency in Byte-Addressable Persistent B+-Tree. FAST 2018, pp. 187-200, sections 3-7.
- FAST_FAIR 0f047e88: concurrent page allocator and tree constructor.
- FAST_FAIR 0f047e88: concurrent_pmdk test program, pool creation and reopening.
Further reading
Sources & caveats
- Paper and pinned-source review; no execution of the historical index, crash-injection test or hardware performance reproduction.
- The publication year identifies research, not commercial availability. The USENIX proceedings record supplies no DOI.