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

MPI同步通信时序模型中的静态死锁检测算法

Algorithm of Static Deadlock Detection in MPI Synchronization Communication Sequential Model

Liao Ming-Xue, He Xiao-Xin, Fan Zhi-Hua

摘要:

MPI同步通信程序中死锁的检测非常困难,需要建立程序模型。所有复杂模型都是基于序列模型的。将顺序模型映射为一组字符串,并将其死锁检测问题转化为等价的多队列字符串匹配问题。设计并实现了一种静态检测MPI同步通信程序时序模型中死锁的算法。该算法的时间和空间复杂度均为O(n),其中n为模型中的消息量。该算法优于通常的圆检测方法,能很好地适应动态消息流。

英文摘要:

Detecting deadlocks in MPI synchronization communication programs is very difficult and need building program models. All complex models are based on sequential models. The sequential model is mapped into a set of character strings and its deadlock detection problem is translated into an equivalent multi-queue string matching problem. An algorithm is devised and implemented to statically detect deadlocks in sequential models of MPI synchronization communication programs. The time and space complexity of the algorithm is O(n) where n is the amount of message in model. The algorithm is better than usual circle-detection methods and can adapt well to dynamic message stream.

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

↑