DetLock: Portable and Efficient Deterministic Execution for Shared Memory Multicore Systems

被引:5
|
作者
Mushtaq, Hamid [1 ]
Al-Ars, Zaid [1 ]
Bertels, Koen [1 ]
机构
[1] Delft Univ Technol, Comp Engn Lab, Delft, Netherlands
关键词
D O I
10.1109/SC.Companion.2012.98
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Multicore systems are not only hard to program but also hard to test, debug and maintain. This is because the traditional way of accessing shared memory in multithreaded applications is to use lock-based synchronization, which is inherently non-deterministic and can cause a multithreaded application to have many different possible execution paths for the same input. This problem can be avoided however by forcing a multithreaded application to have the same lock acquisition order for the same input. In this paper, we present DetLock, which is able to run multithreaded programs deterministically without relying on any hardware support or kernel modification. The logical clocks used for performing deterministic execution are inserted by the compiler. For 4 cores, the average overhead of these clocks on tested benchmarks is brought down from 20% to 8% by applying several optimizations. Moreover, the overall overhead, including deterministic execution, is comparable to state of the art systems such as Kendo, even surpassing it for some applications, while providing more portability.
引用
收藏
页码:721 / 730
页数:10
相关论文
共 50 条
  • [1] Efficent and highly portable deterministic multithreading (DetLock)
    Hamid Mushtaq
    Zaid Al-Ars
    Koen Bertels
    [J]. Computing, 2014, 96 : 1131 - 1147
  • [2] Efficent and highly portable deterministic multithreading (DetLock)
    Mushtaq, Hamid
    Al-Ars, Zaid
    Bertels, Koen
    [J]. COMPUTING, 2014, 96 (12) : 1131 - 1147
  • [3] A Portable and Efficient User Dispatching Mechanism for Multicore Systems
    Tu, Tang-Hsun
    Hsueh, Chih-Wen
    Chang, Rong-Guey
    [J]. 2009 15TH IEEE INTERNATIONAL CONFERENCE ON EMBEDDED AND REAL-TIME COMPUTING SYSTEMS AND APPLICATIONS, PROCEEDINGS, 2009, : 427 - +
  • [4] Confidentiality and Integrity Schemes for Multicore Shared Memory Systems
    Yang, Pengfei
    Lv, Wenkai
    Huang, Jiayang
    Wang, Quan
    Huang, Xiaokun
    Xie, Kun
    [J]. JOURNAL OF CIRCUITS SYSTEMS AND COMPUTERS, 2022, 31 (07)
  • [5] Semantics of deterministic shared-memory systems
    Morin, Remi
    [J]. CONCUR 2008 - CONCURRENCY THEORY, PROCEEDINGS, 2008, 5201 : 36 - 51
  • [6] Efficient Parallel GCD Algorithms for Multicore Shared Memory Architectures
    Pathirana, Gihan Tharaka
    Sotheeswaran, Sittampalam
    Ratnarajah, Nagulan
    [J]. 2020 20TH INTERNATIONAL CONFERENCE ON ADVANCES IN ICT FOR EMERGING REGIONS (ICTER-2020), 2020, : 272 - 273
  • [7] Execution Model to Reduce the Interference of Shared Memory in ARINC 653 Compliant Multicore RTOS
    Park, Sihyeong
    Kwon, Mi-Young
    Kim, Hoon-Kyu
    Kim, Hyungshin
    [J]. APPLIED SCIENCES-BASEL, 2020, 10 (07):
  • [8] Shared memory resources allocation and management research on multicore systems
    Gao, Ke
    Chen, Li-Cheng
    Fan, Dong-Rui
    Liu, Zhi-Yong
    [J]. Jisuanji Xuebao/Chinese Journal of Computers, 2015, 38 (05): : 1020 - 1034
  • [9] MQJoin: Efficient Shared Execution of Main-Memory Joins
    Makreshanski, Darko
    Giannikis, Georgios
    Alonso, Gustavo
    Kossmann, Donald
    [J]. PROCEEDINGS OF THE VLDB ENDOWMENT, 2016, 9 (06): : 480 - 491
  • [10] Application configuration selection for energy-efficient execution on multicore systems
    Wang, Shinan
    Luo, Bing
    Shi, Weisong
    Tiwari, Devesh
    [J]. JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2016, 87 : 43 - 54