Scalable Adaptive NUMA-Aware Lock

被引:10
|
作者
Zhang, Mingzhe [1 ]
Chen, Haibo [2 ]
Cheng, Luwei [3 ]
Lau, Francis C. M. [1 ]
Wang, Cho-Li [1 ]
机构
[1] Univ Hong Kong, Dept Comp Sci, Hong Kong, Hong Kong, Peoples R China
[2] Shanghai Jiao Tong Univ, Inst Parallel & Distributed Syst, Minhang 200240, Qu, Peoples R China
[3] Facebook, Menlo Pk, CA 94025 USA
关键词
Delegation lock; adaptive synchronization;
D O I
10.1109/TPDS.2016.2630695
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Scalable locking is a key building block for scalable multi-threaded software. Its performance is especially critical in multi-socket, multi-core machines with non-uniform memory access (NUMA). Previous schemes such as in-place locks and delegation locks only perform well under a certain level of contention, and often require non-trivial tuning for a particular configuration. Besides, in large NUMA systems, current delegation locks cannot perform satisfactorily due to lack of optimized NUMA policies. In this work, we propose SANL, a locking scheme that can deliver high performance under various contention levels by adaptively switching between in-place locks and delegation locks. To optimize the performance of delegation locks, we introduce a new NUMA policy that jointly considers node distances and server utilization when choosing lock servers. We have implemented SANL and evaluated it with four popular multi-threaded applications (Memcached, Berkeley DB, Phoenix2 and SPLASH-2), on a 40-core Intel machine and a 64-core AMD machine. The comparison results with seven other representative locking schemes show that SANL outperforms them in most contention situations. For example, in one group test, SANL is 3.7 times faster than RCL lock and 17 times faster than POSIX mutex.
引用
收藏
页码:1754 / 1769
页数:16
相关论文
共 50 条
  • [21] NUMA-Caffe: NUMA-Aware Deep Learning Neural Networks
    Roy, Probir
    Song, Shuaiwen Leon
    Krishnamoorthy, Sriram
    Vishnu, Abhinav
    Sengupta, Dipanjan
    Liu, Xu
    [J]. ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2018, 15 (02)
  • [22] Scalable NUMA-aware persistent B+-tree for non-volatile memory devices
    Safdar Jamil
    Abdul Salam
    Awais Khan
    Bernd Burgstaller
    Sung-Soon Park
    Youngjae Kim
    [J]. Cluster Computing, 2023, 26 : 2865 - 2881
  • [23] Scalable NUMA-aware persistent B+-tree for non-volatile memory devices
    Jamil, Safdar
    Salam, Abdul
    Khan, Awais
    Burgstaller, Bernd
    Park, Sung-Soon
    Kim, Youngjae
    [J]. CLUSTER COMPUTING-THE JOURNAL OF NETWORKS SOFTWARE TOOLS AND APPLICATIONS, 2023, 26 (05): : 2865 - 2881
  • [24] POSTER: NUMA-aware Power Management for Chip Multiprocessors
    Ahn, Changmin
    Guzman, Camilo. A. Celis
    Egger, Bernhard
    [J]. 2017 26TH INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES (PACT), 2017, : 160 - 161
  • [25] NUMA-aware Design and Mapping for Pipeline Network Functions
    Wang, Yongyu
    [J]. 2017 4TH INTERNATIONAL CONFERENCE ON SYSTEMS AND INFORMATICS (ICSAI), 2017, : 1049 - 1054
  • [26] NUMA-Aware Non-Blocking Calendar Queue
    Rab, Maryan
    Marotta, Romolo
    Ianni, Mauro
    Pellegrini, Alessandro
    Quaglia, Francesco
    [J]. PROCEEDINGS OF THE 2020 IEEE/ACM 24TH INTERNATIONAL SYMPOSIUM ON DISTRIBUTED SIMULATION AND REAL TIME APPLICATIONS (DS-RT), 2020, : 59 - 67
  • [27] Correction: Scalable NUMA-aware persistent B+-tree for non-volatile memory devices
    Safdar Jamil
    Abdul Salam
    Awais Khan
    Bernd Burgstaller
    Sung-Soon Park
    Youngjae Kim
    [J]. Cluster Computing, 2024, 27 : 2309 - 2309
  • [28] SUPPORTING NUMA-AWARE I/O IN VIRTUAL MACHINES
    Banerjee, Amitabha
    Mehta, Rishi
    Shen, Zach
    [J]. IEEE MICRO, 2016, 36 (04) : 28 - 36
  • [29] NUMA-aware I/O System Call Steering
    Lee, Chan-Gyu
    Jin, Hyun-Wook
    [J]. 2021 IEEE INTERNATIONAL CONFERENCE ON CLUSTER COMPUTING (CLUSTER 2021), 2021, : 805 - 806
  • [30] A Case for NUMA-Aware Contention Management on Multicore Systems
    Blagodurov, Sergey
    Zhuravlev, Sergey
    Fedorova, Alexandra
    Kamali, Ali
    [J]. PACT 2010: PROCEEDINGS OF THE NINETEENTH INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES, 2010, : 557 - 558