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 条
  • [31] A window-based approach to retrieving memory-resident data for query execution
    Pisharath, J
    Choudhary, A
    Kandemir, M
    INTERNATIONAL DATABASE ENGINEERING AND APPLICATIONS SYMPOSIUM, PROCEEDINGS, 2004, : 283 - 288
  • [32] THE EFFECT OF BANDWIDTH MANAGEMENT ON THE PERFORMANCE OF A WINDOW-BASED FLOW-CONTROL
    LUAN, DT
    LUCANTONI, DM
    AT&T TECHNICAL JOURNAL, 1988, 67 (05): : 17 - 26
  • [33] Contention Window-Based Deadlock-Free MAC for Blind Rendezvous in Cognitive Radio Ad Hoc Networks
    Liu, Xingya
    Xie, Jiang
    2015 IEEE GLOBAL COMMUNICATIONS CONFERENCE (GLOBECOM), 2015,
  • [34] Capacity utilization based on contention window management in mobile ad hoc network
    Gafur, Abdul M.
    Ben Saleh, Ahmed
    INTERNATIONAL JOURNAL OF NUMERICAL MODELLING-ELECTRONIC NETWORKS DEVICES AND FIELDS, 2019, 32 (06)
  • [35] Memory-Access-Driven Context Partitioning for Window-Based Image Processing on Heterogeneous Multicore Processors
    Waidyasooriya, Hasitha Muthumala
    Ohbayashi, Yosuke
    Hariyama, Masanori
    Kameyama, Michitaka
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2012, E95D (02): : 354 - 363
  • [36] Split-CNN: Splitting Window-based Operations in Convolutional Neural Networks for Memory System Optimization
    Jin, Tian
    Hong, Seokin
    TWENTY-FOURTH INTERNATIONAL CONFERENCE ON ARCHITECTURAL SUPPORT FOR PROGRAMMING LANGUAGES AND OPERATING SYSTEMS (ASPLOS XXIV), 2019, : 835 - 847
  • [37] DESIGN OF A WINDOW-BASED SOFTWARE APPLICATION FOR IMPLEMENTATION OF THE NICE/BTS GUIDELINES FOR THE MANAGEMENT OF ASTHMA IN CHILDREN
    Ogundele, M. O.
    Ayyash, H.
    ACTA PAEDIATRICA, 2009, 98 : 202 - 203
  • [38] Memory management optimization strategy in Spark framework based on less contention
    Yixin Song
    Junyang Yu
    JinJiang Wang
    Xin He
    The Journal of Supercomputing, 2023, 79 : 1504 - 1525
  • [39] Memory management optimization strategy in Spark framework based on less contention
    Song, Yixin
    Yu, Junyang
    Wang, JinJiang
    He, Xin
    JOURNAL OF SUPERCOMPUTING, 2023, 79 (02): : 1504 - 1525
  • [40] Combined fuzzy-based power control with window-based transmission rate management in multimedia CDMA cellular systems
    Chen, Young-Long
    Wang, Jyu-Wei
    Lin, Yung-Sheng
    Wen, Jyh-Horng
    AEU-INTERNATIONAL JOURNAL OF ELECTRONICS AND COMMUNICATIONS, 2011, 65 (04) : 377 - 383