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 条
  • [1] Predicting Number of Student Enrollment Using a Discrete-Time Markov Chain Model
    Fatima, Taif
    Khaoula, Marhane
    Abdelwahed, Namir
    ADVANCED INTELLIGENT SYSTEMS FOR SUSTAINABLE DEVELOPMENT (AI2SD'2020), VOL 2, 2022, 1418 : 457 - 464
  • [2] Exploring Collaboration Patterns in GitHub using Discrete Time Markov Chain
    Jo, Suhee
    Kwon, Ryeonggu
    Kwon, Gihwon
    PROCEEDINGS OF THE 2023 30TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, APSEC 2023, 2023, : 645 - 646
  • [3] On the Convergence of the Discrete-Time Homogeneous Markov Chain
    Kipouridis, I.
    Tsaklidis, G.
    ADVANCES IN DATA ANALYSIS: THEORY AND APPLICATIONS TO RELIABILITY AND INFERENCE, DATA MINING, BIOINFORMATICS, LIFETIME DATA, AND NEURAL NETWORKS, 2010, : 181 - +
  • [4] Discrete time Markov chain model for age of information
    Alfa, Attahiru Sule
    OPERATIONS RESEARCH LETTERS, 2020, 48 (05) : 552 - 557
  • [5] Discrete time modelling of disease incidence time series by using Markov chain Monte Carlo methods
    Morton, A
    Finkenstädt, BF
    JOURNAL OF THE ROYAL STATISTICAL SOCIETY SERIES C-APPLIED STATISTICS, 2005, 54 : 575 - 594
  • [6] RECURSIVE ESTIMATION OF A DISCRETE-TIME MARKOV-CHAIN
    YAVIN, Y
    MATHEMATICAL AND COMPUTER MODELLING, 1993, 18 (09) : 87 - 95
  • [7] Occupation time of a renewal process coupled to a discrete Markov chain
    Dessertaine, Theo
    Godreche, Claude
    Bouchaud, Jean-Philippe
    JOURNAL OF STATISTICAL MECHANICS-THEORY AND EXPERIMENT, 2022, 2022 (06):
  • [8] Invariance of State Estimate for a Finite Markov Chain with Discrete Time
    Perepelkin, E. A.
    OPTOELECTRONICS INSTRUMENTATION AND DATA PROCESSING, 2021, 57 (06) : 626 - 631
  • [9] Estimation of the transition matrix of a discrete-time Markov chain
    Craig, BA
    Sendi, PP
    HEALTH ECONOMICS, 2002, 11 (01) : 33 - 42
  • [10] Invariance of State Estimate for a Finite Markov Chain with Discrete Time
    E. A. Perepelkin
    Optoelectronics, Instrumentation and Data Processing, 2021, 57 : 626 - 631