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

在高性能架构上对混合模式PETSc性能进行基准测试

Benchmarking mixed-mode PETSc performance on high-performance architectures

Michael Lange, Gerard Gorman, Michele Weiland, Lawrence Mitchell, Xiaohu Guo, James Southern

摘要:

高度并行多处理的趋势在所有现代计算机体系结构中无处不在,从手持设备到大规模HPC系统;但许多应用程序正在努力充分利用现代高性能平台中暴露的多个并行级别。为了实现最新硬件进步的全部潜力,可以采用共享存储器编程技术和节点间消息传递之间的混合模式,其以最小的开销提供高水平的并行性。对于科学应用来说,这不仅意味着模拟代码本身,而且整个软件堆栈都需要发展。在本文中,我们评估的混合模式性能的PETSc,一个广泛使用的科学图书馆的可扩展的偏微分方程的解决方案。我们描述了在库中添加的OpenMP线程功能,重点是稀疏矩阵向量乘法。我们强调实现良好的并行性能,如显式通信重叠使用基于任务的并行性的关键挑战,并展示了如何进一步提高性能显式负载均衡线程MPI进程。使用一组从Fluidity中提取的矩阵,一个CFD应用程序代码,使用该库作为其线性求解器引擎,然后,我们在几个现代HPC架构的多个节点上对混合模式PETSc的并行性能进行基准测试。我们评估的并行可扩展性的统一内存访问(UMA)系统,如富士通PRIMEHPC FX 10和IBM BlueGene/Q,以及非统一内存访问(NUMA)Cray XE 6平台。一个详细的比较,突出了每个特定的架构的特点,在证明有效的强大的可扩展性的稀疏矩阵向量乘法显着的加速比纯MPI模式。

英文摘要:

The trend towards highly parallel multi-processing is ubiquitous in all modern computer architectures, ranging from handheld devices to large-scale HPC systems; yet many applications are struggling to fully utilise the multiple levels of parallelism exposed in modern high-performance platforms. In order to realise the full potential of recent hardware advances, a mixed-mode between shared-memory programming techniques and inter-node message passing can be adopted which provides high-levels of parallelism with minimal overheads. For scientific applications this entails that not only the simulation code itself, but the whole software stack needs to evolve. In this paper, we evaluate the mixed-mode performance of PETSc, a widely used scientific library for the scalable solution of partial differential equations. We describe the addition of OpenMP threaded functionality to the library, focusing on sparse matrix-vector multiplication. We highlight key challenges in achieving good parallel performance, such as explicit communication overlap using task-based parallelism, and show how to further improve performance by explicitly load balancing threads within MPI processes. Using a set of matrices extracted from Fluidity, a CFD application code which uses the library as its linear solver engine, we then benchmark the parallel performance of mixed-mode PETSc across multiple nodes on several modern HPC architectures. We evaluate the parallel scalability on Uniform Memory Access (UMA) systems, such as the Fujitsu PRIMEHPC FX10 and IBM BlueGene/Q, as well as a Non-Uniform Memory Access (NUMA) Cray XE6 platform. A detailed comparison is performed which highlights the characteristics of each particular architecture, before demonstrating efficient strong scalability of sparse matrix-vector multiplication with significant speedups over the pure-MPI mode.

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

↑