CFS: Scaling Metadata Service for Distributed File System via Pruned Scope of Critical Sections
Yiduo Wang, Yufei Wu, Cheng Li, Pengfei Zheng, Biao Cao, Yan Sun, Fei Zhou, Yinlong Xu, Yao Wang, Guangjun Xie
Abstract
There is a fundamental tension between metadata scalability and POSIX semantics within distributed file systems. The bottleneck lies in the coordination, mainly locking, used for ensuring strong metadata consistency, namely, atomicity and isolation. CFS is a scalable, fully POSIX-compliant distributed file system that eliminates the metadata management bottleneck via pruning the scope of critical sections for reduced locking overhead. First, CFS adopts a tiered metadata organization to scale file attributes and the remaining namespace hierarchies independently with appropriate partitioning and indexing methods, eliminating cross-shard distributed coordination. Second, it further scales up the single metadata shard performance by single-shard atomic primitives, shortening the metadata requests' lifespan and removing spurious conflicts. Third, CFS drops the metadata proxy layer but employs the light-weight, scalable client-side metadata resolving. CFS has been running in the production environment of Baidu AI Cloud for three years. Our evaluation with a 50-node cluster and microbenchmarks shows that CFS simultaneously improves the throughput of baselines like HopsFS and InfiniFS by 1.76--75.82× and 1.22--4.10×, and reduces their average latency by up to 91.71% and 54.54%, respectively. Under cases with higher contention and larger directories, CFS' throughput benefits expand by one order of magnitude. For three real-world workloads with data accesses, CFS introduces 1.62--2.55× end-to-end throughput speedups and 35.06--62.47% tail latency reductions over InfiniFS.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get d603f0c7-ce5a-4739-aebc-d9f3683fc3d9Cited by top-tier papers4
- SingularFS: A Billion-Scale Distributed File System Using a Single Metadata ServerHao Guo, Youyou Lu, Wenhao Lv, Xiaojian Liao et al.USENIX ATC 2023 · 17 citations
- FalconFS: Distributed File System for Large-Scale Deep Learning PipelineJingwei Xu, Junbin Kang, Mingkai Dong, Mingyu Liu et al.NSDI 2026 · 2 citations
- SwitchFS: Asynchronous Metadata Updates for Distributed Filesystems with In-Network CoordinationJingwei Xu, Mingkai Dong, Qiulin Tian, Ziyi Tian et al.EuroSys 2026 · 1 citation
- Accelerating Metadata Management of DFS via Speculative Permission CheckingYiduo Wang, Linghang Meng, Liang Li, Jie WuICDE 2026
Related papers
- InfiniFS: An Efficient Metadata Service for Large-Scale Distributed FilesystemsWenhao Lv, Youyou Lu, Yiming Zhang, Peile Duan et al.FAST 2022 · 52 citations
- DeltaFS: a scalable no-ground-truth filesystem for massively-parallel computingQing Zheng, Charles D. Cranor, Gregory R. Ganger, Garth A. Gibson et al.SC 2021 · 5 citations
- λFS: A Scalable and Elastic Distributed File System Metadata Service using Serverless FunctionsBenjamin Carver, Runzhou Han, Jingyuan Zhang, Mai Zheng et al.ASPLOS 2023 · 3 citations
- Scalable Persistent Memory File System with Kernel-Userspace CollaborationYoumin Chen, Youyou Lu, Bohong Zhu, Andrea C. Arpaci-Dusseau et al.FAST 2021 · 15 citations
- DeLFS: A Decentralized Log-Structured File System for ManycoresTaehwan Ahn, Chanhyeong Yu, Sangjin Lee, Yongseok SonOSDI 2026
