Approximately Opaque Multi-version Permissive Transactional Memory

被引:4
|
作者
Assiri, Basem [1 ]
Busch, Costas [1 ]
机构
[1] Louisiana State Univ, Baton Rouge, LA 70803 USA
基金
美国国家科学基金会;
关键词
Multi-version Transactional Memory; Software Transactional Memory; Opacity; K-opacity; Approximate consistency; STM;
D O I
10.1109/ICPPW.2016.61
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
In multi-version transactional memory read-only transactions do not have to abort, while update transactions may abort. There are situations where system delays do not allow to have precise consistency, such as in large scale network and database applications, due to network delays or other factors. In order to cope with such systems, we introduce here the notion of approximate consistency in transactional memory. We define K-opacity as a relaxed consistency property where read instructions in a read-only transaction may read one of K most recent written values, while read instructions in an update transaction read always the latest value. The relaxed consistency for read-only transactions has two benefits: (i) it reduces space requirements, since a new object version is saved once every K object updates, which reduces the total number of saved object versions by a factor of K, and (ii) it reduces the number of aborts, since there is smaller chance for read-only transactions to abort update transactions. This framework allows to have worst-case consistency guarantees and simultaneously good performance characteristics. In addition to correctness proofs, we demonstrate the performance benefits of our approach with experimental analysis. We tested our algorithm for different values of K using different benchmarks and we observed that when we increase K the number of aborts decreases and at the same time the throughput increases.
引用
收藏
页码:393 / 402
页数:10
相关论文
共 50 条
  • [1] Lock-free and scalable multi-version software transactional memory
    Fernandes, Sérgio Miguel
    Cachopo, João
    Proceedings of the ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming, PPOPP, 2011, : 179 - 188
  • [2] Achieving Starvation-Freedom in Multi-version Transactional Memory Systems
    Chaudhary, Ved P.
    Juyal, Chirag
    Kulkarni, Sandeep
    Kumari, Sweta
    Peri, Sathya
    NETWORKED SYSTEMS, NETYS 2019, 2019, 11704 : 291 - 310
  • [3] Achieving starvation-freedom in multi-version transactional memory systems
    Ved Prakash Chaudhary
    Chirag Juyal
    Sandeep Kulkarni
    Sweta Kumari
    Sathya Peri
    Computing, 2022, 104 : 2159 - 2179
  • [4] Lock-free and Scalable Multi-Version Software Transactional Memory
    Fernandes, Sergio Miguel
    Cachopo, Joao
    ACM SIGPLAN NOTICES, 2011, 46 (08) : 179 - 188
  • [5] Lock-free and scalable multi-version software transactional memory
    Fernandes, Sérgio Miguel
    Cachopo, Joao
    ACM SIGPLAN Notices, 2011, 46 (08): : 179 - 188
  • [6] Achieving starvation-freedom in multi-version transactional memory systems
    Chaudhary, Ved Prakash
    Juyal, Chirag
    Kulkarni, Sandeep
    Kumari, Sweta
    Peri, Sathya
    COMPUTING, 2022, 104 (10) : 2159 - 2179
  • [7] Single-Version STMs Can Be Multi-version Permissive (Extended Abstract)
    Attiya, Hagit
    Hillel, Eshcar
    DISTRIBUTED COMPUTING AND NETWORKING, 2011, 6522 : 83 - 94
  • [8] Achieving Starvation-Freedom with Greater Concurrency in Multi-Version Object-based Transactional Memory Systems
    Juyal, Chirag
    Kulkarni, Sandeep
    Kumari, Sweta
    Peri, Sathya
    Somani, Archit
    STABILIZATION, SAFETY, AND SECURITY OF DISTRIBUTED SYSTEMS, SSS 2019, 2019, 11914 : 209 - 227
  • [9] Garbage Collection for Multi-version Index on Flash Memory
    Lam, Kam-Yiu
    Wang, Jiantao
    Chang, Yuan-Hao
    Hsieh, Jen-Wei
    Huang, Po-Chun
    Poon, Chung Keung
    Zhu, Chun Jiang
    2014 DESIGN, AUTOMATION AND TEST IN EUROPE CONFERENCE AND EXHIBITION (DATE), 2014,
  • [10] An Empirical Evaluation of In-Memory Multi-Version Concurrency Control
    Wu, Yingjun
    Arulraj, Joy
    Lin, Jiexi
    Xian, Ran
    Pavlo, Andrew
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2017, 10 (07): : 781 - 792