High Performance Locks for Multi-level NUMA Systems

被引:2
|
作者
Chabbi, Milind [1 ]
Fagan, Michael [1 ]
Mellor-Crummey, John [1 ]
机构
[1] Rice Univ, Houston, TX 77005 USA
基金
美国国家科学基金会;
关键词
NUMA; MCS; Hierarchical locks; Spin locks; Analytical modeling; Lock fairness; Lock throughput;
D O I
10.1145/2688500.2688503
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Efficient locking mechanisms are critically important for high performance computers. On highly-threaded systems with a deep memory hierarchy, the throughput of traditional queueing locks, e.g., MCS locks, falls off due to NUMA effects. Two-level cohort locks perform better on NUMA systems, but fail to deliver top performance for deep NUMA hierarchies. In this paper, we describe a hierarchical variant of the MCS lock that adapts the principles of cohort locking for architectures with deep NUMA hierarchies. We describe analytical models for throughput and fairness of CohortMCS (C-MCS) and Hierarchical MCS (HMCS) locks that enable us to tailor these locks for high performance on any target platform without empirical tuning. Using these models, one can select parameters such that an HMCS lock will deliver better fairness than a C-MCS lock for a given throughput, or deliver better throughput for a given fairness. Our experiments show that, under high contention, a three-level HMCS lock delivers up to 7.6x higher lock throughput than a C-MCS lock on a 128-thread IBM Power 755 and a five-level HMCS lock delivers up to 72x higher lock throughput on a 4096-thread SGI UV 1000. On the K-means clustering code from the MineBench suit, a three-level HMCS lock reduces the running time by up to 55% compared to the C-MCS lock on a IBM Power 755.
引用
收藏
页码:215 / 226
页数:12
相关论文
共 50 条
  • [1] CLoF: A Compositional Lock Framework for Multi-level NUMA Systems
    Chehab, Rafael Lourenco de Lima
    Paolillo, Antonio
    Behrens, Diogo
    Fu, Ming
    Haertig, Hermann
    Chen, Haibo
    PROCEEDINGS OF THE 28TH ACM SYMPOSIUM ON OPERATING SYSTEMS PRINCIPLES, SOSP 2021, 2021, : 851 - 865
  • [2] An Efficient Abortable-locking Protocol for Multi-level NUMA Systems
    Chabbi, Milind
    Amer, Abdelhalim
    Wen, Shasha
    Liu, Xu
    ACM SIGPLAN NOTICES, 2017, 52 (08) : 61 - 74
  • [3] Multi-level secure multicast: The rethinking of secure locks
    Scheikl, O
    Lane, J
    Boyer, R
    Eltoweissy, M
    2002 INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING, PROCEEDINGS OF THE WORKSHOPS, 2002, : 17 - 24
  • [4] Multi-level locks to control collaborative modeling sessions
    Pichiliani, Mauro C.
    Hirata, Celso M.
    2007 INTERNATIONAL CONFERENCE ON COLLABORATIVE COMPUTING: NETWORKING, APPLICATIONS AND WORKSHARING, 2008, : 303 - 307
  • [5] Efficient Abortable-locking Protocol for Multi-level NUMA Systems: Design and Correctness
    Chabbi, Milind
    Amer, Abdelhalim
    Liu, Xu
    ACM TRANSACTIONS ON PARALLEL COMPUTING, 2020, 7 (03)
  • [6] ESTIMATING THE PERFORMANCE OF MULTI-LEVEL INVENTORY SYSTEMS
    SVORONOS, A
    ZIPKIN, P
    OPERATIONS RESEARCH, 1988, 36 (01) : 57 - 72
  • [7] High-Performance Multi-Level Routing
    Delling, Daniel
    Holzer, Martin
    Mueller, Kirill
    Schulz, Frank
    Wagner, Dorothea
    SHORTEST PATH PROBLEM, 2009, 74 : 73 - +
  • [8] Maximizing Application Performance in a Multi-core, NUMA-Aware Compute Cluster by Multi-level Tuning
    Shainer, Gilad
    Lui, Pak
    Hilgeman, Martin
    Layton, Jeffrey
    Stevens, Cydney
    Stemple, Walker
    Schultz, Scot
    Ludden, Guy
    Mora, Joshua
    Kresse, Georg
    SUPERCOMPUTING (ISC 2013), 2013, 7905 : 226 - 238
  • [9] Multi-level systems
    Lin, Yi, 1875, Taylor and Francis Ltd. (20):
  • [10] MULTI-LEVEL SYSTEMS
    LIN, Y
    INTERNATIONAL JOURNAL OF SYSTEMS SCIENCE, 1989, 20 (10) : 1875 - 1889