Back to Search Start Over

Deadlock Avoidance Algorithms for Recursion-Tree Modeled Requests in Parallel Executions.

Authors :
Wang, Yang
Li, Min
Dai, Hao
Kent, Kenneth B.
Ye, Kejiang
Xu, Chengzhong
Source :
IEEE Transactions on Computers. Sep2022, Vol. 71 Issue 9, p2073-2087. 15p.
Publication Year :
2022

Abstract

We present an extension of the banker's algorithm to resolve deadlock for programs whose resource-request graph can be modeled as a recursion tree for parallel execution. Our algorithm implements the banker's logic, with the key difference being that some properties of the tree are fully exploited to improve the resource utilization and safety check in deadlock avoidance. For an $n$ n -node tree modeled program making requests to $m$ m types of resources, our recursion-tree based algorithm can obtain a time complexity of $O(mn\log \log n)$ O (m n log log n) on average in safety check while reducing the conservativeness in resource utilization. We reap these benefits by proposing a concept of the resource critical tree and leverage it to localize the maximum claim associated with each node in the tree. To tackle the case when the tree model is not statically known, we relax the definition of a local maximum claim by sacrificing some resource utilization. With this trade-off, the algorithm can resolve the deadlock and achieve more efficient safety checks within time of $O(m\log \log n)$ O (m log log n) . Our empirical studies on a two-dimensional integration problem on sparse grids show that the proposed algorithms can reduce resource utilization conservativeness and improve avoidance performance by minimizing the number of safety checks. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
00189340
Volume :
71
Issue :
9
Database :
Academic Search Index
Journal :
IEEE Transactions on Computers
Publication Type :
Academic Journal
Accession number :
158561772
Full Text :
https://doi.org/10.1109/TC.2021.3122843