Runtime deadlock tracking and prevention of concurrent multithreaded programs: A learning-based approach

被引:2
|
作者
Ghorbani, Mehrdad [1 ]
Babamir, Seyed Morteza [1 ]
机构
[1] Univ Kashan, Dept Comp Engn, Kashan 8731751167, Iran
来源
关键词
adaptive systems; MLP; NARX; neural network; runtime deadlock prediction; time series; POTENTIAL DEADLOCKS;
D O I
10.1002/cpe.5324
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Allocation of shared resources by multithreaded programs faces problem of deadlock. Many solutions have been presented to resolve this problem. Among others, the deadlock prevention is stressed when the deadlock detection and removal are costly. Removing deadlocks, which is carried out by aborting/recovering deadlocked threads, causes the waste of the resources used by the deadlocked threads. In such case, deadlock prevention can lead to avoiding the waste of resources. To this end, the runtime behavior of threads should be monitored in order to predict possible future deadlocks. In such case, the prediction mechanism becomes significant because a proper prediction helps us deny the allocation request of a resource by a thread if the allocation leads to a potential deadlock. A method to attain to proper prediction is learning the behavior of threads based on runtime monitoring their past behavior. In fact, based on past behavior of threads, potential deadlocks in their future behavior are verified, and current allocation request of a resource is denied if a future deadlock is predicted. The current study is an extension of our previous work where just deadlock tracking was predicted and no adaptation was suggested. In this study, a composite structure of a recurrent Neural Network (NN) called NARX (to track a potential deadlock) and a Multi-perceptron NN called MLP (to select a suitable action to resolve the potential deadlock) is proposed. Based on the experimental results, the accuracy of the first NN was about 80%, leading to high performance of the second NN, and more than 82% of the real deadlocks were prevented by selecting suitable actions.
引用
收藏
页数:21
相关论文
共 50 条
  • [31] Comments on “Deadlock prevention and avoidance in FMS: a Petri net based approach”
    Daniel Y. Chao
    The International Journal of Advanced Manufacturing Technology, 2008, 39 (3-4) : 317 - 318
  • [32] Online single and multiple analysis dictionary learning-based approach for visual object tracking
    Sitani, Divya
    Subramanyam, A. Venkata
    Majumdar, Angshul
    JOURNAL OF ELECTRONIC IMAGING, 2019, 28 (01)
  • [33] A Machine Learning-based Approach for Vehicular Tracking in Low Power Wide Area Networks
    Bertolusso, Marco
    Spanu, Michele
    Pettorru, Giovanni
    Anedda, Matteo
    Fadda, Mauro
    Girau, Roberto
    Farina, Massimo
    Giusto, Daniele
    2022 IEEE INTERNATIONAL SYMPOSIUM ON BROADBAND MULTIMEDIA SYSTEMS AND BROADCASTING (BMSB), 2022,
  • [34] Reinforcement learning-based feature learning tor object tracking
    Liu, F
    Su, JB
    PROCEEDINGS OF THE 17TH INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION, VOL 2, 2004, : 748 - 751
  • [35] Concurrent learning-based trajectory tracking control of a novel multi-node flexible lander for asteroid missions
    Chai, Jingxuan
    Mei, Jie
    Gong, Youmin
    Wu, Weiren
    Ma, Guangfu
    Zhao, Guoming
    AIRCRAFT ENGINEERING AND AEROSPACE TECHNOLOGY, 2024, 96 (09): : 1203 - 1215
  • [36] Concurrent Learning-Based Neuroadaptive Robust Tracking Control of Wheeled Mobile Robot: An Event-Triggered Design
    Nath K.
    Bera M.K.
    Jagannathan S.
    IEEE Transactions on Artificial Intelligence, 2023, 4 (06): : 1514 - 1525
  • [37] Runtime Assurance of Learning-Based Lane Changing Control for Autonomous Driving Vehicles
    Wang, Qiang
    Kou, Guang
    Chen, Longquan
    He, Ying
    Cao, Weipeng
    Pu, Geguang
    JOURNAL OF CIRCUITS SYSTEMS AND COMPUTERS, 2022, 31 (14)
  • [38] Machine Learning-based Prediction for Dynamic, Runtime Architectural Optimizations of Embedded Systems
    Vazquez, Ruben
    Gordon-Ross, Ann
    Stitt, Greg
    2019 IEEE NORDIC CIRCUITS AND SYSTEMS CONFERENCE (NORCAS) - NORCHIP AND INTERNATIONAL SYMPOSIUM OF SYSTEM-ON-CHIP (SOC), 2019,
  • [39] A Learning-Based Approach to Reactive Security
    Barth, Adam
    Rubinstein, Benjamin I. P.
    Sundararajan, Mukund
    Mitchell, John C.
    Song, Dawn
    Bartlett, Peter L.
    IEEE TRANSACTIONS ON DEPENDABLE AND SECURE COMPUTING, 2012, 9 (04) : 482 - 493
  • [40] A dual learning-based recommendation approach
    Wan, Shanshan
    Liu, Ying
    Qiu, Dongwei
    Chambua, James
    Niu, Zhendong
    KNOWLEDGE-BASED SYSTEMS, 2022, 254