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

使用Execution-Cache-Memory模型量化模板计算的性能瓶颈

Quantifying performance bottlenecks of stencil computations using the Execution-Cache-Memory model

Holger Stengel, Jan Treibig, Georg Hager, Gerhard Wellein

摘要:

正则格上的压缩算法广泛应用于计算科学的各个领域,人们一直在努力优化算法的实现。这些活动通常不受提供预期加速估计的性能模型的指导。通过性能建模了解性能属性和瓶颈,可以清楚地看到有希望的优化机会。在这项工作中,我们完善了最近开发的执行缓存内存(ECM)模型,并使用它来量化当代英特尔处理器上的模板算法的性能瓶颈。这包括应用该模型来达到典型的角落情况模板循环内核的单核性能和可扩展性预测。ECM模型的指导下,我们准确地量化的“层条件”,这是需要通过存储层次结构估计的数据流量的意义,并研究典型的优化方法,如空间阻塞,强度降低,和时间阻塞的影响,其预期的好处。我们还比较了ECM模型的广为人知的Roofline模型。

英文摘要:

Stencil algorithms on regular lattices appear in many fields of computational science, and much effort has been put into optimized implementations. Such activities are usually not guided by performance models that provide estimates of expected speedup. Understanding the performance properties and bottlenecks by performance modeling enables a clear view on promising optimization opportunities. In this work we refine the recently developed Execution-Cache-Memory (ECM) model and use it to quantify the performance bottlenecks of stencil algorithms on a contemporary Intel processor. This includes applying the model to arrive at single-core performance and scalability predictions for typical corner case stencil loop kernels. Guided by the ECM model we accurately quantify the significance of "layer conditions," which are required to estimate the data traffic through the memory hierarchy, and study the impact of typical optimization approaches such as spatial blocking, strength reduction, and temporal blocking for their expected benefits. We also compare the ECM model to the widely known Roofline model.

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

↑