USENIX ATC2024顶会
FastCommit: resource-efficient, performant and cost-effective file system journaling
Harshad Shirwadkar, Saurabh Kadekodi, Theodore Y. Ts'o
摘要
JBD2, the current physical journaling mechanism in Ext4 is bulky and resource-hungry. Specifically, in case of metadataheavy workloads, fsyncs issued by applications cause JBD2 to write copies of changed metadata blocks, incurring high byte and IO overhead. When storing data in Ext4 via NFS (a popular setup), the NFS protocol issues fsyncs for every file metadata update which further exacerbates the problem. In a simple multi-threaded mail-server workload, JBD2 consumed approximately 76% of the disk's write bandwidth. Higher byte and IO utilization of JBD2 results in reduced application throughput, higher wear-out of flash based media and increased performance provisioning costs in cloud-based storage services.
We present FASTCOMMIT: a hybrid journaling approach for Ext4 which performs logical journaling for simple and frequent file system modifications, while relying on JBD2 for more complex and rare modifications. Key design elements of FASTCOMMIT are compact logging, selective flushing and inline journaling. The first two techniques work together to ensure that over 80% commits are contained within a single 4KB block and are written to disk without requiring an expensive cache flush operation. Inline journaling minimizes context switching delays. With faster and efficient fsyncs, FASTCOMMIT reduces throughput interference of JBD2 by over 2× along with throughput improvements of up to 120%. We implemented FASTCOMMIT in Ext4 and successfully merged our code to the upstream Linux kernel.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Fast and Synchronous Crash Consistency with Metadata Write-Once File System 引用了 WineFS: a hugepage-aware file system for persistent memory that ages gracefully
- Rethinking the Request-to-IO Transformation Process of File Systems for Full Utilization of High-Bandwidth SSDs 引用了 WineFS: a hugepage-aware file system for persistent memory that ages gracefully
- Rethinking the Request-to-IO Transformation Process of File Systems for Full Utilization of High-Bandwidth SSDs 引用了 CJFS: Concurrent Journaling for Better Scalability
- DJFS : Directory-Granularity Filesystem Journaling for CMM-H SSDs 引用了 CJFS: Concurrent Journaling for Better Scalability
引用它的顶会 Paper9
- Sharpen the Spec, Cut the Code: A Case for Generative File System with SYSSPECQingyuan Liu, Mo Zou, Hengbin Zhang, Dong Du 等FAST 2026 · 9 次引用
- DJFS : Directory-Granularity Filesystem Journaling for CMM-H SSDsSeung Won Yoo, Joontaek Oh, Myeongin Cheon, Bonmoo Koo 等FAST 2025 · 8 次引用
- Rethinking the Request-to-IO Transformation Process of File Systems for Full Utilization of High-Bandwidth SSDsYekang Zhan, Haichuan Hu, Xiangrui Yang, Qiang Cao 等FAST 2025 · 4 次引用
- Oxbow: A Coordinated Architecture for Multi-Component File SystemsJongyul Kim, Jaehwan Lee, Inhoe Koo, Peizhe Liu 等OSDI 2026
- Fast and Synchronous Crash Consistency with Metadata Write-Once File SystemYanqi Pan, Wen Xia, Yifeng Zhang, Xiangyu Zou 等OSDI 2025
它引用的 Paper2
相关 Paper
- Z-Journal: Scalable Per-Core JournalingJongseok Kim, Cassiano Campes, Joo Young Hwang, Jinkyu Jeong 等USENIX ATC 2021 · 22 次引用
- Decentralized, Epoch-based F2FS Journaling with Fine-grained Crash RecoveryYaotian Cui, Zhiqi Wang, Renhai Chen, Zili ShaoOSDI 2025
- NobLSM: an LSM-tree with non-blocking writes for SSDsHaoran Dang, Chongnan Ye, Yanpeng Hu, Chundong WangDAC 2022 · 5 次引用
- ScaleXFS: Getting scalability of XFS back on the ringDohyun Kim, Kwangwon Min, Joontaek Oh, Youjip WonFAST 2022 · 14 次引用
- Baryon: Efficient Hybrid Memory Management with Compression and Sub-BlockingYiwei Li, Mingyu GaoHPCA 2023 · 14 次引用
