Scheduling Support for Transactional Memory Contention Management

被引:8
|
作者
Maldonado, Walther [1 ]
Marlier, Patrick [1 ]
Felber, Pascal [1 ]
Suissa, Adi [2 ]
Hendler, Danny [2 ]
Fedorova, Alexandra [3 ]
Lawall, Julia L. [4 ]
Muller, Gilles [5 ]
机构
[1] Univ Neuchatel, CH-2000 Neuchatel, Switzerland
[2] Ben Gurion Univ Negev, IL-84105 Beer Sheva, Israel
[3] Simon Fraser Univ, Burnaby, BC V5A 1S6, Canada
[4] Univ Copenhagen, DK-1168 Copenhagen, Denmark
[5] INRIA Regal, Paris, France
关键词
Algorithms; Performance; Transactional Memory; Scheduling; Contention Management;
D O I
10.1145/1837853.1693465
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Transactional Memory (TM) is considered as one of the most promising paradigms for developing concurrent applications. TM has been shown to scale well on multiple cores when the data access pattern behaves "well," i.e., when few conflicts are induced. In contrast, data patterns with frequent write sharing, with long transactions, or when many threads contend for a smaller number of cores, result in numerous conflicts. Until recently, TM implementations had little control of transactional threads, which remained under the supervision of the kernel's transaction-ignorant scheduler. Conflicts are thus traditionally resolved by consulting an STM-level contention manager. Consequently, the contention managers of these " conventional" TM implementations suffer from a lack of precision and often fail to ensure reasonable performance in high-contention workloads. Recently, scheduling-based TM contention-management has been proposed for increasing TM efficiency under high-contention [2, 5, 19]. However, only user-level schedulers have been considered. In this work, we propose, implement and evaluate several novel kernel-level scheduling support mechanisms for TM contention management. We also investigate different strategies for efficient communication between the kernel and the user-level TM library. To the best of our knowledge, our work is the first to investigate kernel-level support for TM contention management. We have introduced kernel-level TM scheduling support into both the Linux and Solaris kernels. Our experimental evaluation demonstrates that lightweight kernel-level scheduling support significantly reduces the number of aborts while improving transaction throughput on various workloads.
引用
收藏
页码:79 / 89
页数:11
相关论文
共 50 条
  • [1] Scheduling Support for Transactional Memory Contention Management
    Maldonado, Walther
    Marlier, Patrick
    Felber, Pascal
    Suissa, Adi
    Hendler, Danny
    Fedorova, Alexandra
    Lawall, Julia L.
    Muller, Gilles
    [J]. PPOPP 2010: PROCEEDINGS OF THE 2010 ACM SIGPLAN SYMPOSIUM ON PRINCIPLES AND PRACTICE OF PARALLEL PROGRAMMING, 2010, : 79 - 89
  • [2] Scheduling-based contention management techniques for transactional memory
    Hendler, Danny
    Suissa-Peleg, Adi
    [J]. Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2015, 8913 : 213 - 227
  • [3] Mileage-based Contention Management in Transactional Memory
    Choi, Woojin
    Zhao, Lihang
    Draper, Jeff
    [J]. PROCEEDINGS OF THE 21ST INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES (PACT'12), 2012, : 471 - 471
  • [4] Providing QoS in Contention Management for Software Transactional Memory
    Fahmy, Sherif F.
    Senousy, Zakaria
    Amin, Ahmed F.
    [J]. 2017 13TH INTERNATIONAL COMPUTER ENGINEERING CONFERENCE (ICENCO), 2017, : 231 - 236
  • [5] A Comprehensive Strategy for Contention Management in Software Transactional Memory
    Spear, Michael F.
    Dalessandro, Luke
    Marathe, Virendra J.
    Scott, Michael L.
    [J]. ACM SIGPLAN NOTICES, 2009, 44 (04) : 141 - 150
  • [6] A Comprehensive Scheme for Contention Management in Hardware Transactional Memory
    Wang, Xiaoqun
    Ji, Zhenzhou
    Fu, Chen
    Hu, Mingzeng
    [J]. INFORMATION AND AUTOMATION, 2011, 86 : 397 - 403
  • [7] Transactional Contention Management as a Non-Clairvoyant Scheduling Problem
    Attiya, Hagit
    Epstein, Leah
    Shachnai, Hadas
    Tamir, Tami
    [J]. ALGORITHMICA, 2010, 57 (01) : 44 - 61
  • [8] Transactional Contention Management as a Non-Clairvoyant Scheduling Problem
    Hagit Attiya
    Leah Epstein
    Hadas Shachnai
    Tami Tamir
    [J]. Algorithmica, 2010, 57 : 44 - 61
  • [9] GCMS: A Global Contention Management Scheme in Hardware Transactional Memory
    Wang, Xiaoqun
    Ji, Zhenzhou
    Fu, Chen
    Hu, Mingzeng
    [J]. IEEE COMPUTER ARCHITECTURE LETTERS, 2011, 10 (01) : 24 - 27
  • [10] Window-Based Greedy Contention Management for Transactional Memory
    Sharma, Gokarna
    Estrade, Brett
    Busch, Gostas
    [J]. DISTRIBUTED COMPUTING, 2010, 6343 : 64 - +