A Competitive Analysis for Balanced Transactional Memory Workloads

被引:0
|
作者
Gokarna Sharma
Costas Busch
机构
[1] Louisiana State University,Department of Computer Science
来源
Algorithmica | 2012年 / 63卷
关键词
Transactional memory; Contention management; Balanced workloads; Transaction scheduling; Competitive ratios; Concurrency control;
D O I
暂无
中图分类号
学科分类号
摘要
We consider transactional memory contention management in the context of balanced workloads, where if a transaction is writing, the number of write operations it performs is a constant fraction of its total reads and writes. We explore the theoretical performance boundaries of contention management in balanced workloads from the worst-case perspective by presenting and analyzing two new polynomial time contention management algorithms. We analyze the performance of a contention management algorithm by comparison with an optimal offline contention management algorithm to provide a competitive ratio. The first algorithm Clairvoyant is \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$O(\sqrt{s})$\end{document}-competitive, where s is the number of shared resources. This algorithm depends on explicitly knowing the conflict graph at each time step of execution. The second algorithm Non-Clairvoyant is \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$O(\sqrt{s} \cdot \log n)$\end{document}-competitive, with high probability, which is only a O(log n) factor worse, but does not require knowledge of the conflict graph, where n is the number of transactions. Both of these algorithms are greedy. We also prove that the performance of Clairvoyant is close to optimal, since there is no polynomial time contention management algorithm for the balanced transaction scheduling problem that is better than \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$O((\sqrt{s})^{1-\varepsilon})$\end{document}-competitive for any constant ε>0, unless NP⊆ZPP. To our knowledge, these results are significant improvements over the best previously known O(s) competitive ratio bound.
引用
收藏
页码:296 / 322
页数:26
相关论文
共 50 条
  • [1] A Competitive Analysis for Balanced Transactional Memory Workloads
    Sharma, Gokarna
    Busch, Costas
    PRINCIPLES OF DISTRIBUTED SYSTEMS, 2010, 6490 : 348 - 363
  • [2] A Competitive Analysis for Balanced Transactional Memory Workloads
    Sharma, Gokarna
    Busch, Costas
    ALGORITHMICA, 2012, 63 (1-2) : 296 - 322
  • [3] On the (Dis)similarity of Transactional Memory Workloads
    Hughes, Clay
    Poe, James
    Qouneh, Amer
    Li, Tao
    PROCEEDINGS OF THE 2009 IEEE INTERNATIONAL SYMPOSIUM ON WORKLOAD CHARACTERIZATION, 2009, : 108 - 117
  • [4] TransPlant: A Parameterized Methodology For Generating Transactional Memory Workloads
    Poe, James
    Hughes, Clay
    Li, Tao
    2009 IEEE INTERNATIONAL SYMPOSIUM ON MODELING, ANALYSIS & SIMULATION OF COMPUTER AND TELECOMMUNICATION SYSTEMS (MASCOTS), 2009, : 548 - 557
  • [5] Performance and Energy Analysis Using Transactional Workloads
    Ailamaki, Anastasia
    Porobic, Danica
    Sirin, Utku
    PERFORMANCE EVALUATION AND BENCHMARKING: TRADITIONAL - BIG DATA - INTERNET OF THINGS, TPCTC 2016, 2017, 10080 : 159 - 160
  • [6] Towards Load Balanced Distributed Transactional Memory
    Sharma, Gokarna
    Busch, Costas
    EURO-PAR 2012 PARALLEL PROCESSING, 2012, 7484 : 403 - 414
  • [7] QoS-Broker for transactional workloads
    Furtado, Pedro
    SERVICE ORIENTED COMPUTING AND APPLICATIONS, 2009, 3 (03) : 159 - 169
  • [8] QoS-Broker for transactional workloads
    Santos, Celso Rafael
    Costa, Joao
    Furtado, Pedro
    21ST INTERNATIONAL CONFERENCE ON ADVANCED NETWORKING AND APPLICATIONS WORKSHOPS/SYMPOSIA, VOL 2, PROCEEDINGS, 2007, : 594 - +
  • [9] Employing Hardware Transactional Memory to Design a Balanced Graph Coloring Algorithm
    Giannoula, Christina
    27TH INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES (PACT 2018), 2018,
  • [10] Transactional scheduling for read-dominated workloads
    Attiya, Hagit
    Milani, Alessia
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2012, 72 (10) : 1386 - 1396