Lockify: Understanding Linux Distributed Lock Management Overheads in Shared Storage
Taeyoung Park, Yunjae Jo, Daegyu Han, Beomseok Nam, Jaehyun Hwang
摘要
This paper presents Lockify, a novel distributed lock manager (DLM) for shared-disk file systems. Our key observation in shared-storage scenarios is that, for file or directory creation, lock acquisition overhead in the Linux kernel DLM increases with the number of clients, even in low-contention scenarios. Lockify minimizes this lock acquisition latency by avoiding unnecessary communication with remote directory nodes through self-owner notifications and asynchronous ownership management. We implement Lockify in the Linux kernel and evaluate its performance on real-world workloads using two representative shared-disk file systems, GFS2 and OCFS2. Our experimental results demonstrate that Lockify improves overall throughput by ∼6.4× compared to the kernel DLM and O2CB, consistently across different numbers of clients.
We confirm that these performance issues occur across different DLM designs (e.g., Linux kernel DLM [1] and O2CB [7]), as DLMs manage lock-owner nodes in a distributed manner.
This paper presents Lockify, a novel distributed lock manager for shared-disk file systems. While looking up the owner node is a fundamental process in DLMs, our key insight is that when creating new files or directories, the node initiating the creation can designate itself as the owner, rather than querying other nodes. Based on this insight, Lockify introduces two novel mechanisms: selfowner notification and asynchronous ownership management. Self-owner notification allows a node that creates files or directories to immediately declare their ownership.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
它引用的顶会 Paper6
- Building An Elastic Query Engine on Disaggregated StorageMidhul Vuppalapati, Justin Miron, Rachit Agarwal, Dan Truong 等NSDI 2020 · 被引用 142 次
- LineFS: Efficient SmartNIC Offload of a Distributed File System with Pipeline ParallelismJongyul Kim, Insu Jang, Waleed Reda, Jaeseong Im 等SOSP 2021 · 被引用 83 次
- Assise: Performance and Availability via Client-local NVM in a Distributed File SystemThomas E. Anderson, Marco Canini, Jongyul Kim, Dejan Kostic 等OSDI 2020 · 被引用 71 次
- TCP ≈ RDMA: CPU-efficient Remote Storage Access with i10Jaehyun Hwang, Qizhe Cai, Ao Tang, Rachit AgarwalNSDI 2020 · 被引用 70 次
- Citron: Distributed Range Lock Management with One-sided RDMAJian Gao, Youyou Lu, Minhui Xie, Qing Wang 等FAST 2023 · 被引用 13 次
相关 Paper
- SeqDLM: A Sequencer-Based Distributed Lock Manager for Efficient Shared File Access in a Parallel File SystemQi Chen, Shaonan Ma, Kang Chen, Teng Ma 等SC 2022 · 被引用 2 次
- DeLFS: A Decentralized Log-Structured File System for ManycoresTaehwan Ahn, Chanhyeong Yu, Sangjin Lee, Yongseok SonOSDI 2026
- SwitchFS: Asynchronous Metadata Updates for Distributed Filesystems with In-Network CoordinationJingwei Xu, Mingkai Dong, Qiulin Tian, Ziyi Tian 等EuroSys 2026 · 被引用 1 次
- DeltaFS: a scalable no-ground-truth filesystem for massively-parallel computingQing Zheng, Charles D. Cranor, Gregory R. Ganger, Garth A. Gibson 等SC 2021 · 被引用 5 次
- ShiftLock: Mitigate One-sided RDMA Lock Contention via HandoverJian Gao, Qing Wang, Jiwu ShuFAST 2025 · 被引用 10 次
