基于SZ和ZFP自动在线选择的有损压缩率失真优化
Optimizing Lossy Compression Rate-Distortion from Automatic Online Selection between SZ and ZFP
摘要:
随着HPC应用程序产生的科学数据量不断增加,由于存储空间容量有限,以及I/O或网络在写入/读取或传输数据时存在潜在瓶颈,因此大幅减少数据大小至关重要。SZ和ZFP是两个领先的有损压缩器,可用于压缩科学数据集。然而,它们的性能在不同的数据集和某些数据集的不同字段之间并不一致:对于某些字段,SZ提供更好的压缩性能,而其他字段则使用ZFP进行更好的压缩。这种情况需要在SZ和ZFP之间进行自动在线(在压缩期间)选择,并具有最小的开销。在本文中,自动选择优化率失真,一个重要的统计质量度量的基础上的信噪比。为了优化率失真,我们研究了SZ和ZFP的原理。然后,我们提出了一个有效的在线,低开销的选择算法,准确地预测压缩质量的两个压缩机在早期处理阶段,并选择最适合的压缩机为每个数据字段。我们将选择算法实现到一个开源库中,并在1,024个核心的并行环境中评估了我们提出的解决方案对普通SZ和ZFP的有效性。三个数据集,代表约100个字段的评估结果表明,我们的选择算法提高了压缩比高达70%,具有相同的数据失真水平,因为非常准确的选择(约99%)的最适合的压缩机,很少的开销(在实验中小于7%)。
英文摘要:
With ever-increasing volumes of scientific data produced by HPC applications, significantly reducing data size is critical because of limited capacity of storage space and potential bottlenecks on I/O or networks in writing/reading or transferring data. SZ and ZFP are the two leading lossy compressors available to compress scientific data sets. However, their performance is not consistent across different data sets and across different fields of some data sets: for some fields SZ provides better compression performance, while other fields are better compressed with ZFP. This situation raises the need for an automatic online (during compression) selection between SZ and ZFP, with a minimal overhead. In this paper, the automatic selection optimizes the rate-distortion, an important statistical quality metric based on the signal-to-noise ratio. To optimize for rate-distortion, we investigate the principles of SZ and ZFP. We then propose an efficient online, low-overhead selection algorithm that predicts the compression quality accurately for two compressors in early processing stages and selects the best-fit compressor for each data field. We implement the selection algorithm into an open-source library, and we evaluate the effectiveness of our proposed solution against plain SZ and ZFP in a parallel environment with 1,024 cores. Evaluation results on three data sets representing about 100 fields show that our selection algorithm improves the compression ratio up to 70% with the same level of data distortion because of very accurate selection (around 99%) of the best-fit compressor, with little overhead (less than 7% in the experiments).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。