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 条
  • [41] A Learning-Based Approach to Reactive Security
    Barth, Adam
    Rubinstein, Benjamin I. P.
    Sundararajan, Mukund
    Mitchell, John C.
    Song, Dawn
    Bartlett, Peter L.
    FINANCIAL CRYPTOGRAPHY AND DATA SECURITY, 2010, 6052 : 192 - +
  • [42] Deep Learning-Based Concurrent Brain Registration and Tumor Segmentation
    Estienne, Theo
    Lerousseau, Marvin
    Vakalopoulou, Maria
    Andres, Emilie Alvarez
    Battistella, Enzo
    Carre, Alexandre
    Chandra, Siddhartha
    Christodoulidis, Stergios
    Sahasrabudhe, Mihir
    Sun, Roger
    Robert, Charlotte
    Talbot, Hugues
    Paragios, Nikos
    Deutsch, Eric
    FRONTIERS IN COMPUTATIONAL NEUROSCIENCE, 2020, 14 (14)
  • [43] A learning-based approach to coastal management
    Olsen, SB
    Tobey, J
    Hale, LZ
    AMBIO, 1998, 27 (08) : 611 - 619
  • [44] A Learning-Based Approach for IP Geolocation
    Eriksson, Brian
    Barford, Paul
    Sommers, Joel
    Nowak, Robert
    PASSIVE AND ACTIVE MEASUREMENT, PROCEEDINGS, 2010, 6032 : 171 - +
  • [45] Learning-based Wildfire Tracking with Unmanned Aerial Vehicles
    Jia, Qiong
    Xin, Ming
    Hu, Xiaolin
    Chao, Haiyang
    2022 AMERICAN CONTROL CONFERENCE, ACC, 2022, : 3212 - 3217
  • [46] Sparse learning-based correlation filter for robust tracking
    Zhang, Wenhua
    Jiao, Licheng
    Li, Yuxuan
    Liu, Jia
    IEEE Transactions on Image Processing, 2021, 30 : 878 - 891
  • [47] Learning-based Tracking of AoAs and AoDs in mmWave Networks
    Ghadikolaei, Hossein S.
    Ghauch, Hadi
    Fischione, Carlo
    PROCEEDINGS OF THE 2ND ACM WORKSHOP ON MILLIMETER WAVE NETWORKS AND SENSING SYSTEMS (MMNETS'18), 2018, : 45 - 50
  • [48] Learning-based appearance model for probabilistic visual tracking
    Li, Anping
    Jing, Zhongliang
    Hu, Shiqiang
    OPTICAL ENGINEERING, 2006, 45 (07)
  • [49] Sparse Learning-Based Correlation Filter for Robust Tracking
    Zhang, Wenhua
    Jiao, Licheng
    Li, Yuxuan
    Liu, Jia
    IEEE TRANSACTIONS ON IMAGE PROCESSING, 2021, 30 : 878 - 891
  • [50] A review on deep learning-based object tracking methods
    Uke, Nilesh
    Futane, Pravin
    Deshpande, Neeta
    Uke, Shailaja
    MULTIAGENT AND GRID SYSTEMS, 2024, 20 (01) : 27 - 39