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.
机构:
Natl Taiwan Normal Univ, Grad Inst Global Business & Strategy, 31 Shida Rd, Taipei 106, TaiwanNatl Taiwan Normal Univ, Grad Inst Global Business & Strategy, 31 Shida Rd, Taipei 106, Taiwan
Chen, Jeng-Chung
Wu, Yenchun Jim
论文数: 0引用数: 0
h-index: 0
机构:
Natl Taiwan Normal Univ, Grad Inst Global Business & Strategy, 31 Shida Rd, Taipei 106, Taiwan
Natl Sun Yat Sen Univ, Dept Business Management, Kaohsiung 804, TaiwanNatl Taiwan Normal Univ, Grad Inst Global Business & Strategy, 31 Shida Rd, Taipei 106, Taiwan
机构:
Civil Engineering Department, College of Engineering, Salahaddin University-Erbil, Erbil, 44002, Kurdistan RegionDepartment of Civil Engineering, University of Halabja, Halabja, Kurdistan Region
Nariman Abdulhamid S.
论文数: 引用数:
h-index:
机构:
Nejati H.R.
M Gharrib Noori K.
论文数: 0引用数: 0
h-index: 0
机构:
Petroleum Technology Department/Control and Operation, Koya Technical Institute, Erbil Polytechnic University, Erbil, Kurdistan RegionDepartment of Civil Engineering, University of Halabja, Halabja, Kurdistan Region
M Gharrib Noori K.
Hashim Ibrahim H.
论文数: 0引用数: 0
h-index: 0
机构:
Civil Engineering Department, College of Engineering, Salahaddin University-Erbil, Erbil, 44002, Kurdistan RegionDepartment of Civil Engineering, University of Halabja, Halabja, Kurdistan Region
Hashim Ibrahim H.
Farid Hama Ali H.
论文数: 0引用数: 0
h-index: 0
机构:
Department of Civil Engineering, University of Halabja, Halabja, Kurdistan RegionDepartment of Civil Engineering, University of Halabja, Halabja, Kurdistan Region
机构:
Inst Teknol Bandung, Sch Elect Engn & Informat, Jalan Ganesha 10, Bandung 40132, IndonesiaInst Teknol Bandung, Sch Elect Engn & Informat, Jalan Ganesha 10, Bandung 40132, Indonesia