Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Baran, Amanda, Nelson-Slivon, Jacob, Tseng, Lewis, Palmieri, Roberto
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2404.17980
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866909183766429696
author Baran, Amanda
Nelson-Slivon, Jacob
Tseng, Lewis
Palmieri, Roberto
author_facet Baran, Amanda
Nelson-Slivon, Jacob
Tseng, Lewis
Palmieri, Roberto
contents 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 classic Peterson's algorithm to create a hierarchical design that includes embedded MCS locks for two cohorts, remote and local. To evaluate the ALock we implement a distributed lock table, measuring throughput and latency in various cluster configurations and workloads. In workloads with a majority of local operations, the ALock outperforms competitors up to 29x and achieves a latency up to 20x faster.
format Preprint
id arxiv_https___arxiv_org_abs_2404_17980
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle ALock: Asymmetric Lock Primitive for RDMA Systems
Baran, Amanda
Nelson-Slivon, Jacob
Tseng, Lewis
Palmieri, Roberto
Distributed, Parallel, and Cluster Computing
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 classic Peterson's algorithm to create a hierarchical design that includes embedded MCS locks for two cohorts, remote and local. To evaluate the ALock we implement a distributed lock table, measuring throughput and latency in various cluster configurations and workloads. In workloads with a majority of local operations, the ALock outperforms competitors up to 29x and achieves a latency up to 20x faster.
title ALock: Asymmetric Lock Primitive for RDMA Systems
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2404.17980