Stochastic Performance Prediction for Iterative Algorithms in Distributed Environments