arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1109.4925cs.DC
收藏

Couillard:基于粗粒度数据流编译的并行编程

Couillard: Parallel Programming via Coarse-Grained Data-Flow Compilation

Leandro A. J. Marzulo, Tiago A. O. Alves, Felipe M. G. França, Vítor Santos Costa

摘要:

数据流是一种自然的并行方法。然而,描述细粒度数据流任务之间的依赖关系和控制可能是复杂的,并且存在不必要的开销。TLM(TLM is an Architecture and Language for Multi-threading)引入了一种用户定义的粗粒度并行数据流模型,程序员在该模型中识别要并行运行的代码块(称为超级指令),并将它们连接到数据流图中。TALM已经被实现为一个混合冯诺依曼/数据流执行系统:\emph{Trebuchet}。我们已经观察到,TALM的有用性在很大程度上取决于程序员如何指定和连接超级指令。因此,我们提出\emph{Couillard},一个完整的编译器,创建,基于注释的C程序,一个数据流图和C代码对应于每个超级指令。我们表明,我们的工具链允许一个受益于数据流执行和探索复杂的并行编程技术,用小的努力。为了评估我们的系统,我们在一个大型多核机器上执行了一组真实的应用程序。与流行的并行编程方法的比较显示了竞争力的加速比,同时提供了一个更容易的并行编程方法。

英文摘要:

Data-flow is a natural approach to parallelism. However, describing dependencies and control between fine-grained data-flow tasks can be complex and present unwanted overheads. TALM (TALM is an Architecture and Language for Multi-threading) introduces a user-defined coarse-grained parallel data-flow model, where programmers identify code blocks, called super-instructions, to be run in parallel and connect them in a data-flow graph. TALM has been implemented as a hybrid Von Neumann/data-flow execution system: the \emph{Trebuchet}. We have observed that TALM's usefulness largely depends on how programmers specify and connect super-instructions. Thus, we present \emph{Couillard}, a full compiler that creates, based on an annotated C-program, a data-flow graph and C-code corresponding to each super-instruction. We show that our toolchain allows one to benefit from data-flow execution and explore sophisticated parallel programming techniques, with small effort. To evaluate our system we have executed a set of real applications on a large multi-core machine. Comparison with popular parallel programming methods shows competitive speedups, while providing an easier parallel programing approach.

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

↑