Speculative Read Write Locks

被引:2
|
作者
Issa, Shady [1 ]
Romano, Paolo [1 ]
Lopes, Tiago [1 ]
机构
[1] Univ Lisbon, Inst Super Tecn, INESC ID, Lisbon, Portugal
来源
MIDDLEWARE'18: PROCEEDINGS OF THE 2018 ACM/IFIP/USENIX MIDDLEWARE CONFERENCE | 2018年
关键词
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 条
  • [41] Scalable and Memory-efficient Spin Locks for Embedded Tile-based Many-core Architectures
    Awamoto, Shinichi
    Chishiro, Hiroyuki
    Kato, Shinpei
    2018 IEEE 21ST INTERNATIONAL SYMPOSIUM ON REAL-TIME DISTRIBUTED COMPUTING (ISORC 2018), 2018, : 25 - 32
  • [42] User-Level Implementations of Read-Copy Update
    Desnoyers, Mathieu
    McKenney, Paul E.
    Stern, Alan S.
    Dagenais, Michel R.
    Walpole, Jonathan
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2012, 23 (02) : 375 - 382
  • [43] Rates of DNA Sequence Profiles for Practical Values of Read Lengths
    Chang, Zuling
    Chrisnata, Johan
    Ezerman, Martianus Frederic
    Kiah, Han Mao
    IEEE TRANSACTIONS ON INFORMATION THEORY, 2017, 63 (11) : 7166 - 7177
  • [44] On the Number of DNA Sequence Profiles for Practical Values of Read Lengths
    Chang, Zuling
    Chrisnata, Johan
    Ezerman, Martianus Frederic
    Kiah, Han Mao
    2016 IEEE INTERNATIONAL SYMPOSIUM ON INFORMATION THEORY, 2016, : 2654 - 2658
  • [45] A Non-Intrusive Read-Copy-Update for UTS
    Podzimek, Andrej
    Decky, Martin
    Bulej, Lubomir
    Tuma, Petr
    PROCEEDINGS OF THE 2012 IEEE 18TH INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED SYSTEMS (ICPADS 2012), 2012, : 482 - 489
  • [46] Lock Elision for Read-Only Critical Sections in Java']Java
    Nakaike, Takuya
    Michael, Maged M.
    ACM SIGPLAN NOTICES, 2010, 45 (06) : 269 - 278
  • [47] Lock Elision for Read-Only Critical Sections in Java']Java
    Nakaike, Takuya
    Michael, Maged M.
    PLDI '10: PROCEEDINGS OF THE 2010 ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION, 2010, : 269 - 278
  • [48] A Scalable and Write-Optimized Disaggregated B+-Tree With Adaptive Cache Assistance
    An, Hang
    Wang, Fang
    Feng, Dan
    Zou, Xiaomin
    Liu, Zefeng
    Zhang, Jianshun
    IEEE TRANSACTIONS ON CLOUD COMPUTING, 2024, 12 (04) : 1074 - 1087
  • [49] MV-RLU: Scaling Read-Log-Update with Multi-Versioning
    Kim, Jaeho
    Mathew, Ajit
    Kashyap, Sanidhya
    Ramanathan, Madhava Krishnan
    Min, Changwoo
    TWENTY-FOURTH INTERNATIONAL CONFERENCE ON ARCHITECTURAL SUPPORT FOR PROGRAMMING LANGUAGES AND OPERATING SYSTEMS (ASPLOS XXIV), 2019, : 779 - 792
  • [50] Complete telomere-to-telomere de novo assembly of the Plasmodium falciparum genome through long-read (> 11 kb), single molecule, real-time sequencing
    Vembar, Shruthi Sridhar
    Seetin, Matthew
    Lambert, Christine
    Nattestad, Maria
    Schatz, Michael C.
    Baybayan, Primo
    Scherf, Artur
    Smith, Melissa Laird
    DNA RESEARCH, 2016, 23 (04) : 339 - 351