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 条
  • [41] Multi-Model Long Short-Term Memory Network for Gait Recognition Using Window-Based Data Segment
    Tran, Lam
    Thang Hoang
    Thuc Nguyen
    Kim, Hyunil
    Choi, Deokjai
    IEEE ACCESS, 2021, 9 : 23826 - 23839
  • [42] WINDOW-BASED CONGESTION MANAGEMENT IN BROAD-BAND ATM NETWORKS - THE PERFORMANCE OF 3 ACCESS-CONTROL POLICIES
    LELAND, WE
    DALLAS GLOBECOM 89, VOLS 1-3: COMMUNICATIONS TECHNOLOGY FOR THE 1990S AND BEYOND, 1989, : 1794 - 1800
  • [43] Theory and Practice Research on Safety Risk Management Based on the Theory of Process Control
    Ren, NaiJun
    Liu, JianRong
    Zhang, YaGuang
    INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND ENVIRONMENTAL ENGINEERING (CSEE 2015), 2015, : 182 - 189
  • [44] PHILOSOPHY-BASED SCIENTIFIC ORIGINS Of MANAGEMENT THEORY AND PRACTICE
    Nigomatullina, Rezida M.
    Fakhritdinov, Iskander F.
    INTERNATIONAL TRANSACTION JOURNAL OF ENGINEERING MANAGEMENT & APPLIED SCIENCES & TECHNOLOGIES, 2019, 10 (16):
  • [45] Optimal distribution and waste management of Covid-19 vaccines from vaccination centers' satisfaction perspective - A fuzzy time window-based VRP
    Maleki, Abolfazl
    Hemmati, Vahid
    Abazari, Seyed Reza
    Aghsami, Amir
    Rabbani, Masoud
    TRANSPORTATION RESEARCH PART E-LOGISTICS AND TRANSPORTATION REVIEW, 2024, 183
  • [46] Using Signal Detection Theory and Time Window-based Human-In-The-Loop simulation as a tool for assessing the effectiveness of different qualitative shapes in continuous monitoring tasks
    Kim, Jung Hyup
    Rothrock, Ling
    Laberge, Jason
    APPLIED ERGONOMICS, 2014, 45 (03) : 693 - 705
  • [47] Evidence-based management: From theory to practice in health care
    Walshe, K
    Rundall, TG
    MILBANK QUARTERLY, 2001, 79 (03): : 429 - +
  • [48] The road to professionalism in nursing: Case management or practice based in nursing theory?
    Daiski, I
    NURSING SCIENCE QUARTERLY, 2000, 13 (01) : 74 - 79
  • [49] Scenario-based air traffic flow management: From theory to practice
    Liu, Pei-chen Barry
    Hansen, Mark
    Mukherjee, Avijit
    TRANSPORTATION RESEARCH PART B-METHODOLOGICAL, 2008, 42 (7-8) : 685 - 702
  • [50] Traditional and evidence-based acupuncture in headache management: Theory, mechanism, and practice
    Zhao, CH
    Stillman, MJ
    Rozen, TD
    HEADACHE, 2005, 45 (06): : 716 - 730