arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1612.00530cs.MScs.NAmath.NA
收藏

不规则网格迭代方法在PEZY-SC处理器上的数据压缩算法实现与评估

Implementation and evaluation of data-compression algorithms for irregular-grid iterative methods on the PEZY-SC processor

Fixstars;PEZY Computing;RIKEN AICS(理化学研究所 计算科学研究中心);Department of Planetology, Kobe University(神户大学行星学系)

Naoki Yoshifuji, Ryo Sakamoto, Keigo Nitadori, Jun Makino

AI总结:

本文通过在PEZY-SC处理器上实现数据压缩算法,提高了不规则网格迭代方法的效率,以HPCG基准测试中的SpMV部分为例,展示了数据压缩对性能提升的显著影响。

摘要:

不规则网格上的迭代方法在计算科学和工程中广泛用于求解具有复杂几何的偏微分方程。它们提供了以相对较低计算成本表达复杂形状的灵活性。然而,过去二十年高性能处理器的发展导致不规则网格迭代方法的计算效率严重下降,主要是由于相对较低的内存带宽。数据压缩原则上可以减少迭代方法所需的内存带宽,从而提高效率。我们已在PEZY-SC处理器上实现了几种数据压缩算法,以HPCG基准测试中生成的矩阵为例。对于HPCG基准测试中的SpMV(稀疏矩阵-向量乘法)部分,没有数据压缩的最佳实现达到了11.6Gflops/芯片,接近理论极限,由于内存带宽的限制。我们的数据压缩实现达到了32.4Gflops。这当然是一个极端案例,因为HPCG使用的网格是几何规则的,因此其压缩效率非常高。然而,在实际应用中,很多时候可以将网格的大部分部分使其具有规则几何形状,特别是当分辨率较高时。请注意,我们不需要改变程序的结构,除了添加数据压缩/解压缩子程序之外。因此,我们认为数据压缩将是一种非常有用的改进许多依赖不规则网格的应用程序性能的方法。

英文摘要:

Iterative methods on irregular grids have been used widely in all areas of comptational science and engineering for solving partial differential equations with complex geometry. They provide the flexibility to express complex shapes with relatively low computational cost. However, the direction of the evolution of high-performance processors in the last two decades have caused serious degradation of the computational efficiency of iterative methods on irregular grids, because of relatively low memory bandwidth. Data compression can in principle reduce the necessary memory memory bandwidth of iterative methods and thus improve the efficiency. We have implemented several data compression algorithms on the PEZY-SC processor, using the matrix generated for the HPCG benchmark as an example. For the SpMV (Sparse Matrix-Vector multiplication) part of the HPCG benchmark, the best implementation without data compression achieved 11.6Gflops/chip, close to the theoretical limit due to the memory bandwidth. Our implementation with data compression has achieved 32.4Gflops. This is of course rather extreme case, since the grid used in HPCG is geometrically regular and thus its compression efficiency is very high. However, in real applications, it is in many cases possible to make a large part of the grid to have regular geometry, in particular when the resolution is high. Note that we do not need to change the structure of the program, except for the addition of the data compression/decompression subroutines. Thus, we believe the data compression will be very useful way to improve the performance of many applications which rely on the use of irregular grids.

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

↑