The Community for Technology Leaders
Issue No. 09 - September (2006 vol. 55)
ISSN: 0018-9340
pp: 1178-1187
Yibei Ling , IEEE
ABSTRACT
Deadlock detection scheduling is an important, yet often overlooked problem that can significantly affect the overall performance of deadlock handling. Excessive initiation of deadlock detection increases overall message usage, resulting in degraded system performance in the absence of deadlocks, while insufficient initiation of deadlock detection increases the deadlock persistence time, resulting in an increased deadlock resolution cost in the presence of deadlocks. The investigation of this performance trade-off, however, is missing in the literature. This paper studies the impact of deadlock detection scheduling on the overall performance of deadlock handling. In particular, we show that there exists an optimal deadlock detection frequency that yields the minimum long-run mean average cost, which is determined by the message complexities of the deadlock detection and resolution algorithms being used, as well as the rate of deadlock formation, denoted as \lambda. For the best known deadlock detection and resolution algorithms, we show that the asymptotically optimal frequency of deadlock detection scheduling that minimizes the overall message overhead is {\cal O}((\lambda n)^{1/3}) when the total number n of processes is sufficiently large. Furthermore, we show that, in general, fully distributed (uncoordinated) deadlock detection scheduling cannot be performed as efficiently as centralized (coordinated) deadlock detection scheduling.
INDEX TERMS
Deadlock detection scheduling, deadlock formation rate, deadlock persistence time.
CITATION
Shigang Chen, Yibei Ling, Cho-Yu Jason Chiang, "On Optimal Deadlock Detection Scheduling", IEEE Transactions on Computers, vol. 55, no. , pp. 1178-1187, September 2006, doi:10.1109/TC.2006.151
FULL ARTICLE
CITATIONS
SHARE
89 ms
(Ver 3.3 (11022016))