Fast and Scalable In-network Lock Management Using Lock Fission
Hanze Zhang, Ke Cheng, Rong Chen, Haibo Chen
摘要
Distributed lock services are extensively utilized in distributed systems to serialize concurrent accesses to shared resources. The need for fast and scalable lock services has become more pronounced with decreasing task execution times and expanding dataset scales. However, traditional lock managers, reliant on server CPUs to handle lock requests, experience significant queuing delays in lock grant latency. Advanced network hardware (e.g. programmable switches) presents an avenue to manage locks without queuing delays due to their high packet processing power. Nevertheless, their constrained memory capacity restricts the manageable lock scale, thereby limiting their effect in large-scale workloads.
This paper presents FISSLOCK, a fast and scalable distributed lock service that exploits the programmable switch to improve (tail) latency and peak throughput for millions of locks. The key idea behind FISSLOCK is the concept of lock fission, which decouples lock management into grant decision and participant maintenance. FISSLOCK leverages the programmable switch to decide lock grants synchronously and relies on servers to maintain participants (i.e., holders and waiters) asynchronously. By using the programmable switch for routing, FISSLOCK enables on-demand finegrained lock migration, thereby reducing the lock grant and release delays. FISSLOCK carefully designs and implements grant decision procedure on the programmable switch, supporting over one million locks. Evaluation using various benchmarks and a real-world application shows the efficiency of FISSLOCK. Compared to the state-of-theart switch-based approach (NetLock), FISSLOCK cuts up to 79.1% (from 43.0%) of median lock grant time in the microbenchmark and improves transaction throughput for TATP and TPC-C by 1.76× and 2.28×, respectively.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- ShiftLock: Mitigate One-sided RDMA Lock Contention via Handover 引用了 One-sided RDMA-Conscious Extendible Hashing for Disaggregated Memory
- Efficient and Scalable Synchronization via Generalized Cache Coherence 引用了 Pegasus: Tolerating Skewed Workloads in Distributed Storage with In-Network Coherence Directories
- SwitchFS: Asynchronous Metadata Updates for Distributed Filesystems with In-Network Coordination 引用了 Pegasus: Tolerating Skewed Workloads in Distributed Storage with In-Network Coherence Directories
- SwitchFS: Asynchronous Metadata Updates for Distributed Filesystems with In-Network Coordination 引用了 Facebook's Tectonic Filesystem: Efficiency from Exascale
- SwitchFS: Asynchronous Metadata Updates for Distributed Filesystems with In-Network Coordination 引用了 ATP: In-network Aggregation for Multi-tenant Learning
- CIDER: Boosting Memory-Disaggregated Key-Value Stores with Pessimistic Synchronization 引用了 ShiftLock: Mitigate One-sided RDMA Lock Contention via Handover
- CIDER: Boosting Memory-Disaggregated Key-Value Stores with Pessimistic Synchronization 引用了 One-sided RDMA-Conscious Extendible Hashing for Disaggregated Memory
- FARLock: Asymmetric RDMA Locking Made Fair 引用了 ShiftLock: Mitigate One-sided RDMA Lock Contention via Handover
- FARLock: Asymmetric RDMA Locking Made Fair 引用了 Fast RDMA-based Ordered Key-Value Store using Remote Learned Cache
- FARLock: Asymmetric RDMA Locking Made Fair 引用了 One-sided RDMA-Conscious Extendible Hashing for Disaggregated Memory
引用它的顶会 Paper5
- ShiftLock: Mitigate One-sided RDMA Lock Contention via HandoverJian Gao, Qing Wang, Jiwu ShuFAST 2025 · 10 次引用
- SwitchFS: Asynchronous Metadata Updates for Distributed Filesystems with In-Network CoordinationJingwei Xu, Mingkai Dong, Qiulin Tian, Ziyi Tian 等EuroSys 2026 · 1 次引用
- Efficient and Scalable Synchronization via Generalized Cache CoherenceYanpeng Yu, Seung-seob Lee, Lin Zhong, Anurag KhandelwalOSDI 2026
- CIDER: Boosting Memory-Disaggregated Key-Value Stores with Pessimistic SynchronizationYuxuan Du, Xuchuan Luo, Xin Wang, Yangfan Zhou 等VLDB 2026
- FARLock: Asymmetric RDMA Locking Made FairYuehao Hu, Jiatang Zhou, Tianzheng Wang, Keval VoraOSDI 2026
它引用的 Paper16
- ATP: In-network Aggregation for Multi-tenant LearningChonLam Lao, Yanfang Le, Kshiteej Mahajan, Yixi Chen 等NSDI 2021 · 359 次引用
- One-sided RDMA-Conscious Extendible Hashing for Disaggregated MemoryPengfei Zuo, Jiazhao Sun, Liu Yang, Shuangwu Zhang 等USENIX ATC 2021 · 113 次引用
- Facebook's Tectonic Filesystem: Efficiency from ExascaleSatadru Pan, Theano Stavrinos, Yunqiao Zhang, Atul Sikaria 等FAST 2021 · 110 次引用
- Pegasus: Tolerating Skewed Workloads in Distributed Storage with In-Network Coherence DirectoriesJialin Li, Jacob Nelson, Ellis Michael, Xin Jin 等OSDI 2020 · 96 次引用
- Fast RDMA-based Ordered Key-Value Store using Remote Learned CacheXingda Wei, Rong Chen, Haibo ChenOSDI 2020 · 93 次引用
相关 Paper
- NetLock: Fast, Centralized Lock Management Using Programmable SwitchesZhuolong Yu, Yiwen Zhang, Vladimir Braverman, Mosharaf Chowdhury 等SIGCOMM 2020 · 60 次引用
- Citron: Distributed Range Lock Management with One-sided RDMAJian Gao, Youyou Lu, Minhui Xie, Qing Wang 等FAST 2023 · 13 次引用
- Scalable RDMA-accelerated Distributed Locks with Shared Stream AbstractionMiao Cai, Junru Shen, Xiaojian Liao, Rong Gu 等EuroSys 2026
- 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 次引用
- SwitchTx: Scalable In-Network Coordination for Distributed Transaction ProcessingJunru Li, Youyou Lu, Yiming Zhang, Qing Wang 等VLDB 2022 · 11 次引用
