Speculative Read Write Locks

被引:2
|
作者
Issa, Shady [1 ]
Romano, Paolo [1 ]
Lopes, Tiago [1 ]
机构
[1] Univ Lisbon, Inst Super Tecn, INESC ID, Lisbon, Portugal
关键词
SYNCHRONIZATION;
D O I
10.1145/3274808.3274825
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Hardware Transactional Memory (HTM) has recently entered the realm of mainstream computing thanks to its integration in processors commercialized by major industrial manufacturers. HTM provides highly-efficient, hardware-assisted synchronization mechanisms for concurrent programs. Unfortunately, though, existing HTM implementations also suffer from severe limitations that are inherently related to their best-effort, hardware-based design. This work introduces SpRWL (Speculative Read Write Lock), a HTM-based implementation of read-write locks that provides a key benefit: allowing readers to execute outside the scope of hardware transactions, thus, effectively sparing them from any HTM-related limitation. SpRWL is the first HTM-based read-write lock implementation to support the concurrent execution of uninstrumented readers, while assuming a standard transaction demarcation API that is universally supported by any HTM implementation. Via an extensive experimental study, we show that SpRWL can achieve striking performance gains (up to 16x) with respect to state of the art read-write lock implementations based not only on pessimistic/lock-based schemes, but also on HTM-based techniques that exploit specific hardware mechanisms currently supported solely by a restricted number of architectures.
引用
收藏
页码:214 / 226
页数:13
相关论文
共 50 条
  • [31] Read Before You Write
    Hilburn, Thomas B.
    Towhidnejad, Massood
    Salamah, Salamah
    2011 24TH IEEE-CS CONFERENCE ON SOFTWARE ENGINEERING EDUCATION AND TRAINING (CSEET), 2011, : 371 - 380
  • [32] HOW TO READ AND WRITE PRESCRIPTIONS
    不详
    AMERICAN JOURNAL OF NURSING, 1914, 14 (04) : 320 - 321
  • [33] 'Guys write for guys read'.
    不详
    NEW YORK TIMES BOOK REVIEW, 2005, : 21 - 21
  • [34] Read, write, and forgret science
    不详
    ACS CHEMICAL BIOLOGY, 2006, 1 (03) : 113 - 114
  • [35] Read.Inquire.Write.
    Bronstein, Erin
    Halvorsen, Anne-Lise
    THEORY AND RESEARCH IN SOCIAL EDUCATION, 2019, 47 (04): : 604 - 608
  • [36] WHY WE READ AND WRITE
    DEMOTT, B
    EDUCATIONAL LEADERSHIP, 1990, 47 (06) : 6 - 6
  • [37] WHY WRITE, WHY READ
    SPIRE, A
    VIALA, JP
    PENSEE, 1976, (185): : 120 - 124
  • [38] Linearizable read/write objects
    Department of Computer Science, University of Cyprus, Nicosia CY-1678, Cyprus
    不详
    Theor Comput Sci, 1 (267-319):
  • [39] Alternators in read/write atomicity
    Kulkarni, SS
    Bolen, C
    Oleszkiewicz, J
    Robinson, A
    INFORMATION PROCESSING LETTERS, 2005, 93 (05) : 207 - 215
  • [40] HOW COMPUTERS READ AND WRITE
    FILLMORE, IL
    VETERINARY ECONOMICS, 1979, 20 (08): : 30 - &