在A64FX上使用天体物理模拟代码FLASH对Linux内核大页的进一步研究
A Further Study of Linux Kernel Hugepages on A64FX with FLASH, an Astrophysical Simulation Code
AI总结:
本文在A64FX平台上扩展研究了Linux内核大页对多物理模拟代码FLASH性能的影响,发现标准大页和透明大页未显著提升运行时性能,但显著减少了TLB未命中并引起缓存与内存访问行为变化。
摘要:
我们在Ookami(一台HPE Apollo 80 A64FX平台)上展示了使用Linux内核大页时FLASH性能的扩展研究。FLASH是一个用现代Fortran编写的多尺度、多物理模拟代码,并利用PARAMESH库来管理块结构自适应网格。我们最初的研究仅使用Fujitsu编译器来利用标准大页(hp),但进一步的调查使我们能够通过链接到Fujitsu库libmpg来为多个编译器利用hp,并通过在节点级别启用它来利用透明大页(thp)。通过比较硬件计数器和代码内计时器的结果,我们发现hp和thp并未显著影响FLASH的运行时性能。有趣的是,TLB未命中显著减少,缓存和内存访问计数器存在差异,并且在使用thp时观察到了奇怪的行为。
英文摘要:
We present an expanded study of the performance of FLASH when using Linux Kernel Hugepages on Ookami, an HPE Apollo 80 A64FX platform. FLASH is a multi-scale, multi-physics simulation code written principally in modern Fortran and makes use of the PARAMESH library to manage a block-structured adaptive mesh. Our initial study used only the Fujitsu compiler to utilize standard hugepages (hp), but further investigation allowed us to utilize hp for multiple compilers by linking to the Fujitsu library libmpg and transparent hugepages (thp) by enabling it at the node level. By comparing the results of hardware counters and in-code timers, we found that hp and thp do not significantly impact the runtime performance of FLASH. Interestingly, there is a significant reduction in the TLB misses, differences in cache and memory access counters, and strange behavior is observed when using thp.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。