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 条
  • [21] Read, write, and rewrite
    Baron, JH
    LANCET, 2002, 359 (9315): : 1440 - 1440
  • [22] TO READ AND TO WRITE - FRENCH
    FEDIDA, P
    QUINZAINE LITTERAIRE, 1982, (373): : 23 - 23
  • [23] Read, Flip, and Write!
    Matson, Sandra F.
    JOURNAL OF ADOLESCENT & ADULT LITERACY, 2012, 56 (02) : 109 - 109
  • [24] Speak, read, write
    Turgeon, Arthur C.
    MODERN LANGUAGE JOURNAL, 1948, 32 (05): : 396 - 396
  • [25] READ US AND WRITE
    LEVITT, MR
    HOLMES, LM
    LASER FOCUS-ELECTRO-OPTICS, 1987, 23 (05): : 4 - 4
  • [26] Read, write, live
    Guegan, Jean
    EUROPE-REVUE LITTERAIRE MENSUELLE, 2015, (1032) : 346 - 347
  • [27] Think, Read, and Write
    Derksen, Ruth
    TEACHING & LEARNING INQUIRY-THE ISSOTL JOURNAL, 2016, 4 (02):
  • [28] Read it, Write in it & Pass it on
    Beasley, Sandra
    AMERICAN SCHOLAR, 2009, 78 (01): : 11 - 15
  • [29] WRITE WAY TO READ
    VANALLEN, R
    ELEMENTARY ENGLISH, 1967, 44 (05): : 480 - &
  • [30] Read|write:: Table
    Turk, S
    JOURNAL OF ARCHITECTURAL EDUCATION, 2004, 58 (02) : 19 - 24