arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1006.3148cs.DCcs.PF
收藏

利用共享高速缓存在多核处理器和集群上并行暂时分块模板代码

Leveraging shared caches for parallel temporal blocking of stencil codes on multicore processors and clusters

Markus Wittmann, Georg Hager, Jan Treibig, Gerhard Wellein

摘要:

带宽匮乏的多核芯片已经变得无处不在。众所周知,模板代码的性能可以通过时间分块来改善,从而减轻对存储器接口的压力。我们介绍了一种新的流水线的方法,使显式使用共享缓存在多核环境中,最大限度地减少同步和边界开销。基准测试结果目前的三个基于x86的微处理器,清楚地表明,我们的优化工程最好的设计与高速共享高速缓存和低内存带宽每核心。此外,我们证明,简单的基于带宽的性能模型是不准确的这种算法,并采用更精细的,合成的建模过程。最后,我们表明,时间块可以成功地采用在一个混合共享/分布式内存环境中,虽然在强大的规模有限的好处。

英文摘要:

Bandwidth-starved multicore chips have become ubiquitous. It is well known that the performance of stencil codes can be improved by temporal blocking, lessening the pressure on the memory interface. We introduce a new pipelined approach that makes explicit use of shared caches in multicore environments and minimizes synchronization and boundary overhead. Benchmark results are presented for three current x86-based microprocessors, showing clearly that our optimization works best on designs with high-speed shared caches and low memory bandwidth per core. We furthermore demonstrate that simple bandwidth-based performance models are inaccurate for this kind of algorithm and employ a more elaborate, synthetic modeling procedure. Finally we show that temporal blocking can be employed successfully in a hybrid shared/distributed-memory environment, albeit with limited benefit at strong scaling.

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

↑