Lune

FAST2025顶会

D2FS: Device-Driven Filesystem Garbage Collection

Juwon Kim, Seungjae Lee, Joontaek Oh, Dongkun Shin, Youjip Won

摘要

In this work, we propose a mechanism to free the logstructured filesystem from running the garbage collection. We exploit the garbage collection functionality of the underlying flash storage to reclaim the invalid sections in the filesystem partition. We call it a Log-structured Filesystem with Device-Driven Garbage Collection, D2FS. D2FS consists of three key ingredients: Coupled Garbage Collection, Migration Upcall, and Virtual Overprovisioning. Coupled Garbage Collection consolidates the valid flash pages at the storage device and remaps the migrated flash pages to new filesystem locations so that the valid pages are clustered not only physically but also logically. Migration Upcall asynchronously notifies the host about the file mappings updated by the Coupled Garbage Collection, minimizing interference with the foreground filesystem operations. Virtual Overprovisioning separates the size of the filesystem partition from the physical capacity of the associated storage partition and sets the size of the filesystem partition larger than the physical storage partition. Virtual overprovisioning ensures that FTL runs the device-level garbage collection on time so that the filesystem partition never runs out of free sections. By integrating these techniques, we save the log-structured filesystem from the garbage collection overhead, a primary obstacle hindering its widespread adoption in production environments. D2FS outperforms F2FS by 3× (FIO), zoned F2FS by 1.7× (FIO), and IPLFS by 1.5× (MySQL YCSB-F).

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Separating Data via Block Invalidation Time Inference for Write Amplification Reduction in Log-Structured Storage 引用了 ZNS: Avoiding the Block Interface Tax for Flash-based SSDs
  • SpanDB: A Fast, Cost-Effective LSM-tree Based KV Store on Hybrid Storage 引用了 FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent Memory
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper15

  1. ZNS: Avoiding the Block Interface Tax for Flash-based SSDsMatias Bjørling, Abutalib Aghayev, Hans Holmberg, Aravind Ramesh 等USENIX ATC 2021 · 221 次引用
  2. FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent MemoryYoumin Chen, Youyou Lu, Fan Yang, Qing Wang 等ASPLOS 2020 · 166 次引用
  3. SpanDB: A Fast, Cost-Effective LSM-tree Based KV Store on Hybrid StorageHao Chen, Chaoyi Ruan, Cheng Li, Xiaosong Ma 等FAST 2021 · 120 次引用
  4. ZNS+: Advanced Zoned Namespace Interface for Supporting In-Storage Zone CompactionKyuhwa Han, Hyunho Gwak, Dongkun Shin, Jooyoung HwangOSDI 2021 · 107 次引用
  5. Separating Data via Block Invalidation Time Inference for Write Amplification Reduction in Log-Structured StorageQiuping Wang, Jinhong Li, Patrick P. C. Lee, Tao Ouyang 等FAST 2022 · 56 次引用

相关 Paper

  1. IPLFS: Log-Structured File System without Garbage CollectionJuwon Kim, Minsu Kim, Muhammad Danish Tehseen, Joontaek Oh 等USENIX ATC 2022
  2. GAZE: Rearchitecting Log-Structured Filesystem for Garbage Collection on Zoned Namespace Flash StorageJuwon Kim, Hwanseok Yoo, Seung Won Yoo, Youjip WonSOSP 2026
  3. ScaleLFS: A Log-Structured File System with Scalable Garbage Collection for Commodity SSDsJinyong Ha, Sangjin Lee, Hyeonsang Eom, Yongseok SonFAST 2025 · 7 次引用
  4. RAIZN: Redundant Array of Independent Zoned NamespacesThomas Kim, Jekyeom Jeon, Nikhil Arora, Huaicheng Li 等ASPLOS 2023 · 38 次引用
  5. MIDAS: Minimizing Write Amplification in Log-Structured Systems through Adaptive Group Number and Size ConfigurationSeonggyun Oh, Jeeyun Kim, Soyoung Han, Jaeho Kim 等FAST 2024 · 16 次引用
黄昏的海面,两侧是细线勾勒的悬崖