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 条
  • [21] A Case for NUMA-Aware Contention Management on Multicore Systems
    Blagodurov, Sergey
    Zhuravlev, Sergey
    Fedorova, Alexandra
    Kamali, Ali
    PACT 2010: PROCEEDINGS OF THE NINETEENTH INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES, 2010, : 557 - 558
  • [22] SUPPORTING NUMA-AWARE I/O IN VIRTUAL MACHINES
    Banerjee, Amitabha
    Mehta, Rishi
    Shen, Zach
    IEEE MICRO, 2016, 36 (04) : 28 - 36
  • [23] NUMA-aware I/O System Call Steering
    Lee, Chan-Gyu
    Jin, Hyun-Wook
    2021 IEEE INTERNATIONAL CONFERENCE ON CLUSTER COMPUTING (CLUSTER 2021), 2021, : 805 - 806
  • [24] NEMO: NUMA-aware Concurrency Control for Scalable Transactional Memory
    Mohamedin, Mohamed
    Peluso, Sebastiano
    Kishi, Masoomeh Javidi
    Hassan, Ahmed
    Palmieri, Roberto
    PROCEEDINGS OF THE 47TH INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING, 2018,
  • [25] A NUMA-aware Trajectory Store for Travel-Time Estimation
    Waury, Robert
    Jensen, Christian
    Torp, Kristian
    27TH ACM SIGSPATIAL INTERNATIONAL CONFERENCE ON ADVANCES IN GEOGRAPHIC INFORMATION SYSTEMS (ACM SIGSPATIAL GIS 2019), 2019, : 209 - 218
  • [26] NUMA-aware image compositing on multi-GPU platform
    Wang, Pan
    Cheng, Zhiquan
    Martin, Ralph
    Liu, Huahai
    Cai, Xun
    Li, Sikun
    VISUAL COMPUTER, 2013, 29 (6-8): : 639 - 649
  • [27] HydraFS: an efficient NUMA-aware in-memory file system
    Wu, Ting
    Chen, Xianzhang
    Liu, Kai
    Xiao, Chunhua
    Liu, Zhixiang
    Zhuge, Qingfeng
    Sha, Edwin H. -M.
    CLUSTER COMPUTING-THE JOURNAL OF NETWORKS SOFTWARE TOOLS AND APPLICATIONS, 2020, 23 (02): : 705 - 724
  • [28] NUMA-Aware Graph Mining Techniques for Performance and Energy Efficiency
    Frasca, Michael
    Madduri, Kamesh
    Raghavan, Padma
    2012 INTERNATIONAL CONFERENCE FOR HIGH PERFORMANCE COMPUTING, NETWORKING, STORAGE AND ANALYSIS (SC), 2012,
  • [29] Evaluation of NUMA-Aware Scheduling in Warehouse-Scale Clusters
    Wu, Richard
    Zhang, Xiao
    Kong, Xiangling
    Chen, Yangyi
    Jnagal, Rohit
    Hagmann, Robert
    2019 IEEE 12TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING (IEEE CLOUD 2019), 2019, : 475 - 477
  • [30] NUMA-aware CPU core allocation in cooperating dynamic applications
    Dokulil, Jiri
    Benkner, Siegfried
    2020 IEEE 34TH INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS (IPDPSW 2020), 2020, : 950 - 957