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 条
  • [41] NUMA-Aware Scalable and Efficient In-Memory Aggregation on Large Domains
    Wang, Li
    Zhou, Minqi
    Zhang, Zhenjie
    Shan, Ming-Chien
    Zhou, Aoying
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2015, 27 (04) : 1071 - 1084
  • [42] A NUMA-Aware Parallel Truss Decomposition Algorithm for Large Scale Graphs
    Mou, Zhebin
    Xiao, Nong
    Chen, Zhiguang
    ALGORITHMS AND ARCHITECTURES FOR PARALLEL PROCESSING, ICA3PP 2021, PT II, 2022, 13156 : 193 - 212
  • [43] NUMA-aware memory coloring for multicore real-time systems
    Pan, Xing
    Mueller, Frank
    JOURNAL OF SYSTEMS ARCHITECTURE, 2021, 118
  • [44] NapFS: A High-Performance NUMA-Aware PM File System
    Jia, Wenqing
    Jiang, Dejun
    Xiong, Jin
    2022 IEEE 40TH INTERNATIONAL CONFERENCE ON COMPUTER DESIGN (ICCD 2022), 2022, : 593 - 601
  • [45] A NUMA-Aware Version of an Adaptive Self-Scheduling Loop Scheduler
    Booth, Joshua dennis
    Lane, Phillip
    ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2024, 21 (04)
  • [46] A NUMA-aware NVM File System Design for Manycore Server Applications
    Kim, June-Hyung
    Kim, Youngjae
    Jamil, Safdar
    Park, Sungyong
    2020 IEEE 28TH INTERNATIONAL SYMPOSIUM ON MODELING, ANALYSIS, AND SIMULATION OF COMPUTER AND TELECOMMUNICATION SYSTEMS (MASCOTS 2020), 2020, : 41 - 45
  • [47] An Auto-Tuning Framework for a NUMA-Aware Hessenberg Reduction Algorithm
    Eljammaly, Mahmoud
    Karlsson, Lars
    Kagstrom, Bo
    COMPANION OF THE 2018 ACM/SPEC INTERNATIONAL CONFERENCE ON PERFORMANCE ENGINEERING (ICPE '18), 2018, : 5 - 8
  • [48] PufferFish: NUMA-Aware Work-stealing Library using Elastic Tasks
    Kumar, Vivek
    2020 IEEE 27TH INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING, DATA, AND ANALYTICS (HIPC 2020), 2020, : 251 - 260
  • [49] NUMA-aware memory manager with dominant-thread-based copying GC
    IBM Research - Tokyo, Yamato, Kanagawa 242-8502, Japan
    Proc Conf Object Orient Program Syst Lang Appl OOPSLA, 1600, (377-389):
  • [50] NUMA-Aware Memory Manager with Dominant-Thread-Based Copying GC
    Ogasawara, Takeshi
    ACM SIGPLAN NOTICES, 2009, 44 (10) : 377 - 389