CODAG:面向GPU的解压缩算法特征分析与优化
CODAG: Characterizing and Optimizing Decompression Algorithms for GPUs
AI总结:
本文提出GPU解压缩内核架构CODAG,通过消除专用线程组、释放计算资源并利用硬件调度器容忍延迟,在RLE v1、RLE v2和Deflate上相比NVIDIA RAPIDS分别实现13.46倍、5.69倍和1.18倍加速。
摘要:
数据压缩与解压缩已成为大数据应用的重要组成部分,用于应对所采集和存储数据量的指数级增长。此外,大数据应用因其高计算吞吐量和内存带宽而越来越多地采用GPU。此前的工作假定解压缩受限于内存,并将GPU的大部分线程专门用于数据搬移,同时采用复杂的软件技术来隐藏读取压缩数据和写入未压缩数据时的内存延迟。本文表明,这些技术导致GPU资源利用率低下,因为大多数线程最终都在等待少数几个解码线程,从而暴露出计算延迟和同步延迟。基于这一观察,我们提出了CODAG,这是一种面向GPU高吞吐量解压缩的新颖且简单的内核架构。CODAG消除了对专用线程组的使用,释放计算资源以增加并行解压缩流的数量,并利用充足的计算活动以及GPU的硬件调度器来容忍同步、计算和内存延迟。此外,CODAG提供了一个框架,使用户能够轻松地引入新的解压缩算法,而无需承担实现复杂优化来隐藏内存延迟的负担。我们使用三种不同的编码技术,即RLE v1、RLE v2和Deflate,以及来自不同领域的大量大型数据集,验证了我们所提出的架构。我们表明,与NVIDIA RAPIDS中最先进的解压缩器相比,CODAG在RLE v1、RLE v2和Deflate上分别提供了13.46倍、5.69倍和1.18倍的加速。
英文摘要:
Data compression and decompression have become vital components of big-data applications to manage the exponential growth in the amount of data collected and stored. Furthermore, big-data applications have increasingly adopted GPUs due to their high compute throughput and memory bandwidth. Prior works presume that decompression is memory-bound and have dedicated most of the GPU's threads to data movement and adopted complex software techniques to hide memory latency for reading compressed data and writing uncompressed data. This paper shows that these techniques lead to poor GPU resource utilization as most threads end up waiting for the few decoding threads, exposing compute and synchronization latencies. Based on this observation, we propose CODAG, a novel and simple kernel architecture for high throughput decompression on GPUs. CODAG eliminates the use of specialized groups of threads, frees up compute resources to increase the number of parallel decompression streams, and leverages the ample compute activities and the GPU's hardware scheduler to tolerate synchronization, compute, and memory latencies. Furthermore, CODAG provides a framework for users to easily incorporate new decompression algorithms without being burdened with implementing complex optimizations to hide memory latency. We validate our proposed architecture with three different encoding techniques, RLE v1, RLE v2, and Deflate, and a wide range of large datasets from different domains. We show that CODAG provides 13.46x, 5.69x, and 1.18x speed up for RLE v1, RLE v2, and Deflate, respectively, when compared to the state-of-the-art decompressors from NVIDIA RAPIDS.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。