DecLock: A Case of Decoupled Locking for Disaggregated Memory

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Zhang, Hanze, Cheng, Ke, Chen, Rong, Wei, Xingda, Chen, Haibo
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866908376331452416
author Zhang, Hanze
Cheng, Ke
Chen, Rong
Wei, Xingda
Chen, Haibo
author_facet Zhang, Hanze
Cheng, Ke
Chen, Rong
Wei, Xingda
Chen, Haibo
contents This paper reveals that locking can significantly degrade the performance of applications on disaggregated memory (DM), sometimes by several orders of magnitude, due to contention on the NICs of memory nodes (MN-NICs). To address this issue, we present DecLock, a locking mechanism for DM that employs decentralized coordination for ownership transfer across compute nodes (CNs) while retaining centralized state maintenance on memory nodes (MNs). DecLock features cooperative queue-notify locking that queues lock waiters on MNs atomically, enabling clients to transfer lock ownership via message-based notifications between CNs. This approach conserves MN-NIC resources for DM applications and ensures fairness. Evaluations show DecLock achieves throughput improvements of up to 43.37$\times$ and 1.81$\times$ over state-of-the-art RDMA-based spinlocks and MCS locks, respectively. Furthermore, DecLock helps two DM applications, including an object store and a real-world database index (Sherman), avoid performance degradation under high contention, improving throughput by up to 35.60$\times$ and 2.31$\times$ and reducing 99th-percentile latency by up to 98.8% and 82.1%.
format Preprint
id arxiv_https___arxiv_org_abs_2505_17641
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle DecLock: A Case of Decoupled Locking for Disaggregated Memory
Zhang, Hanze
Cheng, Ke
Chen, Rong
Wei, Xingda
Chen, Haibo
Distributed, Parallel, and Cluster Computing
This paper reveals that locking can significantly degrade the performance of applications on disaggregated memory (DM), sometimes by several orders of magnitude, due to contention on the NICs of memory nodes (MN-NICs). To address this issue, we present DecLock, a locking mechanism for DM that employs decentralized coordination for ownership transfer across compute nodes (CNs) while retaining centralized state maintenance on memory nodes (MNs). DecLock features cooperative queue-notify locking that queues lock waiters on MNs atomically, enabling clients to transfer lock ownership via message-based notifications between CNs. This approach conserves MN-NIC resources for DM applications and ensures fairness. Evaluations show DecLock achieves throughput improvements of up to 43.37$\times$ and 1.81$\times$ over state-of-the-art RDMA-based spinlocks and MCS locks, respectively. Furthermore, DecLock helps two DM applications, including an object store and a real-world database index (Sherman), avoid performance degradation under high contention, improving throughput by up to 35.60$\times$ and 2.31$\times$ and reducing 99th-percentile latency by up to 98.8% and 82.1%.
title DecLock: A Case of Decoupled Locking for Disaggregated Memory
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2505.17641