Practical Parallel Nesting for Software Transactional Memory

被引:0
|
作者
Diegues, Nuno [1 ]
Cachopo, Joao [1 ]
机构
[1] Univ Lisbon, Inst Super Tecn, INESC ID Lisboa, P-1699 Lisbon, Portugal
来源
DISTRIBUTED COMPUTING | 2013年 / 8205卷
关键词
Transactional memory; Parallel Nesting; Abort reduction; Lock-freedom;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Transactional Memory (TM) provides a strong abstraction to tackle the challenge of synchronizing concurrent tasks that access shared state. Yet, most TMs do not allow a single transaction to contain parallel code. We propose an efficient parallel nesting algorithm to explore existing latent parallelism within a transaction. If this intra-transaction parallelism has reduced conflict probability (compared to the inter-transaction parallelism), then it may be worthy to execute less transactions at a given time, but have each one parallelized and using several available cores. We provide practical support for parallel nesting in the first lock-free parallel nesting algorithm with support for multi-versions. Our prototype builds over an available multi-version TM, which we outperform on standard benchmarks by up to 2.8x. We show improvements over parallel nesting alternatives of up to 3.6x.
引用
收藏
页码:149 / 163
页数:15
相关论文
共 50 条
  • [1] Leveraging Parallel Nesting in Transactional Memory
    Barreto, Joao
    Dragojevic, Aleksandar
    Ferreira, Paulo
    Guerraoui, Rachid
    Kapalka, Michal
    [J]. ACM SIGPLAN NOTICES, 2010, 45 (05) : 91 - 100
  • [2] Open Nesting in Software Transactional Memory
    Ni, Yang
    Menon, Vijay
    Adl-Tabatabai, Ali-Reza
    Hosking, Antony L.
    Hudson, Richard L.
    Moss, J. Eliot B.
    Saha, Bratin
    Shpeisman, Tatiana
    [J]. PROCEEDINGS OF THE 2007 ACM SIGPLAN SYMPOSIUM ON PRINCIPLES AND PRACTICE OF PARALLEL PROGRAMMING PPOPP'07, 2007, : 68 - 78
  • [3] Leveraging Parallel Nesting in Transactional Memory
    Barreto, Joao
    Dragojevic, Aleksandar
    Ferreira, Paulo
    [J]. PPOPP 2010: PROCEEDINGS OF THE 2010 ACM SIGPLAN SYMPOSIUM ON PRINCIPLES AND PRACTICE OF PARALLEL PROGRAMMING, 2010, : 91 - 100
  • [4] Online Tuning of Parallelism Degree in Parallel Nesting Transactional Memory
    Zeng, Jingna
    Romano, Paolo
    Barreto, Joao
    Rodrigues, Luis
    Haridi, Seif
    [J]. 2018 32ND IEEE INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM (IPDPS), 2018, : 474 - 483
  • [5] Practical Experiences with Java']Java Software Transactional Memory
    Brevnov, Evgueni
    Dolgov, Yuri
    Kuznetsov, Boris
    Yershov, Dmitry
    Shakin, Vyacheslav
    Chen, Dong-Yuan
    Menon, Vijay
    Srinivas, Suresh
    [J]. PPOPP'08: PROCEEDINGS OF THE 2008 ACM SIGPLAN SYMPOSIUM ON PRINCIPLES AND PRACTICE OF PARALLEL PROGRAMMING, 2008, : 287 - 288
  • [6] Software Distributed Shared Memory with Transactional Coherence A software engine to run transactional shared-memory parallel applications on clusters
    Di Santo, Michele
    Ranaldo, Nadia
    Sementa, Carmine
    Zimeo, Eugenio
    [J]. PROCEEDINGS OF THE 18TH EUROMICRO CONFERENCE ON PARALLEL, DISTRIBUTED AND NETWORK-BASED PROCESSING, 2010, : 175 - 179
  • [7] A Parallel Implementation for Cellular Potts Model with Software Transactional Memory
    Tomeu, A. J.
    Gamez, A.
    Salguero, A. G.
    [J]. PRACTICAL APPLICATIONS OF COMPUTATIONAL BIOLOGY AND BIOINFORMATICS, 2020, 1005 : 53 - 60
  • [8] Implementing and Evaluating Nested Parallel Transactions in Software Transactional Memory
    Baek, Woongki
    Bronson, Nathan
    Kozyrakis, Christos
    Olukotun, Kunle
    [J]. SPAA '10: PROCEEDINGS OF THE TWENTY-SECOND ANNUAL SYMPOSIUM ON PARALLELISM IN ALGORITHMS AND ARCHITECTURES, 2010, : 253 - 262
  • [9] On Open Nesting in Distributed Transactional Memory
    Turcu, Alexandru
    Palmieri, Roberto
    Ravindran, Binoy
    [J]. IEEE TRANSACTIONS ON COMPUTERS, 2016, 65 (06) : 1856 - 1868
  • [10] Software transactional memory
    Shavit, N
    Touitou, D
    [J]. DISTRIBUTED COMPUTING, 1997, 10 (02) : 99 - 116