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 条
  • [21] ZEBRA: Data-Centric Contention Management in Hardware Transactional Memory
    Titos-Gil, Ruben
    Negi, Anurag
    Acacio, Manuel E.
    Garcia, Jose M.
    Stenstrom, Per
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2014, 25 (05) : 1359 - 1369
  • [22] CYRF: A theory of window-based unicast congestion control
    Sastry, NR
    Lam, SS
    IEEE-ACM TRANSACTIONS ON NETWORKING, 2005, 13 (02) : 330 - 342
  • [23] Adaptive contention window-based cluster head election mechanisms for wireless sensor networks
    Wang, LC
    Wang, CW
    Liu, CM
    VTC2005-FALL: 2005 IEEE 62ND VEHICULAR TECHNOLOGY CONFERENCE, 1-4, PROCEEDINGS, 2005, : 1819 - 1823
  • [24] Complexity-Effective Contention Management with Dynamic Backoff for Transactional Memory Systems
    Kim, Seung Hun
    Choi, Dongmin
    Ro, Won Woo
    Gaudiot, Jean-Luc
    IEEE TRANSACTIONS ON COMPUTERS, 2014, 63 (07) : 1696 - 1708
  • [25] Sliding window-based approximate triangle counting with bounded memory usage
    Gou, Xiangyang
    Zou, Lei
    VLDB JOURNAL, 2023, 32 (05): : 1087 - 1110
  • [26] Sliding window-based approximate triangle counting with bounded memory usage
    Xiangyang Gou
    Lei Zou
    The VLDB Journal, 2023, 32 : 1087 - 1110
  • [27] Improved predictive contention window-based broadcast optimisation strategy in vehicular cyber-physical system
    Huo, Yan
    Lu, Yanfei
    Ren, Jianmin
    Jing, Tao
    INTERNATIONAL JOURNAL OF SENSOR NETWORKS, 2017, 25 (02) : 115 - 125
  • [28] A Medium Access Scheme with Dynamic Contention Window-based Successive Transmission for Visible Tight Communications System
    Liu, Heting
    Zhang, Lin
    2016 INTERNATIONAL CONFERENCE ON INFORMATION AND COMMUNICATION TECHNOLOGY CONVERGENCE (ICTC 2016): TOWARDS SMARTER HYPER-CONNECTED WORLD, 2016, : 499 - 504
  • [29] ROOMS - THE USE OF MULTIPLE VIRTUAL WORKSPACES TO REDUCE SPACE CONTENTION IN A WINDOW-BASED GRAPHICAL USER INTERFACE
    HENDERSON, DA
    CARD, SK
    ACM TRANSACTIONS ON GRAPHICS, 1986, 5 (03): : 211 - 243
  • [30] Memory Allocation for Window-Based Image Processing on Multiple Memory Modules with Simple Addressing Functions
    Waidyasooriya, Hasitha Muthumala
    Hariyama, Masanori
    Kameyama, Michitaka
    IEICE TRANSACTIONS ON FUNDAMENTALS OF ELECTRONICS COMMUNICATIONS AND COMPUTER SCIENCES, 2011, E94A (01) : 342 - 351