Transactional Predication: High-Performance Concurrent Sets and Maps for STM

被引:0
|
作者
Bronson, Nathan G. [1 ]
Casper, Jared [1 ]
Chafi, Hassan [1 ]
Olukotun, Kunle [1 ]
机构
[1] Stanford Univ, Comp Syst Lab, Stanford, CA 94305 USA
来源
PODC 2010: PROCEEDINGS OF THE 2010 ACM SYMPOSIUM ON PRINCIPLES OF DISTRIBUTED COMPUTING | 2010年
关键词
Transactional predication; software transactional memory; semantic conflict detection; concurrent map; MEMORY;
D O I
10.1145/1835698.1835703
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Concurrent collection classes are widely used in multi-threaded programming, but they provide atomicity only for a fixed set of operations. Software transactional memory (STM) provides a convenient and powerful programming model for composing atomic operations, but concurrent collection algorithms that allow their operations to be composed using STM are significantly slower than their non-composable alternatives. We introduce transactional predication, a method for building transactional maps and sets on top of an underlying non-composable concurrent map. We factor the work of most collection operations into two parts: a portion that does not need atomicity or isolation, and a single transactional memory access. The result approximates semantic conflict detection using the STM's structural conflict detection mechanism. The separation also allows extra optimizations when the collection is used outside a transaction. We perform an experimental evaluation that shows that predication has better performance than existing transactional collection algorithms across a range of workloads.
引用
收藏
页码:6 / 15
页数:10
相关论文
共 50 条
  • [31] Electrochemical Preparation of Porous Organic Polymer Films for High-Performance Memristors
    Tao, You
    Liu, Hui
    Kong, Hui-Yuan
    Wang, Tian-Xiong
    Sun, Huijuan
    Li, Yong Jun
    Ding, Xuesong
    Sun, Lianfeng
    Han, Bao-Hang
    ANGEWANDTE CHEMIE-INTERNATIONAL EDITION, 2022, 61 (38)
  • [32] High-Performance Non-Volatile Organic Ferroelectric Memory on Banknotes
    Khan, M. A.
    Bhansali, Unnat S.
    Alshareef, H. N.
    ADVANCED MATERIALS, 2012, 24 (16) : 2165 - 2170
  • [33] Nitrogen: A promising doping strategy for high-performance ovonic threshold switching selectors
    Gu, Rongchuan
    Yuan, Shaojie
    Wang, Huan
    Xu, Qundao
    Tang, Siqi
    Xu, Meng
    Qiao, Chong
    Wang, Cai-Zhuang
    Wang, Songyou
    Xu, Ming
    Miao, Xiangshui
    JOURNAL OF ALLOYS AND COMPOUNDS, 2024, 1005
  • [34] Nanographene-Based Heterojunctions for High-Performance Organic Phototransistor Memory Devices
    Bai, Shaoling
    Yang, Lin
    Haase, Katherina
    Wolansky, Jakob
    Zhang, Zongbao
    Tseng, Hsin
    Talnack, Felix
    Kress, Joshua
    Andrade, Jonathan Perez
    Benduhn, Johannes
    Ma, Ji
    Feng, Xinliang
    Hambsch, Mike
    Mannsfeld, Stefan C. B.
    ADVANCED SCIENCE, 2023, 10 (15)
  • [35] Agglomerative Memory and Thread Scheduling for High-Performance Ray-Tracing on GPUs
    Ni, Yufei
    Deng, Yangdong
    Li, Zonghui
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2022, 41 (02) : 334 - 345
  • [36] Designing Efficient and High-Performance AI Accelerators With Customized STT-MRAM
    Mishty, Kaniz
    Sadi, Mehdi
    IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, 2021, 29 (10) : 1730 - 1742
  • [37] Convolutional neural network for high-performance reservoir computing using dynamic memristors
    Byun, Yongjin
    So, Hyojin
    Kim, Sungjun
    CHAOS SOLITONS & FRACTALS, 2024, 188
  • [38] Enantioseparation by high-performance liquid chromatography on proline-derived helical polyacetylenes
    Shi, Ge
    Dai, Xiao
    Xu, Qian
    Shen, Jun
    Wan, Xinhua
    POLYMER CHEMISTRY, 2021, 12 (02) : 242 - 253
  • [39] High-performance, multifunctional devices based on asymmetric van der Waals heterostructures
    Cheng, Ruiqing
    Wang, Feng
    Yin, Lei
    Wang, Zhenxing
    Wen, Yao
    Shifa, Tofik Ahmed
    He, Jun
    NATURE ELECTRONICS, 2018, 1 (06): : 356 - 361
  • [40] A High-Performance Hybrid Index Framework Supporting Inserts for Static Learned Indexes
    Ding, Yuquan
    Zhao, Xujian
    WEB AND BIG DATA, PT III, APWEB-WAIM 2023, 2024, 14333 : 449 - 463