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

基于GPU的科学数据误差有界有损压缩优化

Optimizing Error-Bounded Lossy Compression for Scientific Data on GPUs

Jiannan Tian, Sheng Di, Xiaodong Yu, Cody Rivera, Kai Zhao, Sian Jin, Yunhe Feng, Xin Liang, Dingwen Tao, Franck Cappello

摘要:

误差受限的有损压缩是显著减少科学数据量的关键技术。随着异构高性能计算(HPC)体系结构的不断涌现,基于GPU加速的错误限制压缩器(如cuSZ+和cuZFP)也应运而生。然而,它们遭受低性能或低压缩比。为此,我们建议cuSZ+以高压缩比和吞吐量为目标。我们确定,数据稀疏性和数据平滑度是高压缩吞吐量的关键因素。我们在这项工作中的主要贡献是四个方面:(1)我们提出了一个有效的压缩工作流程,自适应地执行行程长度编码和/或可变长度编码。(2)将解压缩过程中的Lorenzo重构归结为多维部分和计算,提出了一种适用于GPU架构的细粒度Lorenzo重构算法。(3)我们通过利用最先进的CUDA并行原语来仔细优化每个cuSZ+内核。(4)我们使用V100和A100 GPU上的七个真实HPC应用程序数据集来评估cuSZ+。实验表明,cuSZ+在测试数据集上的压缩吞吐量和压缩比分别比cuSZ提高了18.4倍和5.3倍。

英文摘要:

Error-bounded lossy compression is a critical technique for significantly reducing scientific data volumes. With ever-emerging heterogeneous high-performance computing (HPC) architecture, GPU-accelerated error-bounded compressors (such as cuSZ+ and cuZFP) have been developed. However, they suffer from either low performance or low compression ratios. To this end, we propose cuSZ+ to target both high compression ratios and throughputs. We identify that data sparsity and data smoothness are key factors for high compression throughputs. Our key contributions in this work are fourfold: (1) We propose an efficient compression workflow to adaptively perform run-length encoding and/or variable-length encoding. (2) We derive Lorenzo reconstruction in decompression as multidimensional partial-sum computation and propose a fine-grained Lorenzo reconstruction algorithm for GPU architectures. (3) We carefully optimize each of cuSZ+ kernels by leveraging state-of-the-art CUDA parallel primitives. (4) We evaluate cuSZ+ using seven real-world HPC application datasets on V100 and A100 GPUs. Experiments show cuSZ+ improves the compression throughputs and ratios by up to 18.4X and 5.3X, respectively, over cuSZ on the tested datasets.

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

↑