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 条
  • [31] Optimal Design of NUMA-aware Persistent Memory Storage Engine
    Tu Y.-F.
    Chen H.-D.
    Wang H.-Y.
    Yan Z.-S.
    Kong L.
    Chen B.
    Ruan Jian Xue Bao/Journal of Software, 2022, 33 (03): : 891 - 908
  • [32] Reducing Cache Coherence Traffic with a NUMA-Aware Runtime Approach
    Caheny, Paul
    Alvarez, Lluc
    Derradji, Said
    Valero, Mateo
    Moreto, Miquel
    Casas, Marc
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2018, 29 (05) : 1174 - 1187
  • [33] On Designing NUMA-Aware Concurrency Control for Scalable Transactional Memory
    Mohamedin, Mohamed
    Palmieri, Roberto
    Peluso, Sebastiano
    Ravindran, Binoy
    ACM SIGPLAN NOTICES, 2016, 51 (08) : 393 - 394
  • [34] NUMA-aware image compositing on multi-GPU platform
    Pan Wang
    Zhiquan Cheng
    Ralph Martin
    Huahai Liu
    Xun Cai
    Sikun Li
    The Visual Computer, 2013, 29 : 639 - 649
  • [35] HydraFS: an efficient NUMA-aware in-memory file system
    Ting Wu
    Xianzhang Chen
    Kai Liu
    Chunhua Xiao
    Zhixiang Liu
    Qingfeng Zhuge
    Edwin H.-M. Sha
    Cluster Computing, 2020, 23 : 705 - 724
  • [36] NUMA-aware Scalable Graph Traversal on SGI UV Systems
    Yasui, Yuichiro
    Fujisawa, Katsuki
    Goh, Eng Lim
    Baron, John
    Sugiura, Atsushi
    Uchiyama, Takashi
    PROCEEDINGS OF THE ACM WORKSHOP ON HIGH PERFORMANCE GRAPH PROCESSING (HPGP'16), 2016, : 19 - 26
  • [37] Heterogeneous- and NUMA-aware Scheduling for Many-core Architectures
    Petrides, Panayiotis
    Trancoso, Pedro
    SYSTOR'17: PROCEEDINGS OF THE 10TH ACM INTERNATIONAL SYSTEMS AND STORAGE CONFERENCE, 2017,
  • [38] A NUMA-aware Key-Value Store for Hybrid Memory Architecture
    Li, Yuguo
    Tan, Shaoheng
    Wang, Zhiwen
    Li, Dingding
    IEEE INFOCOM 2022 - IEEE CONFERENCE ON COMPUTER COMMUNICATIONS WORKSHOPS (INFOCOM WKSHPS), 2022,
  • [39] HiNUMA: NUMA-aware Data Placement and Migration in Hybrid Memory Systems
    Duan, Zhuohui
    Liu, Haikun
    Liao, Xiaofei
    Jin, Hai
    Jiang, Wenbin
    Zhang, Yu
    2019 IEEE 37TH INTERNATIONAL CONFERENCE ON COMPUTER DESIGN (ICCD 2019), 2019, : 367 - 375
  • [40] Design, Implementation, and Evaluation of a NUMA-Aware Cache for iSCSI Storage Servers
    Ren, Yufei
    Li, Tan
    Yu, Dantong
    Jin, Shudong
    Robertazzi, Thomas
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2015, 26 (02) : 413 - 422