IEEE Access (Jan 2024)

Hybrid-Smash: A Heterogeneous CPU-GPU Compression Library

  • Cristian Penaranda,
  • Carlos Reano,
  • Federico Silla

DOI
https://doi.org/10.1109/ACCESS.2024.3371253
Journal volume & issue
Vol. 12
pp. 32706 – 32723

Abstract

Read online

Compression algorithms are widely used to reduce data size and improve application performance. Nevertheless, data compression has a computational cost which can limit its use. GPUs could be leveraged to reduce compression time. However, existing GPU-based compression libraries expect data to compress in GPU memory, although it is usually stored in CPU memory. Additionally, setup time of GPUs could be a problem when compressing small data sizes. In this paper, we implement a new GPU-based compression library. Contrary to existing ones, our library uses data located in CPU memory. Performance results show that, for the same compression algorithms, GPUs are beneficial for larger data sizes whereas smaller data sizes are compressed faster using CPUs. Therefore, we enhance our proposal with Hybrid-Smash: a heterogeneous CPU-GPU compression library, which transparently uses CPU or GPU compression depending on data size, thus improving compression for any data size.

Keywords