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

在并行程序设计语言和库中管理通信延迟隐藏

Managing Communication Latency-Hiding at Runtime for Parallel Programming Languages and Libraries

Mads Ruben Burgdorff Kristensen, Brian Vinter

摘要:

这项工作介绍了一个运行时模型,用于管理通信,支持延迟隐藏。该模型使非计算机科学研究人员能够无缝地利用通信延迟隐藏技术。对于编译型语言,通常可以为通信创建有效的调度,但对于解释型语言,情况并非如此。通过维护调度操作之间的数据依赖性,可以积极地发起通信并惰性地评估任务,以允许在进入等待状态之前完成通信的最大时间。我们在DistNumPy中实现了这种模型的启发式,DistNumPy是数字Python的自动并行化版本,允许顺序NumPy程序在分布式内存架构上运行。此外,我们提出了八个基准测试和自动延迟隐藏的性能比较。结果表明,我们的模型减少了等待通信所花费的时间多达27倍,从最大的54%到只有2%的总执行时间,在模板应用程序。

英文摘要:

This work introduces a runtime model for managing communication with support for latency-hiding. The model enables non-computer science researchers to exploit communication latency-hiding techniques seamlessly. For compiled languages, it is often possible to create efficient schedules for communication, but this is not the case for interpreted languages. By maintaining data dependencies between scheduled operations, it is possible to aggressively initiate communication and lazily evaluate tasks to allow maximal time for the communication to finish before entering a wait state. We implement a heuristic of this model in DistNumPy, an auto-parallelizing version of numerical Python that allows sequential NumPy programs to run on distributed memory architectures. Furthermore, we present performance comparisons for eight benchmarks with and without automatic latency-hiding. The results shows that our model reduces the time spent on waiting for communication as much as 27 times, from a maximum of 54% to only 2% of the total execution time, in a stencil application.

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

↑