TL;DR
SKYE is a novel, write-optimized key-value store designed for persistent memory (PM) that achieves exceptionally high throughput and scalability by enforcing fine-grained control over PM accesses. By shifting away from traditional direct-access architectures in favor of an indirect approach with dedicated worker threads, SKYE prevents memory controller saturation and utilizes up to 88% of PM write bandwidth.
What Problem Does This Paper Address?
Persistent Memory (PM) bridges the gap between volatile DRAM and traditional storage, offering byte-addressability, durability, and near-DRAM speeds. To harvest this low latency, state-of-the-art PM key-value stores allow application threads to directly read and write to PM, relying on hardware-managed interleaving to distribute data across multiple non-volatile DIMMs (NVDIMMs).
However, this direct-access design introduces a major bottleneck for write-heavy workloads. When too many application threads write to PM concurrently, they overload the underlying memory controllers, leading to severe head-of-line blocking and a dramatic drop in throughput. As a result, existing systems fail to scale effectively beyond a small number of threads.
SKYE addresses this fundamental conflict between latency-oriented design and high-throughput write scalability.
Methods
SKYE introduces a complete architectural departure from existing PM stores by reclaiming fine-grained control over data placement and access concurrency through several key components:
- Indirect-Access Architecture: Applications do not access PM directly. Instead, they submit requests to a centralized, NUMA-aware router. Requests are placed into lock-free queues and handled by dedicated worker threads that perform I/O on behalf of the application.
- The nvLOG Interface: Rather than relying on hardware-managed interleaving, SKYE manages each NVDIMM individually as an independent log abstraction.
nvLOGpre-allocates large files and ensures that all appends are sequentially aligned to PM block sizes (256 bytes or larger) to eliminate write amplification. - Multi-Media Tiering: To keep index lookups from interfering with PM write bandwidth, SKYE maintains its primary indexes in DRAM (using the FASTER framework) and writes updates to an in-memory merge log. To prevent PM overload during persistence, these indexes are periodically checkpointed to traditional SSDs or HDDs.
- NUMA Awareness: Worker threads are strictly pinned to the NVDIMMs within their local NUMA node, completely avoiding expensive cross-node memory traffic.
Datasets
The authors evaluated SKYE using the standard Yahoo Cloud Serving Benchmark (YCSB). The evaluation covered a comprehensive suite of workloads with both uniform and Zipfian (skewed) distributions:
- LoadA: Write-only (100% writes)
- RunA: Write-heavy (50% reads, 50% writes)
- RunB: Read-heavy (95% reads, 5% writes)
- RunC: Read-only (100% reads)
- RunD: Read-latest
- RunF: Read-modify-write
All workloads were configured using 8B keys and 256B values, totaling a dataset size of 12.29 GB.
Key Insights and Ideas
- The Latency vs. Throughput Trade-off: Prioritizing low latency via direct access inherently breaks write throughput. Accepting a microsecond-scale latency penalty via indirect queues allows a system to perfectly orchestrate PM traffic, unlocking massive bandwidth utilization.
- Ditching Hardware Interleaving: Managing NVDIMMs individually provides roughly 20% higher throughput than hardware-level interleaving. Granular control over data placement allows the system to maximize the benefits of hardware prefetching.
- Embracing Mixed I/O: While prior literature suggests separating reads and writes on PM to avoid controller conflicts, the authors discovered that concurrent mixed I/O actually yields higher cumulative bandwidth with fewer threads, helping to control CPU overhead.
Key Results
- Single NVDIMM Performance: SKYE outperforms state-of-the-art PM stores across all YCSB workloads, delivering 2× higher throughput than FlatStore, 3× higher than ChameleonDB, and 3–5× higher than Viper.
- Bandwidth Utilization: SKYE successfully saturates approximately 88% of a single PM's sequential write bandwidth.
- Multi-Node Scalability: When scaling to 4 NVDIMMs across 4 NUMA nodes, SKYE maintains ~86% bandwidth utilization, scaling its write throughput by 3.9× to reach 28 Mops/s.
- CXL Readiness: Tested on emulated Compute Express Link (CXL) PM, SKYE scaled throughput by 1.9× when doubling CXL capacity, proving its architecture translates seamlessly to next-generation hardware.
Limitations and Future Work
- Latency Overhead: Because requests must pass through worker queues, SKYE increases average request latency to tens of microseconds. It is explicitly not intended for applications requiring sub-microsecond response times.
- High CPU Utilization: Deploying dedicated worker threads to manage I/O increases the system's overall CPU footprint.
- Queue Bottlenecks: At extremely high thread counts, the scalability of SKYE becomes bound by the performance of its concurrent request queues rather than the PM hardware itself.
For future work, the authors plan to extend SKYE to support emerging byte-addressable persistent media and optimize logging mechanisms specifically tailored for genuine CXL hardware.
Summary updated