arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1008.0451cs.DC
收藏

关于最优死锁检测调度

On Optimal Deadlock Detection Scheduling

Yibei Ling, Shigang Chen, Cho-Yu Jason Chiang

摘要:

死锁检测调度是一个重要的,但往往被忽视的问题,可以显着影响死锁处理的整体性能。过多的死锁检测会增加整体消息使用量,导致在没有死锁的情况下系统性能下降;而死锁检测的启动不足会增加死锁持续时间,导致在存在死锁的情况下死锁解决成本增加。然而,这种性能权衡的调查,是在文献中失踪。本文研究了死锁检测调度对死锁处理整体性能的影响。特别是,我们表明,存在一个最佳的死锁检测频率,产生最小的长期平均平均成本,这是由所使用的死锁检测和解决算法的消息复杂度,以及死锁形成的速度,表示为$λ$。对于最知名的死锁检测和解决算法,我们表明,死锁检测调度,最大限度地减少整体消息开销的渐近最优频率是${\cal O}((λn)^{1/3})$,当进程的总数$n$是足够大的。此外,我们表明,在一般情况下,完全分布式(不协调)死锁检测调度不能有效地集中(协调)死锁检测调度。

英文摘要:

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 tradeoff, 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 $λ$. 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}((λ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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑