Testing Deadlock-Freedom of Computer Systems

The problem of determining whether it is possible for a set of “free-running” processes to become deadlocked is considered. It is assumed that any request by a process is immediately granted as long as there are enough free resource units to satisfy the request. The question of whether or not there exists a polynomial algorithm for predicting deadlock in a “claim-limited” serially reusable resource system has been open. An algorithm employing a network flow technique is presented for this purpose. Its running time is bounded by <italic>O</italic>(<italic>mn</italic><supscrpt>1.5</supscrpt>) if the system consists of <italic>n</italic> processes sharing <italic>m</italic> types of serially reusable resources.

[1]  Richard C. Holt,et al.  Some Deadlock Properties of Computer Systems , 1972, CSUR.

[2]  D. R. Fulkerson,et al.  Flows in Networks. , 1964 .

[3]  E. Mark Gold,et al.  Deadlock Prediction: Easy and Difficult Cases , 1978, SIAM J. Comput..

[4]  Toshihide Ibaraki,et al.  Deadlock-Free Systems for a Bounded Number of Processes , 1982, IEEE Transactions on Computers.

[5]  Tiko Kameda,et al.  A polynomial-time test for the deadlock-freedom of computer systems , 1977, Theoretical Computer Science.

[6]  Daniel A. Menascé,et al.  Locking and Deadlock Detection in Distributed Data Bases , 1979, IEEE Transactions on Software Engineering.

[7]  Irving L. Traiger,et al.  A Deadlock-Free Scheme for Resource Locking in a Data-Base Environment , 1974, IFIP Congress.

[8]  Amnon Naamad,et al.  Network flow and generalized path compression , 1979, STOC.

[9]  Jeffrey D. Ullman,et al.  Deadlock-Free Packet Switching Networks , 1981, SIAM J. Comput..

[10]  Richard Craig Holt,et al.  On deadlock in computer systems , 1971 .

[11]  A. Nico Habermann,et al.  Prevention of system deadlocks , 1969, CACM.

[12]  Robert E. Tarjan,et al.  Network Flow and Testing Graph Connectivity , 1975, SIAM J. Comput..

[13]  W. W. Chu,et al.  Avoiding deadlock in distributed data bases , 1974, ACM '74.

[14]  E. A. Dinic Algorithm for solution of a problem of maximal flow in a network with power estimation , 1970 .

[15]  Allen Reiter A resource-allocation scheme for multi-user on-line operation of a small computer , 1967, AFIPS '67 (Spring).

[16]  Zvi Galil,et al.  A new algorithm for the maximal flow problem , 1978, 19th Annual Symposium on Foundations of Computer Science (sfcs 1978).

[17]  Arie Shoshani,et al.  System Deadlocks , 1971, CSUR.

[18]  Jeffrey D. Ullman,et al.  Deadlock-free packet switching networks , 1979, SIAM J. Comput..

[19]  Raymond R. Devillers Game interpretation of the deadlock avoidance problem , 1977, CACM.