Record and Replay technique has been proved an effective solution to cyclic debugging of nondeterministic parallel program. Because of nondeterminism, a parallel program given the same inputs on successive runs can sometimes produces different results. In this paper, an optimal record and replay technique is presented, which produces less overhead in time and space by using the non-overtading rule provided by MPI and PVM.
展开▼