Towards A Unified Garbage Collection Strategy in ZNS Key-Value Store File Systems Using Same-Victim GC
Zoned Namespace (ZNS) SSDs are gaining traction for eliminating in-device GC and enabling application-aware data management. BlobDB, an enhanced RocksDB with key-value separation, reduces compaction overhead but suffers from the GC over GC (GoG) problem, causing redundant data copying during BlobDB’s GC and Zone Cleaning (ZC). To address this, this paper proposes Same-Victim GC, aligning the victims and sizes of both GCs. Specifically, we introduce the BlobDB-Aware Zone Allocation (BAZA) algorithm to allocate blob files by creation order, eliminate victim file mismatch between two GCs, and $Z_{-} C u t o f f$ to minimize BlobDB’s GC size without additional overhead. Implemented in ZenFS v2.14 and RocksDB v7.4, our solution eliminates valid data copying, doubles compaction performance, and improves space utilization by $1.28 \times$.
Authors
- Joo-Young Hwang (ORCID: https://orcid.org/0000-0001-5678-8499)
- Jun Han (ORCID: https://orcid.org/0000-0002-9477-8782)
- Safdar Jamil (ORCID: https://orcid.org/0000-0002-9011-6431)
- Sungjin Byeon (ORCID: https://orcid.org/0009-0007-0326-0165)
- Joseph Ro (ORCID: https://orcid.org/0009-0008-9220-0427)
- Youngjae Kim (ORCID: https://orcid.org/0000-0001-8786-3850)
- Hamin Hwangbo
Institutions
- Sogang University (KR)
- Samsung (South Korea) (KR)
Publication Details
- Published
- 2024-10-21
- DOI
- https://doi.org/10.1109/mascots64422.2024.10786550
- Citations
- 1
- Primary Topic
- Caching and Content Delivery
- Type
- article
- Field-Weighted Citation Impact
- 0.35
Funders
- National Research Foundation of Korea
- Samsung