基于MIC的异构平台上多流性能影响评估
Evaluating the Performance Impact of Multiple Streams on the MIC-based Heterogeneous Platform
摘要:
使用\textit{multiple streams}可以通过减轻异构系统上的数据传输开销来提高整体系统性能。之前的工作主要集中在GPU上,但对(Intel Xeon)Phi的性能影响知之甚少。在这项工作中,我们将多个流应用到Phi上的六个真实应用程序中。然后,我们系统地评估使用多个流的性能优势。评估工作在两个层面上进行:微观基准测试层面和现实世界的应用层面。我们在微基准测试级别的实验结果表明,数据传输和内核执行可以重叠在披,而在两个方向上的数据传输是以串行的方式进行。在现实世界中的应用程序级别,我们表明,可扩展和不可扩展的应用程序可以受益于使用多个流(性能提高高达24%)。我们还量化了任务粒度和资源粒度如何影响整体性能。最后,我们提出了一套算法,以减少搜索空间时,确定适当的任务粒度和资源粒度。总之,我们的评估工作为运行时和架构设计人员在Phi上使用多个流时提供了很多见解。
英文摘要:
Using \textit{multiple streams} can improve the overall system performance by mitigating the data transfer overhead on heterogeneous systems. Prior work focuses a lot on GPUs but little is known about the performance impact on (Intel Xeon) Phi. In this work, we apply multiple streams into six real-world applications on Phi. We then systematically evaluate the performance benefits of using multiple streams. The evaluation work is performed at two levels: the microbenchmarking level and the real-world application level. Our experimental results at the microbenchmark level show that data transfers and kernel execution can be overlapped on Phi, while data transfers in both directions are performed in a serial manner. At the real-world application level, we show that both overlappable and non-overlappable applications can benefit from using multiple streams (with an performance improvement of up to 24\%). We also quantify how task granularity and resource granularity impact the overall performance. Finally, we present a set of heuristics to reduce the search space when determining a proper task granularity and resource granularity. To conclude, our evaluation work provides lots of insights for runtime and architecture designers when using multiple streams on Phi.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。