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 条
  • [31] Linear Algebra Considerations for the Multi-Threaded Simulation of Mechanical Systems
    Dan Negrut
    Multibody System Dynamics, 2003, 10 : 61 - 80
  • [32] Extending the wait-free hierarchy to multi-threaded systems
    Matthieu Perrin
    Achour Mostéfaoui
    Grégoire Bonin
    Ludmila Courtillat-Piazza
    Distributed Computing, 2022, 35 : 375 - 398
  • [33] Extending Security for Multi-Threaded Servers
    Simmons, Sharon
    Edwards, Dennis
    WMSCI 2008: 12TH WORLD MULTI-CONFERENCE ON SYSTEMICS, CYBERNETICS AND INFORMATICS, VOL I, PROCEEDINGS, 2008, : 140 - 144
  • [34] Security Check for Multi-threaded Programs
    Tri Minh Ngo
    Tuan Van Nguyen
    2016 IEEE SIXTH INTERNATIONAL CONFERENCE ON COMMUNICATIONS AND ELECTRONICS (ICCE), 2016, : 465 - 470
  • [35] A Multi-Threaded Semantic Focused Crawler
    Punam Bedi
    Anjali Thukral
    Hema Banati
    Abhishek Behl
    Varun Mendiratta
    Journal of Computer Science and Technology, 2012, 27 : 1233 - 1242
  • [36] A Multi-threaded Version of Field II
    Jensen, Jorgen Arendt
    2014 IEEE INTERNATIONAL ULTRASONICS SYMPOSIUM (IUS), 2014, : 2229 - 2232
  • [37] On-line multi-threaded scheduling
    Feuerstein, E
    Mydlarz, M
    Stougie, L
    JOURNAL OF SCHEDULING, 2003, 6 (02) : 167 - 181
  • [38] On-Line Multi-Threaded Paging
    Algorithmica, 2002, 32 : 36 - 60
  • [39] Information Declassification for Multi-Threaded Programs
    Zhu, Hao
    Zhuang, Yi
    Chen, Xiang
    APPLIED MATHEMATICS & INFORMATION SCIENCES, 2014, 8 (04): : 1911 - 1916
  • [40] On-line multi-threaded paging
    Feuerstein, E
    de Loma, AS
    ALGORITHMICA, 2002, 32 (01) : 36 - 60