2022 · 56 citations · 5 references
ComputingComputer EngineeringComputer ScienceData ManagementData StructuresStorage SystemsBlock StorageData Storage SystemsMemory Hierarchy OptimizationSolid-state Drive ArchitectureSolid-state StorageStorage ManagementAmplificationGarbage Collection OverheadKey-value StorageKey-value StoresLsm Tree StorageStorage OptimizationStorage Performance OptimizationWrite Amplification
Unlike traditional block-based SSDs, Zoned Namespace (ZNS) SSDs expose storage through the zoned block interface, completely eliminating the need for in-device garbage collection (GC) and relinquishing this responsibility to applications. As a result, application-aware data placement decisions give the opportunity for applications on the host to perform efficient GC. Meanwhile, RocksDB for ZNS SSD places data with similar invalidation times (lifetimes) in the same zone through ZenFS (a user-level file system) using the Lifetime-based Zone Allocation algorithm (LIZA), and minimizes the GC overhead of valid data copy when reclaiming a zone. However, LIZA, which allocates zones by predicting the lifetime of each SSTable according to the level of the hierarchical structure of the LSM-tree, is very inefficient in minimizing the write amplification (WA) problem due to inaccurate predictions of SSTable lifetimes. Instead, based on our observation that the deletion time of SSTables in the LSM-tree is solely determined by the compaction process, we propose a novel Compaction-Aware Zone Allocation algorithm (CAZA) that allows the newly created SSTables to be deleted together after merging in the future. CAZA is implemented in RocksDB's ZenFS and our extensive evaluations show that CAZA significantly reduces the WA overhead compared to LIZA.
5
The log-structured merge-tree (LSM-tree)
Patrick E. O׳Neil, E.T. Cheng, Dieter Gawlick et al. · Acta Informatica · 1996 · 1.3K citations
Write amplification analysis in flash-based solid state drives
Xiaoyu Hu, Evangelos Eleftheriou, Robert Haas et al. · 2009 · 309 citations
Shiqin Yan, Huaicheng Li, Mingzhe Hao et al. · ACM Transactions on Storage · 2017 · 159 citations · Full text
Theano Stavrinos, Daniel S. Berger, Ethan Katz-Bassett et al. · 2021 · 49 citations · Full text
Constant Time Garbage Collection in SSDs
Reza Salkhordeh, Kevin Kremer, Lars Nagel et al. · 2021 · 11 citations · Full text