Modeling and resolving lock contention for multi-threaded systems

被引:0
|
作者
Zhang, Yang [1 ,2 ]
Talpur, Shahnawaz [1 ]
机构
[1] High Performance Embedded Computing Lab, School of Computer Science and Echnology, Beijing Institute of Technology, No. 5, South Zhongguancun Street, Haidian Dist, Beijing 100081, China
[2] School of Information Science and Engineering, Hebei University of Science and Technology, No. 186, Yuhua East Rd, Shijiazhuang 050018, China
来源
ICIC Express Letters | 2011年 / 5卷 / 12期
关键词
Concurrent control - Contention-aware - Dynamic constraints - Lock contention - Multi-core systems - Multi-threaded application - Multi-threaded system - Program performance - Shared resources - Software transactional memory - Static constraints - Static structures - System response time;
D O I
暂无
中图分类号
学科分类号
摘要
Locks are efficient concurrent control mechanisms to ensure that shared resources are accessed by only a single thread in multi-threaded applications. However, for multi-core systems, lock usage leads to lock contention, which degrades program performance, increases system response time, and negatively affects scalability. This paper initially models lock contention from two aspects: static structure and dynamic behavior. Static constraints of lock contention that describe the contention among threads and the dynamic constraints that define the lock request behavior during contended process are presented. In addition, a contention-aware lock (CA-Lock) is proposed. The CA-Lock is an ordinary lock when there is no contention; it improves the concurrency by transforming into software transactional memory (STM) when the contention is serious. For those situations that are not fitted with STM, the CA-Lock can transform back into an ordinary lock. Primary experimental results show that the CA-Lock can track the best world of lock or STM. © 2011 ICIC International.
引用
收藏
页码:4473 / 4478
相关论文
共 50 条
  • [1] Dynamic Cache Contention Detection in Multi-threaded Applications
    Zhao, Qin
    Koh, David
    Raza, Syed
    Bruening, Derek
    Wong, Weng-Fai
    Amarasinghe, Saman
    [J]. ACM SIGPLAN NOTICES, 2011, 46 (07) : 27 - 37
  • [2] Modeling and Testing Multi-Threaded Asynchronous Systems with Creol
    Aichernig, Bernhard
    Griesmayer, Andreas
    Schlatte, Rudolf
    Stam, Andries
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2009, 243 : 3 - 14
  • [3] Decoupling contention with VRB mechanism for multi-threaded applications
    Gao, Ke
    Fan, Dongrui
    Liu, Zhiyong
    [J]. Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2015, 52 (11): : 2577 - 2588
  • [4] On Multi-threaded Metrical Task Systems
    Feuerstein, Esteban
    Seiden, Steven S.
    de Loma, Alejandro Strejilevich
    [J]. JOURNAL OF DISCRETE ALGORITHMS, 2006, 4 (03) : 401 - 413
  • [5] Characterizing Multi-threaded Applications based on Shared-Resource Contention
    Dey, Tanima
    Wang, Wei
    Davidson, Jack W.
    Soffa, Mary Lou
    [J]. IEEE INTERNATIONAL SYMPOSIUM ON PERFORMANCE ANALYSIS OF SYSTEMS AND SOFTWARE (ISPASS 2011), 2011, : 76 - 86
  • [6] A lock-free multi-threaded algorithm for the maximum flow problem
    Hong, Bo
    [J]. 2008 IEEE INTERNATIONAL SYMPOSIUM ON PARALLEL & DISTRIBUTED PROCESSING, VOLS 1-8, 2008, : 2226 - 2233
  • [7] BUNDLE: Real-Time Multi-Threaded Scheduling to Reduce Cache Contention
    Tessler, Corey
    Fisher, Nathan
    [J]. PROCEEDINGS OF 2016 IEEE REAL-TIME SYSTEMS SYMPOSIUM (RTSS), 2016, : 279 - 290
  • [8] Multi-threaded reachability
    Sahoo, D
    Jain, J
    Iyer, SK
    Dill, DL
    Emerson, EA
    [J]. 42ND DESIGN AUTOMATION CONFERENCE, PROCEEDINGS 2005, 2005, : 467 - 470
  • [9] UML-Based Modeling and multi-threaded simulation for hybrid dynamic systems
    Lee, JS
    Hsu, PL
    [J]. PROCEEDINGS OF THE 2002 IEEE INTERNATIONAL CONFERENCE ON CONTROL APPLICATIONS, VOLS 1 & 2, 2002, : 1207 - 1212
  • [10] Multi-Threaded Actors
    Azadbakht, Keyvan
    de Boer, Frank S.
    Serbanescu, Vlad
    [J]. ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2016, (223): : 51 - 66