Predicting the Time to Migrate Into Deadlock Using a Discrete Time Markov Chain

被引:0
|
作者
Bondi, Andre B. [1 ]
机构
[1] Software Performance & Scalabil Consulting LLC, Red Bank, NJ 07701 USA
关键词
Deadlock prediction and prevention; Markov chain analysis; random walks;
D O I
10.1145/3185768.3186403
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
When processes join a common FCFS queue to acquire or release resources in an object pool of fixed size, deadlock occurs if the process at the head of the queue wishes to acquire a resource when the pool is empty, even if a process wishing to relinquish a resource is queued behind. We describe a state machine representation of this problem. We use the representation to develop a discrete time Markov chain analysis to identify the load conditions under which deadlock is most likely to occur and how soon it is likely to occur. We show that deadlock occurs almost surely regardless of the load, and that the time to the onset of deadlock depends on combinations of the request rate for resources in the pool, the average holding time of the resources, and the size of the pool. Calculations corroborate the intuition that deadlock will occur sooner at heavy loads or when the resource pool is small. A connection will be made between this problem and the problem of random walks with a single absorbing and a single reflecting barrier.
引用
收藏
页码:177 / 182
页数:6
相关论文
共 50 条
  • [31] The Markov oscillation problem in discrete time
    Dai, YL
    Renshaw, E
    JOURNAL OF THE LONDON MATHEMATICAL SOCIETY-SECOND SERIES, 2000, 61 : 301 - 314
  • [32] Comparing the reliability of a discrete-time and a continuous-time Markov chain model in determining credit risk
    Lu, Su-Lien
    APPLIED ECONOMICS LETTERS, 2009, 16 (11) : 1143 - 1148
  • [33] TIME DISTRIBUTIONS IN DISCRETE-TIME MARKOV-PROCESSES
    APOSTOLOPOULOS, TK
    APPLIED MATHEMATICAL MODELLING, 1989, 13 (11) : 658 - 663
  • [34] A Stochastic Approach for the State-Wise Forecast of Wind Speed Using Discrete-Time Markov Chain
    Yakasiri, Mounika
    Avrel, Joyce
    Sharma, Swathi
    Anuradha, M.
    Keshavan, B. K.
    PROCEEDINGS OF THE 2019 IEEE REGION 10 CONFERENCE (TENCON 2019): TECHNOLOGY, KNOWLEDGE, AND SOCIETY, 2019, : 575 - 580
  • [35] Controlling Influenza Disease : Comparison Between Discrete Time Markov Chain and Deterministic Model
    Novkaniza, F.
    Ivana
    Aldila, D.
    SYMPOSIUM ON BIOMATHEMATICS (SYMOMATH 2015), 2016, 1723
  • [36] Discrete-Time Markov Chain Modelling of the Ontario Air Quality Health Index
    Holmes, Jason
    Hassini, Sonia
    WATER AIR AND SOIL POLLUTION, 2021, 232 (04):
  • [37] Hug and hop: a discrete-time, nonreversible Markov chain Monte Carlo algorithm
    Ludkin, M.
    Sherlock, C.
    BIOMETRIKA, 2023, 110 (02) : 301 - 318
  • [38] INTERPOLATION OF BINARY SERIES BASED ON DISCRETE-TIME MARKOV-CHAIN MODELS
    FOUFOULA-GEORGIOU, E
    GEORGIOU, TT
    WATER RESOURCES RESEARCH, 1987, 23 (03) : 515 - 518
  • [39] Discrete Time Markov Chain Families: Modeling and Verification of Probabilistic Software Product Lines
    Varshosaz, Mahsa
    Khosravi, Ramtin
    PROCEEDINGS OF THE 17TH INTERNATIONAL SOFTWARE PRODUCT LINE CONFERENCE CO-LOCATED WORKSHOPS (SPLC'13 WORKSHOPS), 2013, : 34 - 41
  • [40] A Numerical Algorithm on the Computation of the Stationary Distribution of a Discrete Time Homogenous Finite Markov Chain
    Zhao, Di
    Li, Hongyi
    Su, Donglin
    MATHEMATICAL PROBLEMS IN ENGINEERING, 2012, 2012