Window-based greedy contention management for transactional memory: theory and practice

被引:13
|
作者
Sharma, Gokarna [1 ]
Busch, Costas [1 ]
机构
[1] Louisiana State Univ, Dept Comp Sci, Baton Rouge, LA 70803 USA
关键词
Transactional memory; Execution window; Contention management; Greedy transaction scheduling; Shared memory; Concurrency control;
D O I
10.1007/s00446-012-0159-7
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We consider greedy contention managers for transactional memory for M x N execution windows of transactions with M threads and N transactions per thread. We present, formally analyze, and experimentally evaluate three new randomized greedy contention management algorithms for transaction windows. Assuming that each transaction has duration tau and conflicts with at most C other transactions inside the window, the first algorithm Offline-Greedy produces a schedule of length O(tau center dot (C + N center dot log(MN))) with high probability. The offline algorithm depends on knowing the conflict graph which evolves while the execution of the transactions progresses. The second algorithm Online-Greedy produces a schedule of length that is only a logarithmic factor worse than Offline-Greedy, but does not require knowledge of the conflict graph. The third algorithm Adaptive-Greedy is the adaptive version of the previous algorithms which produces a schedule of length asymptotically the same as with online algorithm by adaptively guessing the value of C. All of the algorithms exhibit competitive ratio very close to O(s), where s is the number of shared resources, and at the same time, our algorithms provide new non-trivial tradeoffs for greedy transaction scheduling that parameterize window sizes and transaction conflicts within the execution window. We evaluate these window-based algorithms experimentally using the sorted link list, red-black tree, skip list, and vacation benchmarks. The evaluation results confirm their benefits in practical performance throughput and other metrics such as aborts per commit ratio and execution time overhead, along with the non-trivial provable properties of the algorithms.
引用
收藏
页码:225 / 248
页数:24
相关论文
共 50 条
  • [1] Window-based greedy contention management for transactional memory: theory and practice
    Gokarna Sharma
    Costas Busch
    Distributed Computing, 2012, 25 : 225 - 248
  • [2] Window-Based Greedy Contention Management for Transactional Memory
    Sharma, Gokarna
    Estrade, Brett
    Busch, Gostas
    DISTRIBUTED COMPUTING, 2010, 6343 : 64 - +
  • [3] Transactional Prefetching: Narrowing the Window of Contention in Hardware Transactional Memory
    Negi, Anurag
    Armejach, Adria
    Cristal, Adrian
    Unsal, Osman S.
    Stenstrom, Per
    PROCEEDINGS OF THE 21ST INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES (PACT'12), 2012, : 181 - 190
  • [4] Mileage-based Contention Management in Transactional Memory
    Choi, Woojin
    Zhao, Lihang
    Draper, Jeff
    PROCEEDINGS OF THE 21ST INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES (PACT'12), 2012, : 471 - 471
  • [5] Scheduling-based contention management techniques for transactional memory
    Department of Computer Science, Ben-Gurion University of the Negev, Israel
    不详
    Lect. Notes Comput. Sci., (213-227): : 213 - 227
  • [6] Scheduling Support for Transactional Memory Contention Management
    Maldonado, Walther
    Marlier, Patrick
    Felber, Pascal
    Suissa, Adi
    Hendler, Danny
    Fedorova, Alexandra
    Lawall, Julia L.
    Muller, Gilles
    PPOPP 2010: PROCEEDINGS OF THE 2010 ACM SIGPLAN SYMPOSIUM ON PRINCIPLES AND PRACTICE OF PARALLEL PROGRAMMING, 2010, : 79 - 89
  • [7] Scheduling Support for Transactional Memory Contention Management
    Maldonado, Walther
    Marlier, Patrick
    Felber, Pascal
    Suissa, Adi
    Hendler, Danny
    Fedorova, Alexandra
    Lawall, Julia L.
    Muller, Gilles
    ACM SIGPLAN NOTICES, 2010, 45 (05) : 79 - 89
  • [8] Profiling-based Adaptive Contention Management for Software Transactional Memory
    He, Zhengyu
    Yu, Xiao
    Hong, Bo
    2012 IEEE 26TH INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM (IPDPS), 2012, : 1204 - 1215
  • [9] Contention Window-based MAC Protocol for Wireless Sensor Networks
    Cheng, Bin
    Ci, Linlin
    Tian, Chengping
    Li, Xuanya
    Yang, Minghua
    2014 IEEE 12TH INTERNATIONAL CONFERENCE ON DEPENDABLE, AUTONOMIC AND SECURE COMPUTING (DASC)/2014 IEEE 12TH INTERNATIONAL CONFERENCE ON EMBEDDED COMPUTING (EMBEDDEDCOM)/2014 IEEE 12TH INTERNATIONAL CONF ON PERVASIVE INTELLIGENCE AND COMPUTING (PICOM), 2014, : 479 - +
  • [10] Sliding Window-Based Contention Resolution Diversity Slotted ALOHA
    Meloni, Alessio
    Murroni, Maurizio
    Kissling, Christian
    Berioli, Matteo
    2012 IEEE GLOBAL COMMUNICATIONS CONFERENCE (GLOBECOM), 2012, : 3305 - 3310