Commit Phase in Timestamp-based STM

被引:0
|
作者
Zhang, Rui [1 ]
Budimlic, Zoran [1 ]
Scherer, William N., III [1 ]
机构
[1] Rice Univ, Dept Comp Sci, Houston, TX 77005 USA
关键词
Transactional Memory; Timestamp; Commit Sequence;
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Timestamp-based Software Transactional Memory (STM) validation techniques use a global shared counter and timestamping of objects being written to reason about sequencing of transactions and their linearization points, while reducing the number of unnecessary validations that have to be performed, thus improving overall system performance. During the commit phase of a timestamp-based validation scheme, several actions have to be performed: locking of the objects being written to the memory, atomically incrementing a shared timestamp counter, updating timestamps for objects being committed to memory, performing a final validation of the transaction's consistency, and atomically effecting the the transaction's changes to the outside world. The order and manner in which these actions are performed can affect both the correctness of the STM implementation and the overall system performance. We identify several commit sequence designs, prove their correctness, and analyze their performance. We identify cases where timestamps do not have to be unique for different transactions committing concurrently, and cases where unnecessary updates of the global shared counter - which can trigger extra validations in other transactions, hurting performance - can be avoided. We evaluate these commit sequence designs on a set of benchmarks on a 16 processor SunFire SMP machine. We show that a carefully chosen commit sequence can improve overall system performance by up to 14% over the state of the art single counter timestamp-based validation techniques, and we show that it is possible to obtain high performance without incurring space overhead proportional to the number of objects in the system.
引用
收藏
页码:326 / 335
页数:10
相关论文
共 50 条
  • [1] Fault-tolerant timestamp-based two-phase commit protocol for RESTful services
    Hiane da Silva Maciel, Luiz Alexandre
    Hirata, Celso Massaki
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 2013, 43 (12): : 1459 - 1488
  • [2] A TIMESTAMP-BASED TWO PHASE COMMIT PROTOCOL FOR WEB SERVICES USING REST ARCHITECTURAL STYLE
    Hiane da Silva Maciel, Luz Alexandre
    Hirata, Celso Massaki
    [J]. JOURNAL OF WEB ENGINEERING, 2010, 9 (03): : 266 - 282
  • [3] TIMESTAMP-BASED ORPHAN ELIMINATION
    HERLIHY, MP
    MCKENDRY, MS
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1989, 15 (07) : 825 - 831
  • [4] A TIMESTAMP-BASED CACHE COHERENCE SCHEME
    MIN, SL
    BAER, JL
    [J]. PROCEEDINGS OF THE 1989 INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING, VOL 1: ARCHITECTURE, 1989, : I23 - I32
  • [5] Timestamp-based Password Authentication Scheme
    Ismail, E. S.
    Syed-Musa, S. M. S.
    [J]. PROCEEDING OF THE 25TH NATIONAL SYMPOSIUM ON MATHEMATICAL SCIENCES (SKSM25): MATHEMATICAL SCIENCES AS THE CORE OF INTELLECTUAL EXCELLENCE, 2018, 1974
  • [6] Cryptanalysis of a timestamp-based password authentication scheme
    Chan, Chi-Kwong
    Cheng, L.M.
    [J]. Computers and Security, 2001, 21 (01): : 74 - 76
  • [7] Cryptanalysis of a timestamp-based password authentication scheme
    Chan, CK
    Cheng, LM
    [J]. COMPUTERS & SECURITY, 2002, 21 (01) : 74 - 76
  • [8] Enhancement of a timestamp-based password authentication scheme
    School of Electronics and Information Engineering, Beijing University of Aeronautics and Astronautics, Beijing 100083, China
    [J]. Beijing Hangkong Hangtian Daxue Xuebao, 2007, 5 (577-579):
  • [9] Timestamp-based registration protocol in mobile IP
    [J]. Wang, L.-M., 1600, Science Press (31):
  • [10] A compressed and dynamic-range-based expression of timestamp and period for timestamp-based schedulers
    Wei, D
    Ansari, N
    Chen, JG
    [J]. GLOBECOM '01: IEEE GLOBAL TELECOMMUNICATIONS CONFERENCE, VOLS 1-6, 2001, : 2353 - 2357