CEAZ:通过硬件-算法协同设计的自适应有损压缩加速并行I/O
CEAZ: Accelerating Parallel I/O via Hardware-Algorithm Co-Designed Adaptive Lossy Compression
摘要:
随着HPC系统继续增长到亿亿级,需要保存或传输的数据量正在爆炸式增长。为此,许多以前的作品研究使用错误有界有损压缩器,以减少数据的大小,提高I/O性能。然而,几乎没有工作已经做了有效地卸载有损压缩到基于FPGA的SmartFlash,以减少压缩开销。在本文中,我们提出了一种硬件算法协同设计的高效和自适应有损压缩器的科学数据的FPGA(称为CEAZ),这是第一个有损压缩器,可以同时实现高压缩比和吞吐量。具体来说,我们提出了一种有效的霍夫曼编码方法,可以自适应更新霍夫曼码字在线离线生成的码字的基础上,从各种代表性的科学数据集。此外,我们推导出一个理论分析,以支持一个精确的控制下的误差有界压缩模式的压缩比,使准确的离线霍夫曼码字生成。这还有助于我们创建固定比率压缩模式,以实现一致的吞吐量。此外,我们开发了一个有效的压缩管道,采用cuSZ的双量化算法,我们的硬件用例。最后,我们在五个真实世界的数据集上使用单个FPGA板和128个节点(以加速并行I/O)评估CEAZ。实验结果表明,CEAZ比第二好的基于FPGA的有损压缩器的吞吐量和比率分别提高了2.3倍和3.0倍。它还将MPI_File_write和MPI_Gather吞吐量分别提高了28.9倍和37.8倍。
英文摘要:
As HPC systems continue to grow to exascale, the amount of data that needs to be saved or transmitted is exploding. To this end, many previous works have studied using error-bounded lossy compressors to reduce the data size and improve the I/O performance. However, little work has been done for effectively offloading lossy compression onto FPGA-based SmartNICs to reduce the compression overhead. In this paper, we propose a hardware-algorithm codesign for an efficient and adaptive lossy compressor for scientific data on FPGAs (called CEAZ), which is the first lossy compressor that can achieve high compression ratios and throughputs simultaneously. Specifically, we propose an efficient Huffman coding approach that can adaptively update Huffman codewords online based on codewords generated offline, from a variety of representative scientific datasets. Moreover, we derive a theoretical analysis to support a precise control of compression ratio under an error-bounded compression mode, enabling accurate offline Huffman codewords generation. This also helps us create a fixed-ratio compression mode for consistent throughput. In addition, we develop an efficient compression pipeline by adopting cuSZ's dual-quantization algorithm to our hardware use cases. Finally, we evaluate CEAZ on five real-world datasets with both a single FPGA board and 128 nodes (to accelerate parallel I/O). Experiments show that CEAZ outperforms the second-best FPGA-based lossy compressor by 2.3X of throughput and 3.0X of ratio. It also improves MPI_File_write and MPI_Gather throughputs by up to 28.9X and 37.8X, respectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。