FARLock: Asymmetric RDMA Locking Made Fair
Yuehao Hu, Jiatang Zhou, Tianzheng Wang, Keval Vora
摘要
Distributed locking is essential for coordinating access to shared resources in modern RDMA-based distributed systems. While state-of-the-art RDMA locks can deliver highperformance by introducing asymmetry (i.e., treating requests that are local and remote to the lock differently), they often trade off fairness as they fail to grant locks in the expected first-come first-serve manner. This can lead to long delays for critical tasks, missing service level objectives.
We present FARLock, a fast and fair RDMA lock to solve this problem. Drawing inspiration from ticket and MCS locks, FARLock employs tickets and MCS-style handover to ensure that locks are granted strictly by arrival order. Through careful coordination between request queues and the ticket, FARLock provides strong fairness semantics with high performance. Our evaluation on a range of workloads shows that FARLock guarantees fairness and achieves lower latencies compared to prior state-of-the-art. Incorporating FARLock in a recent RDMA-based distributed indexing solution improves its query tail latencies.
Recent work [4] mitigates this issue by introducing asymmetric RDMA locking where lock requests targeting a lock that is local to the requesting thread are handled separately from those that target a lock stored on another server. This way, local requests can perform local CPU-based atomics without involving expensive RDMA operations, which are only required by remote requests. Given the large latency gap between local and RDMA memory accesses (∼100ns vs. µs-level), this can greatly improve overall lock operation performance. As we elaborate in Section 2.3, however, it sac-
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- Sherman: A Write-Optimized Distributed B+Tree Index on Disaggregated Memory 引用了 Fast RDMA-based Ordered Key-Value Store using Remote Learned Cache
- Sherman: A Write-Optimized Distributed B+Tree Index on Disaggregated Memory 引用了 One-sided RDMA-Conscious Extendible Hashing for Disaggregated Memory
- The Case for Distributed Shared-Memory Databases with RDMA-Enabled Memory Disaggregation 引用了 Sherman: A Write-Optimized Distributed B+Tree Index on Disaggregated Memory
- The Case for Distributed Shared-Memory Databases with RDMA-Enabled Memory Disaggregation 引用了 One-sided RDMA-Conscious Extendible Hashing for Disaggregated Memory
- ROLEX: A Scalable RDMA-oriented Learned Key-Value Store for Disaggregated Memory Systems 引用了 Sherman: A Write-Optimized Distributed B+Tree Index on Disaggregated Memory
- ROLEX: A Scalable RDMA-oriented Learned Key-Value Store for Disaggregated Memory Systems 引用了 Fast RDMA-based Ordered Key-Value Store using Remote Learned Cache
- ROLEX: A Scalable RDMA-oriented Learned Key-Value Store for Disaggregated Memory Systems 引用了 One-sided RDMA-Conscious Extendible Hashing for Disaggregated Memory
它引用的 Paper15
- One-sided RDMA-Conscious Extendible Hashing for Disaggregated MemoryPengfei Zuo, Jiazhao Sun, Liu Yang, Shuangwu Zhang 等USENIX ATC 2021 · 113 次引用
- Sherman: A Write-Optimized Distributed B+Tree Index on Disaggregated MemoryQing Wang, Youyou Lu, Jiwu ShuSIGMOD 2022 · 99 次引用
- Fast RDMA-based Ordered Key-Value Store using Remote Learned CacheXingda Wei, Rong Chen, Haibo ChenOSDI 2020 · 93 次引用
- ROLEX: A Scalable RDMA-oriented Learned Key-Value Store for Disaggregated Memory SystemsPengfei Li, Yu Hua, Pengfei Zuo, Zhangyu Chen 等FAST 2023 · 90 次引用
- The Case for Distributed Shared-Memory Databases with RDMA-Enabled Memory DisaggregationRuihong Wang, Jianguo Wang, Stratos Idreos, M. Tamer Özsu 等VLDB 2023 · 49 次引用
相关 Paper
- ShiftLock: Mitigate One-sided RDMA Lock Contention via HandoverJian Gao, Qing Wang, Jiwu ShuFAST 2025 · 10 次引用
- Scalable RDMA-accelerated Distributed Locks with Shared Stream AbstractionMiao Cai, Junru Shen, Xiaojian Liao, Rong Gu 等EuroSys 2026
- Citron: Distributed Range Lock Management with One-sided RDMAJian Gao, Youyou Lu, Minhui Xie, Qing Wang 等FAST 2023 · 13 次引用
- NetLock: Fast, Centralized Lock Management Using Programmable SwitchesZhuolong Yu, Yiwen Zhang, Vladimir Braverman, Mosharaf Chowdhury 等SIGCOMM 2020 · 60 次引用
- Efficient, Scalable, and Fair Locking on Disaggregated Memory with Decentralized CoordinationHanze Zhang, Ke Cheng, Rong Chen, Xingda Wei 等VLDB 2026
