ALock: Asymmetric Lock Primitive for RDMA Systems
Amanda Baran, Jacob Nelson-Slivon, Lewis Tseng, Roberto Palmieri

TL;DR
ALock is a new primitive for RDMA systems that enables efficient synchronization of local and remote memory accesses without performance-degrading mechanisms like loopback, significantly improving throughput and latency.
Contribution
The paper introduces ALock, a novel RDMA lock primitive inspired by Peterson's algorithm, allowing synchronization without loopback or RPCs, and demonstrates substantial performance gains.
Findings
Up to 29x higher throughput compared to competitors
Latency up to 20x faster in local operation workloads
Effective synchronization without loopback or RPCs
Abstract
Remote direct memory access (RDMA) networks are being rapidly adopted into industry for their high speed, low latency, and reduced CPU overheads compared to traditional kernel-based TCP/IP networks. RDMA enables threads to access remote memory without interacting with another process. However, atomicity between local accesses and remote accesses is not guaranteed by the technology, hence complicating synchronization significantly. The current solution is to require threads wanting to access local memory in an RDMA-accessible region to pass through the RDMA card using a mechanism known as loopback, but this can quickly degrade performance. In this paper, we introduce ALock, a novel locking primitive designed for RDMA-based systems. ALock allows programmers to synchronize local and remote accesses without using loopback or remote procedure calls (RPCs). We draw inspiration from the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
