A NUMA-Aware Recoverable Mutex Lock

被引:0
|
作者
Fahmy, Ahmed [1 ]
Golab, Wojciech [1 ]
机构
[1] Univ Waterloo, Waterloo, ON N2L 3G1, Canada
基金
加拿大自然科学与工程研究理事会;
关键词
Mutual Exclusion; Fault-tolerance; Persistent Memory; Concurrency; Distributed Computing;
D O I
10.1145/3490148.3538594
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The mutual exclusion (ME) problem has been of interest to the scientific community since it was first defined by Dijkstra. Various algorithms have been developed to solve the problem, like the MCS and CLH queue-based locks. The problem was generalized into the recoverable mutual exclusion (RME) problem by Golab and Ramaraju to accommodate the possibility of process crash failures. Since then, multiple RME algorithms have been presented in the literature that vary in design and performance. Furthermore, non-uniform memory access (NUMA) architecture has become mainstream in designing modern distributed systems, stimulating the development of NUMA-aware mutex locks. None of the existing NUMA-aware mutex locks are recoverable to the best of our knowledge. In addition, none of the transformation techniques in the literature, such as flat-combining and cohort-locking, is a black-box transformation. Precisely, each of the existing transformation techniques requires specific characteristics of, and possible modifications to, the underlying NUMA-oblivious lock. In this work, we propose the Recoverable Filter (RF) lock, a black-box transformation approach that exploits memory locality to transform a NUMA-oblivious recoverable mutex lock into a NUMA-aware one. Practical experiments are conducted using two existing RME algorithms, Golab and Hendler's (GH) and Jayanti, Jayanti, and Joshi's (JJJ). The two RME locks are transformed into NUMA-aware locks using the proposed RF and the existing cohort algorithms. Results show that, in multi-socket configurations, our transformation boosts the performance of the NUMA-oblivious RME locks by up to 45%. The RME locks transformed using the proposed RF lock are slower than their non-recoverable cohort variants by up to 9%. Outcomes demonstrate that the overhead of our algorithm is minimal when using a single socket. Moreover, a deeper empirical assessment shows that the gap in performance between GH and JJJ is due to the entry section of JJJ, not its exit section.
引用
收藏
页码:295 / 305
页数:11
相关论文
共 50 条
  • [1] A NUMA-Aware Recoverable Mutex Lock
    Fahmy, Ahmed
    Golab, Wojciech
    Annual ACM Symposium on Parallelism in Algorithms and Architectures, 2022, : 295 - 305
  • [2] Scalable Adaptive NUMA-Aware Lock
    Zhang, Mingzhe
    Chen, Haibo
    Cheng, Luwei
    Lau, Francis C. M.
    Wang, Cho-Li
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2017, 28 (06) : 1754 - 1769
  • [3] Scalable Compact NUMA-aware Lock
    Gandham, Brahmaiah
    Alapati, Praveen
    2024 23RD INTERNATIONAL SYMPOSIUM ON PARALLEL AND DISTRIBUTED COMPUTING, ISPDC 2024, 2024,
  • [4] Compact NUMA-aware Locks
    Dice, Dave
    Kogan, Alex
    PROCEEDINGS OF THE FOURTEENTH EUROSYS CONFERENCE 2019 (EUROSYS '19), 2019,
  • [5] NUMA-Aware Task Performance Analysis
    Schmidl, Dirk
    Mueller, Matthias S.
    OpenMP: Memory, Devices, and Tasks, 2016, 9903 : 77 - 88
  • [6] Beyond the Socket: NUMA-Aware GPUs
    Milic, Ugljesa
    Villa, Oreste
    Bolotin, Evgeny
    Arunkumar, Akhil
    Ebrahimi, Eiman
    Jaleel, Aamer
    Ramirez, Alex
    Nellans, David
    50TH ANNUAL IEEE/ACM INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE (MICRO), 2017, : 123 - 135
  • [7] NUMA-Aware Multicore Matrix Multiplication
    Alkowaileet, Wail Y.
    Carrillo-Cisneros, David
    Lim, Robert V.
    Scherson, Isaac D.
    PARALLEL PROCESSING LETTERS, 2014, 24 (04)
  • [8] Massively Parallel NUMA-Aware Hash Joins
    Lang, Harald
    Leis, Viktor
    Albutiu, Martina-Cezara
    Neumann, Thomas
    Kemper, Alfons
    IN MEMORY DATA MANAGEMENT AND ANALYSIS, 2015, 8921 : 3 - 14
  • [9] NUMA-aware Deployments for LeanXcale Database Appliance
    Jimenez-Peris, Ricardo
    Ballesteros, Francisco
    Kranas, Pavlos
    Burgos, Diego
    Martinez, Patricio
    CLOSER: PROCEEDINGS OF THE 9TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING AND SERVICES SCIENCE, 2019, : 666 - 671
  • [10] Brief Announcement: NUMA-aware Transactional Memory
    Lu, Kai
    Wang, Ruibo
    Lu, Xicheng
    PODC 2010: PROCEEDINGS OF THE 2010 ACM SYMPOSIUM ON PRINCIPLES OF DISTRIBUTED COMPUTING, 2010, : 69 - 70