Weighted adaptive concurrency control for software transactional memory

被引:3
作者
Ansari, Mohammad [1 ]
机构
[1] Umm Al Qura Univ, Dept Comp Sci, Mecca, Saudi Arabia
关键词
Software transactional memory; Adaptive concurrency control; Auto tuning; Performance evaluation; Wasted work;
D O I
10.1007/s11227-014-1138-5
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Transactional memory programs may have dynamic available parallelism, which is defined as the number of transactions that can be committed concurrently. Prior work presented adaptive concurrency control, which adapts the number of active threads at runtime, and thus the number of concurrently executing transactions, based on available parallelism. Reducing threads when available parallelism is low, and vice versa, improved speedup and reduced wasted work (in aborted transactions). However, prior work did not consider the case where individual threads exhibit dynamic available parallelism. Deactivating threads with low available parallelism, and vice versa, may improve speedup and reduce wasted work further. This paper introduces weighted adaptive concurrency control to exploit the variance in available parallelism between threads. Four algorithms are designed, implemented, and evaluated. They improve speedup and reduce wasted work over prior non-weighted algorithms in applications whose threads exhibit such variance, while maintaining performance parity in applications whose threads do not.
引用
收藏
页码:1027 / 1047
页数:21
相关论文
共 32 条
  • [1] Ansari M, 2009, THESIS U MANCHESTER
  • [2] Ansari M, 2009, LECT NOTES COMPUT SC, V5409, P4
  • [3] Ansari Mohammad, 2008, LNCS
  • [4] Atoofian E, 2012, J SUPERCOMPUT, P1
  • [5] Attiya H, 2012, J PARALLEL DISTRIB C
  • [6] Attiya H., 2006, PODC 2006, P308, DOI DOI 10.1145/1146381.1146428
  • [7] Bai T, 2007, IPDPS 07, P70
  • [8] Cilk: An efficient multithreaded runtime system
    Blumofe, RD
    Joerg, CF
    Kuszmaul, BC
    Leiserson, CE
    Randall, KH
    Zhou, YL
    [J]. JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 1996, 37 (01) : 55 - 69
  • [9] Didona D, 2012, EUR TM WORKSH T MEM
  • [10] CAR-STM: Scheduling-Based Collision Avoidance and Resolution for Software Transactional Memory
    Dolev, Shlomi
    Hendler, Danny
    Suissa, Adi
    [J]. PODC'08: PROCEEDINGS OF THE 27TH ANNUAL ACM SYMPOSIUM ON PRINCIPLES OF DISTRIBUTED COMPUTING, 2008, : 125 - 134