WALTZ: Leveraging Zone Append to Tighten the Tail Latency of LSM Tree on ZNS SSD
Jongsung Lee, Dong Uk Kim, Jae W. Lee
Abstract
We propose WALTZ, an LSM tree-based key-value store on the emerging Zoned Namespace (ZNS) SSD. The key contribution of WALTZ is to leverage the zone append command, which is a recent addition to ZNS SSD specifications, to provide tight tail latency. The long tail latency problem caused by the merging process of multiple parallel writes, called batch-group writes, is effectively addressed by the internal synchronization mechanism of ZNS SSD. To provide fast failover when the active zone becomes full for a write-ahead log (WAL) file during parallel append, WALTZ introduces a mechanism for WAL zone replacement and reservation. Finally, lazy metadata management allows a put query to be processed fast without requiring any other synchronizations to enable lock-free execution of individual append commands. For evaluation we use both mi-crobenchmarks (db_bench) with varying read/write ratios and key skewnesses, and realistic social-graph workloads (MixGraph from Facebook). Our evaluation demonstrates geomean reduction of tail latency by 2.19× and 2.45× for db_bench and MixGraph, respectively, with a maximum reduction of 3.02× and 4.73×. As a side effect of eliminating the overhead of batch-group writes, WALTZ also improves the query throughput (QPS) by up to 11.7%.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
3 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Z-LFS: A Zoned Namespace-tailored Log-structured File System for Commodity Small-zone ZNS SSDs cites ZNS: Avoiding the Block Interface Tax for Flash-based SSDs
- p2KVS: a portable 2-dimensional parallelizing framework to improve scalability of key-value stores on SSDs cites CruiseDB: An LSM-Tree Key-Value Store with Both Better Tail Throughput and Tail Latency
- p2KVS: a portable 2-dimensional parallelizing framework to improve scalability of key-value stores on SSDs cites SpanDB: A Fast, Cost-Effective LSM-tree Based KV Store on Hybrid Storage
- D2FS: Device-Driven Filesystem Garbage Collection cites ZNS: Avoiding the Block Interface Tax for Flash-based SSDs
- D2FS: Device-Driven Filesystem Garbage Collection cites SpanDB: A Fast, Cost-Effective LSM-tree Based KV Store on Hybrid Storage
Cited by top-tier papers3
- Bf-Tree: A Modern Read-Write-Optimized Concurrent Larger-Than-Memory Range IndexXiangpeng Hao, Badrish ChandramouliVLDB 2024 · 14 citations
- Z-LFS: A Zoned Namespace-tailored Log-structured File System for Commodity Small-zone ZNS SSDsInhwi Hwang, Sangjin Lee, Sunggon Kim, Hyeonsang Eom et al.USENIX ATC 2025 · 7 citations
- D2FS: Device-Driven Filesystem Garbage CollectionJuwon Kim, Seungjae Lee, Joontaek Oh, Dongkun Shin et al.FAST 2025 · 7 citations
Builds on6
- ZNS: Avoiding the Block Interface Tax for Flash-based SSDsMatias Bjørling, Abutalib Aghayev, Hans Holmberg, Aravind Ramesh et al.USENIX ATC 2021 · 221 citations
- MatrixKV: Reducing Write Stalls and Write Amplification in LSM-tree Based KV Stores with Matrix Container in NVMTing Yao, Yiwen Zhang, Jiguang Wan, Qiu Cui et al.USENIX ATC 2020 · 186 citations
- SpanDB: A Fast, Cost-Effective LSM-tree Based KV Store on Hybrid StorageHao Chen, Chaoyi Ruan, Cheng Li, Xiaosong Ma et al.FAST 2021 · 120 citations
- CruiseDB: An LSM-Tree Key-Value Store with Both Better Tail Throughput and Tail LatencyJunkai Liang, Yunpeng ChaiICDE 2021 · 17 citations
- p2KVS: a portable 2-dimensional parallelizing framework to improve scalability of key-value stores on SSDsZiyi Lu, Qiang Cao, Hong Jiang, Shucheng Wang et al.EuroSys 2022 · 9 citations
Related papers
- Zebra: Efficient Redundant Array of Zoned Namespace SSDs Enabled by Zone Random Write Area (ZRWA)Tianyang Jiang, Guangyan Zhang, Xiaojian Liao, Yuqi ZhouHPCA 2025 · 6 citations
- ZNSwap: un-Block your SwapShai Bergman, Niklas Cassel, Matias Bjørling, Mark SilbersteinUSENIX ATC 2022 · 32 citations
- eZNS: An Elastic Zoned Namespace for Commodity ZNS SSDsJaehong Min, Chenxingyu Zhao, Ming Liu, Arvind KrishnamurthyOSDI 2023 · 56 citations
- RAIZN: Redundant Array of Independent Zoned NamespacesThomas Kim, Jekyeom Jeon, Nikhil Arora, Huaicheng Li et al.ASPLOS 2023 · 38 citations
- ZNS+: Advanced Zoned Namespace Interface for Supporting In-Storage Zone CompactionKyuhwa Han, Hyunho Gwak, Dongkun Shin, Jooyoung HwangOSDI 2021 · 107 citations
