CJFS: Concurrent Journaling for Better Scalability
Joontaek Oh, Seung Won Yoo, Hojin Nam, Changwoo Min, Youjip Won
摘要
In this paper, we propose CJFS, Concurrent Journaling Filesystem. CJFS extends EXT4 and addresses the fundamental limitations of the EXT4 journaling design, which are the main cause of the poor scalability of EXT4. The heavy-weight EXT4 journal suffers from two limitations. First, the journal commit is a strictly serial activity. Second, the journal commit uses the original page cache entry, not the copy of it, and subsequently any access to the in-flight page cache entry is blocked. To address these limitations, we propose four techniques, namely Dual Thread Journaling, Multi-version Shadow Paging, Opportunistic Coalescing, and Compound Flush. With Dual Thread design, CJFS can commit a transaction before the preceding journal commit finishes. With Multi-version Shadow Paging, CJFS can be free from the transaction conflict even though there can exist multiple committing transactions. With Opportunistic Coalescing, CJFS can mitigate the transaction lock-up overhead in journal commit so that it can increase the coalescing degree -i.e., the number of system calls associated with a single transaction -of a running transaction. With Compound Flush, CJFS minimizes the number of flush calls. CJFS improves the throughput by 81%, 68% and 125% in filebench varmail, dbench, and OLTP-Insert on MySQL, respectively, against EXT4 by removing the transaction conflict and lock-up overhead.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Rethinking the Request-to-IO Transformation Process of File Systems for Full Utilization of High-Bandwidth SSDs 引用了 FastCommit: resource-efficient, performant and cost-effective file system journaling
- Rethinking the Request-to-IO Transformation Process of File Systems for Full Utilization of High-Bandwidth SSDs 引用了 Max: A Multicore-Accelerated File System for Flash Storage
- ScaleXFS: Getting scalability of XFS back on the ring 引用了 Max: A Multicore-Accelerated File System for Flash Storage
- Decentralized, Epoch-based F2FS Journaling with Fine-grained Crash Recovery 引用了 FastCommit: resource-efficient, performant and cost-effective file system journaling
- DJFS : Directory-Granularity Filesystem Journaling for CMM-H SSDs 引用了 FastCommit: resource-efficient, performant and cost-effective file system journaling
- DJFS : Directory-Granularity Filesystem Journaling for CMM-H SSDs 引用了 ScaleXFS: Getting scalability of XFS back on the ring
- DJFS : Directory-Granularity Filesystem Journaling for CMM-H SSDs 引用了 Write Dependency Disentanglement with HORAE
- DJFS : Directory-Granularity Filesystem Journaling for CMM-H SSDs 引用了 BabelFish: Fusing Address Translations for Containers
- ScaleLFS: A Log-Structured File System with Scalable Garbage Collection for Commodity SSDs 引用了 Max: A Multicore-Accelerated File System for Flash Storage
- Max: A Multicore-Accelerated File System for Flash Storage 引用了 Write Dependency Disentanglement with HORAE
引用它的顶会 Paper7
- DJFS : Directory-Granularity Filesystem Journaling for CMM-H SSDsSeung Won Yoo, Joontaek Oh, Myeongin Cheon, Bonmoo Koo 等FAST 2025 · 8 次引用
- ScaleLFS: A Log-Structured File System with Scalable Garbage Collection for Commodity SSDsJinyong Ha, Sangjin Lee, Hyeonsang Eom, Yongseok SonFAST 2025 · 7 次引用
- FastCommit: resource-efficient, performant and cost-effective file system journalingHarshad Shirwadkar, Saurabh Kadekodi, Theodore Y. Ts'oUSENIX ATC 2024 · 6 次引用
- 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 次引用
- Decentralized, Epoch-based F2FS Journaling with Fine-grained Crash RecoveryYaotian Cui, Zhiqi Wang, Renhai Chen, Zili ShaoOSDI 2025
它引用的 Paper7
- HeMem: Scalable Tiered Memory Management for Big Data Applications and Real NVMAmanda Raybuck, Tim Stamler, Wei Zhang, Mattan Erez 等SOSP 2021 · 93 次引用
- Max: A Multicore-Accelerated File System for Flash StorageXiaojian Liao, Youyou Lu, Erci Xu, Jiwu ShuUSENIX ATC 2021 · 38 次引用
- Write Dependency Disentanglement with HORAEXiaojian Liao, Youyou Lu, Erci Xu, Jiwu ShuOSDI 2020 · 31 次引用
- BabelFish: Fusing Address Translations for ContainersDimitrios Skarlatos, Umur Darbaz, Bhargava Gopireddy, Nam Sung Kim 等ISCA 2020 · 18 次引用
- ScaleXFS: Getting scalability of XFS back on the ringDohyun Kim, Kwangwon Min, Joontaek Oh, Youjip WonFAST 2022 · 14 次引用
相关 Paper
- Z-Journal: Scalable Per-Core JournalingJongseok Kim, Cassiano Campes, Joo Young Hwang, Jinkyu Jeong 等USENIX ATC 2021 · 22 次引用
- NobLSM: an LSM-tree with non-blocking writes for SSDsHaoran Dang, Chongnan Ye, Yanpeng Hu, Chundong WangDAC 2022 · 5 次引用
- CrossFS: A Cross-layered Direct-Access File SystemYujie Ren, Changwoo Min, Sudarsun KannanOSDI 2020 · 35 次引用
- exF2FS: Transaction Support in Log-Structured FilesystemJoontaek Oh, Sion Ji, Yongjin Kim, Youjip WonFAST 2022 · 14 次引用
- ScaleCache: A Scalable Page Cache for Multiple Solid-State DrivesKiet Tuan Pham, Seokjoo Cho, Sangjin Lee, Lan Anh Nguyen 等EuroSys 2024 · 10 次引用
