1. Failure-Atomic Byte-Addressable R-tree for Persistent Memory
- Author
-
Kwang-Won Koh, Soojeong Cho, Changdae Kim, Beomseok Nam, Wonbae Kim, and Sehyeon Oh
- Subjects
Record locking ,Range query (data structures) ,Computer science ,Transaction processing ,business.industry ,Concurrency ,Byte ,Data structure ,Lock (computer science) ,Persistence (computer science) ,Consistency (database systems) ,Tree (data structure) ,Computational Theory and Mathematics ,Hardware and Architecture ,Signal Processing ,Overhead (computing) ,Concurrent computing ,business ,Computer network - Abstract
In this article, we propose Failure-atomic Byte-addressable R-tree (FBR-tree) that leverages the byte-addressability, persistence, and high performance of persistent memory while guaranteeing the crash consistency. We carefully control the order of store and cacheline flush instructions and prevent any single store instruction from making an FBR-tree inconsistent and unrecoverable. We also develop a non-blocking lock-free range query algorithm for FBR-tree. Since FBR-tree allows read transactions to detect and ignore any transient inconsistent states, multiple read transactions can concurrently access tree nodes without using shared locks while other write transactions are making changes to them. Our performance study shows that FBR-tree successfully reduces the legacy logging overhead and the lock-free range query algorithm shows up to 2.6x higher query processing throughput than the shared lock-based crabbing concurrency protocol.
- Published
- 2021