Skip to main content
QUICK REVIEW

[Paper Review] Lossless data compression on GPGPU architectures

Axel Eirola|arXiv (Cornell University)|Sep 11, 2011
Algorithms and Data CompressionComputer Science7 references4 citations
TL;DR

This paper investigates the feasibility of accelerating lossless data compression, particularly bzip2, on GPGPU architectures by leveraging parallel primitives like prefix sums and sorting. It demonstrates that while core compression stages like MTF and VLE can be efficiently parallelized using GPU-optimized algorithms, Huffman coding remains a bottleneck due to tree construction challenges, though precomputed tables offer a viable workaround for high-throughput scenarios.

ABSTRACT

Modern graphics processors provide exceptional computa- tional power, but only for certain computational models. While they have revolutionized computation in many fields, compression has been largely unnaffected. This paper aims to explain the current issues and possibili- ties in GPGPU compression. This is done by a high level overview of the GPGPU computational model in the context of compression algorithms; along with a more in-depth analysis of how one would implement bzip2 on a GPGPU architecture.

Motivation & Objective

  • To analyze the compatibility of lossless data compression algorithms with the GPGPU programming model.
  • To identify which stages of bzip2 are amenable to GPU acceleration and which are not.
  • To evaluate the performance potential of GPGPU for data compression given memory bandwidth and synchronization constraints.
  • To explore practical implementations of parallel compression primitives such as variable-length encoding and prefix sums on GPUs.
  • To assess the impact of data transfer overhead via PCIe on overall compression performance when using GPGPU.

Proposed method

  • Uses a high-level overview of the GPGPU computational model, emphasizing warp-based execution and memory coalescing.
  • Analyzes the bzip2 pipeline—Burrows-Wheeler Transform, MTF, and Huffman coding—for GPU portability, focusing on data-parallel operations.
  • Applies parallel prefix sum and sorting algorithms to accelerate variable-length encoding and data reordering stages.
  • Evaluates the feasibility of precomputing Huffman codeword tables to avoid GPU-intensive tree construction.
  • Examines existing GPGPU implementations of lightweight compression (e.g., GFC, database compression) for performance insights.
  • Considers architectural limitations such as PCIe bandwidth and thread synchronization in warp-based models.

Experimental results

Research questions

  • RQ1Which stages of the bzip2 compression pipeline can be effectively parallelized on GPGPU architectures?
  • RQ2How do memory access patterns and thread synchronization in GPGPU affect the performance of lossless compression algorithms?
  • RQ3To what extent can general-purpose GPU primitives like prefix sum and sorting accelerate compression tasks?
  • RQ4What are the performance bottlenecks in GPU-accelerated Huffman coding, and can they be mitigated with precomputed tables?
  • RQ5How does the overhead of PCIe data transfer impact the overall speedup of GPGPU-based compression compared to CPU implementations?

Key findings

  • Parallel prefix sum and sorting algorithms on GPUs achieve up to 20x speedup over CPU implementations, enabling efficient acceleration of data reordering and codeword positioning.
  • Variable-length encoding (VLE) stages in bzip2 can be accelerated using parallel prefix sum to compute output positions, with minimal data dependency issues.
  • The MTF (Move-to-Front) transformation is challenging to parallelize efficiently due to data dependencies, but GPU acceleration remains feasible with careful memory access patterns.
  • Huffman tree construction remains a major bottleneck on GPUs due to its inherently sequential nature, though precomputed codeword tables can mitigate this.
  • Lightweight compression methods such as delta encoding and null suppression achieve over 75 GB/s compression speeds on GPUs, limited by PCIe bandwidth rather than GPU compute power.
  • Despite architectural challenges, end-to-end GPU-based compression pipelines can outperform CPU-based ones when data transfer overhead is minimized and all stages are executed on the GPU.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.