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

多核集群上LULESH代理应用的解析Roofline建模与能耗分析

Analytic Roofline Modeling and Energy Analysis of LULESH Proxy Application on Multi-Core Clusters

Ayesha Afzal, Georg Hager, Gerhard Wellein

AI总结:

该研究针对ICL和SPR CPU集群上的LULESH代理应用,构建Roofline模型分析性能,对比OpenMP与MPI实现差异,量化多因素对能耗的影响并给出内存受限场景的节能方向。

摘要:

我们对基于Intel Ice Lake(ICL)和Sapphire Rapids(SPR)CPU的两个不同集群上,采用OpenMP和MPI变体的LULESH代理应用进行了全面的性能与能耗分析。我们首先在节点层面研究了代码中六个热点函数的强扩展性与功耗特性,重点关注内存带宽利用率。随后,我们为每个内存受限的热点构建了详细的Roofline性能模型,并通过硬件性能计数器测量对其进行验证,同时对解析模型与观测结果之间存在的差异进行了说明。为区分编程模型的影响与代码实现的影响,我们基于问题规模对比了OpenMP和MPI的性能,考察底层实现在大问题规模下是否等效,以及开销差异在小问题规模下是否更显著。我们还分析了热点的功耗、求解能耗和能耗延迟乘积(EDP),量化了问题规模、核心与非核心时钟频率、每个ccNUMA域的活跃核心数的影响。仅对于内存受限函数,通过减少每个ccNUMA域的核心数和/或降低核心时钟速度才能实现显著的节能。一个主要问题是两款芯片的外推基线功耗都非常高,这降低了并发节流的效果。在能耗延迟乘积(EDP)方面,SPR上仅内存受限工作负载的EDP低于Ice Lake。

英文摘要:

We present a thorough performance and energy consumption analysis of the LULESH proxy application in its OpenMP and MPI variants on two different clusters based on Intel Ice Lake (ICL) and Sapphire Rapids (SPR) CPUs. We first study the strong scaling and power consumption characteristics of the six hot spot functions in the code on the node level, with a special focus on memory bandwidth utilization. We then proceed with the construction of a detailed Roofline performance model for each memory-bound hot spot, which we validate using hardware performance counter measurements. We also comment on the observed discrepancies between the analytical model and the observations. To discern the influence of the programming model from the influence of implementation of the code, we compare the performance of OpenMP and MPI based on problem size, examining if the underlying implementation is equivalent for large problems, and if differences in overheads are more significant at smaller problem sizes. We also conduct an analysis of the power dissipation, energy to solution, and energy-delay product (EDP) of the hot spots, quantifying the influence of problem size, core and uncore clock frequency, and number of active cores per ccNUMA domain. Relevant energy savings are only possible for memory-bound functions by using fewer cores per ccNUMA domain and/or reducing the core clock speed. A major issue is the very high extrapolated baseline power on both chips, which makes concurrency throttling less effective. In terms of energy-delay product (EDP), on SPR only memory-bound workloads offer lower EDP compared to Ice Lake.

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

↑