Cacheline-Conscious Extendible Hashing
CCEH is a persistent-memory hash index that groups cacheline-sized buckets into segments addressed through a directory.
Segments shrink the directory but enlarge the unit of splitting. Ordered metadata updates and directory recovery replace explicit logging in the paper's design. [2]
Lazy deletion leaves migrated records in the old segment. After the ordered pointer/depth changes, their hash prefixes no longer match that segment and later insertions can reuse those slots. A paused reader holding the old segment address could otherwise miss a migrated key after its former slot is overwritten. The default design protects this reuse with reader/writer locks; the copy-on-write variant has a different concurrency contract. [2]
The linked constructed example counts stored copies separately from logical entries; it is not a crash test or physical-write measurement. [1]
Relations
Limitations
- The original evaluation emulates persistent memory with DRAM; lookup probing can access additional cachelines. [2]
- Dash evaluates a modified CCEH implementation on Optane, including allocation and reclamation repairs. [3]
Citations
- Hesela: constructed CCEH membership states, source and limits
- 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.
- Lu, Hao, Wang and Lo. Dash: Scalable Hashing on Persistent Memory. PVLDB 13(8), 2020, sections 1.1, 6.1-6.2. DOI: 10.14778/3389133.3389134.
Further reading
Sources & caveats
- Primary-source review of FAST 2019 sections 3-6 and Dash sections 1.1, 6.1-6.2; no benchmark or crash-test reproduction. Historical implementation observations are not a claim about current repository defects.