arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1810.03940cs.MS
收藏

基于任务的双曲型PDE求解器的能量和深记忆行为研究

Studies on the energy and deep memory behaviour of a cache-oblivious, task-based hyperbolic PDE solver

Dominic E. Charrier, Benjamin Hazelwood, Ekaterina Tutlyaeva, Michael Bader, Michael Dumbser, Andrey Kudryavtsev, Alexander Moskovsky, Tobias Weinzierl

摘要:

我们研究了使用ExaHyPE引擎的地震模拟的性能行为,特别关注内存特性和能源需求。ExaHyPE将动态自适应网格细化(AMR)与ADER-DG相结合。它是使用任务并行化的,并且它是高速缓存高效的。AMR加上ADER-DG产生一个任务图,这是高度动态的性质,包括算术昂贵的任务和任务的挑战内存的延迟。昂贵的任务和整个代码都受益于AVX矢量化,尽管我们遭受内存访问突发。芯片的频率降低提高了代码的能量解决方案。然而,它并不能减轻突发效应。一旦我们添加了英特尔Optane技术,显著增加了内核数量,或者使单个计算量大的任务脱离了近距离缓存,突发的延迟损失就会变得更严重。为了隐藏这些延迟损失而进行的线程超预订与非包容性缓存相反,因为它破坏了缓存和向量化特性。在内存密集型和计算昂贵的任务重叠的情况下,ExaHyPE的缓存无关实现可以有效地利用深度,非包容性,异构内存,因为主内存未命中很少出现,只会减慢少数核心。因此,我们建议,即将到来的超级计算仿真代码与动态,不均匀的任务图积极支持线程运行时在不同的计算字符的混合任务,我们建议,未来的硬件积极允许代码的时钟运行特定的任务类型的核心。

英文摘要:

We study the performance behaviour of a seismic simulation using the ExaHyPE engine with a specific focus on memory characteristics and energy needs. ExaHyPE combines dynamically adaptive mesh refinement (AMR) with ADER-DG. It is parallelized using tasks, and it is cache efficient. AMR plus ADER-DG yields a task graph which is highly dynamic in nature and comprises both arithmetically expensive tasks and tasks which challenge the memory's latency. The expensive tasks and thus the whole code benefit from AVX vectorization, though we suffer from memory access bursts. A frequency reduction of the chip improves the code's energy-to-solution. Yet, it does not mitigate burst effects. The bursts' latency penalty becomes worse once we add Intel Optane technology, increase the core count significantly, or make individual, computationally heavy tasks fall out of close caches. Thread overbooking to hide away these latency penalties contra-productive with non-inclusive caches as it destroys the cache and vectorization character. In cases where memory-intense and computationally expensive tasks overlap, ExaHyPE's cache-oblivious implementation can exploit deep, non-inclusive, heterogeneous memory effectively, as main memory misses arise infrequently and slow down only few cores. We thus propose that upcoming supercomputing simulation codes with dynamic, inhomogeneous task graphs are actively supported by thread runtimes in intermixing tasks of different compute character, and we propose that future hardware actively allows codes to downclock the cores running particular task types.

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

↑