D2FS: Device-Driven Filesystem Garbage Collection

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

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

In this work, we propose a mechanism to free the log-structured 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).

Original languageEnglish
Title of host publicationProceedings of the 23rd USENIX Conference on File and Storage Technologies, FAST 2025
PublisherUSENIX Association
Pages337-353
Number of pages17
ISBN (Electronic)9781939133458
StatePublished - 2025
Event23rd USENIX Conference on File and Storage Technologies, FAST 2025 - Santa Clara, United States
Duration: 25 Feb 202527 Feb 2025

Publication series

NameProceedings of the 23rd USENIX Conference on File and Storage Technologies, FAST 2025

Conference

Conference23rd USENIX Conference on File and Storage Technologies, FAST 2025
Country/TerritoryUnited States
CitySanta Clara
Period25/02/2527/02/25

Fingerprint

Dive into the research topics of 'D2FS: Device-Driven Filesystem Garbage Collection'. Together they form a unique fingerprint.

Cite this