【24h】

Execution-time modeling of parallel programs with message-passing communication

机译:具有消息传递通信的并行程序的执行时建模

获取原文
获取原文并翻译 | 示例

摘要

This paper presents a method of predicting the execution times for massage-passing parallel programs. It is to show the execution behaviors of parallel programs when they are being developed for scientific and engineering computation. We have analyzed parallel programs by classifying the code into two parts: computation and communication. Each part is estimated separately, then overall time is obtained. For the computation times, the number of arithmetic operations and the frequency of memory access are counted. As for the communication times, the latency in processor and interconnection network is modeled. The predicted times of programs are compared with experimental results to verify the validity. Representative algorithms such as bitonic sort, FFT, matrix multiplication and quick sort are coded and executed on IBM SP2 and a duster of PCs(personal computers). Results show good matching, together with a few cases of high errors in the prediction. It is from the fact that communication takes more time than the expected time due to the asynchronous nature of processors, thus the delay in their synchronization lengthens the time, and computation time may vary depending on many other factors not considered in the prediction such as system load, contention in memory access, high variation in cache hit ratio, etc. Although the estimate is not perfect, the result can serve to give rough execution behaviors of the programs being developed.
机译:本文提出了一种预测按摩传递并行程序执行时间的方法。这是为了显示为科学和工程计算而开发的并行程序时的执行行为。我们通过将代码分为两部分来分析并行程序:计算和通信。分别估算每个部分,然后获得总时间。对于计算时间,将计算算术运算的次数和内存访问的频率。至于通信时间,对处理器和互连网络中的延迟进行了建模。将程序的预测时间与实验结果进行比较,以验证其有效性。代表性的算法,例如双音排序,FFT,矩阵乘法和快速排序,都在IBM SP2和除尘器(个人计算机)上进行编码和执行。结果显示出良好的匹配性,并且少数情况下的预测误差很大。由于处理器的异步特性,通信花费的时间比预期的时间长,因此它们的同步延迟会延长时间,并且计算时间可能会根据预测中未考虑的许多其他因素(例如系统)而变化负载,内存访问中的争用,高速缓存命中率的高变化等。尽管估计不是完美的,但结果可以用来给出正在开发的程序的粗略执行行为。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号