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

利用后向切片提高解耦软件流水的性能

Enhancing the performance of Decoupled Software Pipeline through Backward Slicing

Esraa Alwan, John Fitch, Julian Padget

摘要:

多核处理器中可用内核数量的快速增加并不一定直接导致性能的相应提高:用传统语言(如C)编写的程序需要仔细重构,最好是自动重构,然后才能在改进的运行时间中观察到好处。即使这样,也很大程度上取决于原始程序的并发执行的内在能力。本文的主题是去耦软件管道(DSWP)和(向后)切片的互补技术的综合效果带来的性能提升。DSWP从循环体中提取线程级并行性,方法是将循环体分解为多个阶段,然后以流水线方式执行:实际上是跨越控制链。另一方面,切片沿着控制链切割程序,梳理出依赖于不同变量(或位置)的更精细的线程。取决于不同变量的部分。本文的主要贡献是证明DSWP的应用,其次是切片提供了显着的改进DSWP单独,特别是当有一个循环进行的依赖,防止应用程序的简单DOALL优化。实验结果表明,一个因素的改善?1.6对于DSWP +切片超过DSWP单独和一个因素?2.4对于原始顺序代码的DSWP +切片。

英文摘要:

The rapidly increasing number of cores available in multicore processors does not necessarily lead directly to a commensurate increase in performance: programs written in conventional languages, such as C, need careful restructuring, preferably automatically, before the benefits can be observed in improved run-times. Even then, much depends upon the intrinsic capacity of the original program for concurrent execution. The subject of this paper is the performance gains from the combined effect of the complementary techniques of the Decoupled Software Pipeline (DSWP) and (backward) slicing. DSWP extracts threadlevel parallelism from the body of a loop by breaking it into stages which are then executed pipeline style: in effect cutting across the control chain. Slicing, on the other hand, cuts the program along the control chain, teasing out finer threads that depend on different variables (or locations). parts that depend on different variables. The main contribution of this paper is to demonstrate that the application of DSWP, followed by slicing offers notable improvements over DSWP alone, especially when there is a loop-carried dependence that prevents the application of the simpler DOALL optimization. Experimental results show an improvement of a factor of ?1.6 for DSWP + slicing over DSWP alone and a factor of ?2.4 for DSWP + slicing over the original sequential code.

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

↑