arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 0709.3692cs.DC
收藏

MPI同步通信程序基本模型中的死锁检测

Deadlock Detection in Basic Models of MPI Synchronization Communication Programs

Ming-xue Liao, Zhi-hua Fan

摘要:

提出了MPI同步通信程序的一种模型,并定义了它的三个基本简化模型。给出并严格证明了一系列判定三种模型之间是否会发生死锁的定理和方法。这些简单模型死锁检测的理论和方法为实际MPI程序死锁检测奠定了必要的基础。该方法是基于一个静态分析通过程序和运行时检测在必要的情况下,他们能够在编译前确定是否会死锁的三个基本模型。对于另一个模型,一些死锁情况可以在编译之前发现,而另一些在运行时发现。我们的定理可以用来证明目前流行的MPI程序死锁检测算法的正确性。我们的方法可以减少那些算法需要改变到MPI源或profiling接口的代码,并可以在程序执行之前检测死锁,从而大大减少了开销。

英文摘要:

A model of MPI synchronization communication programs is presented and its three basic simplified models are also defined. A series of theorems and methods for deciding whether deadlocks will occur among the three models are given and proved strictly. These theories and methods for simple models' deadlock detection are the necessary base for real MPI program deadlock detection. The methods are based on a static analysis through programs and with runtime detection in necessary cases and they are able to determine before compiling whether it will be deadlocked for two of the three basic models. For another model, some deadlock cases can be found before compiling and others at runtime. Our theorems can be used to prove the correctness of currently popular MPI program deadlock detection algorithms. Our methods may decrease codes that those algorithms need to change to MPI source or profiling interface and may detects deadlocks ahead of program execution, thus the overheads can be reduced greatly.

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

↑