Scalable Adaptive NUMA-aware Lock Combining Local Locking and Remote Locking for Efficient Concurrency

被引:2
|
作者
Zhang, Mingzhe [1 ]
Lau, Francis C. M. [1 ]
Wang, Choi-Li [1 ]
Cheng, Luwei [2 ]
Chen, Haibo [3 ]
机构
[1] Univ Hong Kong, Dept Comp Sci, Hong Kong, Hong Kong, Peoples R China
[2] Facebook, Menlo Pk, CA USA
[3] Shanghai Jiao Tong Univ, Inst Parallel & Distributed Syst, Shanghai 200030, Peoples R China
关键词
D O I
10.1145/2851141.2851176...$15.00
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Scalable locking is a key building block for scalable multi-threaded software. Its performance is especially critical in multi-socket, multi-core machine swith non-uniform memory access (NUMA). Previous schemes such as local locking and remote locking only perform well under a certain level of contention, and often require non-trivial tuning for a particular configuration. Besides, for large NUMA systems, because of unmanaged lock server's nomination, current distance-first NUMA policies cannot perform satisfactorily. In this work, we propose SANL, a locking scheme that can deliver high performance under various contention levels by adapt ively switching between the local and the remote lock scheme. Furthermore, we introduce a new NUMA policy for the remote lock that jointly considers node distances and server utilization when choosing lock servers. A comparison with seven represent ative locking schemes shows that SANL outperforms the others in most contention situations. In one group test, SANL is 3.7 times faster than RCL lock and 17 times faster than POSIX mutex.
引用
收藏
页码:403 / 404
页数:2
相关论文
共 6 条
  • [1] 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
  • [2] Scalable Compact NUMA-aware Lock
    Gandham, Brahmaiah
    Alapati, Praveen
    2024 23RD INTERNATIONAL SYMPOSIUM ON PARALLEL AND DISTRIBUTED COMPUTING, ISPDC 2024, 2024,
  • [3] 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,
  • [4] 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
  • [5] 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
  • [6] Requester-Based Spin Lock: A Scalable and Energy Efficient Locking Scheme on Multicore Systems
    Cui, Yan
    Wang, Yingxin
    Chen, Yu
    Shi, Yuanchun
    IEEE TRANSACTIONS ON COMPUTERS, 2015, 64 (01) : 166 - 179