Introduction
In the era of the Internet of Things (IoT) and High-Performance Computing (HPC), systems generate massive volumes of floating-point time-series data, often reaching petabyte scales. In critical domains such as aviation or scientific simulation, even minor rounding errors can lead to catastrophic failures, necessitating lossless compression. While CPU-based compressors like Elf or ALP offer high compression ratios, they are frequently bottlenecked by processing throughput. GPUs present a promising alternative for massive parallelism, but they introduce unique hurdles: PCIe data movement bottlenecks, the inherent imprecision of floating-point arithmetic during integer conversion, and efficiency losses caused by data outliers.
The Falcon Framework
To address these limitations, we introduce Falcon, a GPU-accelerated framework designed for high-throughput, lossless floating-point compression. Falcon overcomes the traditional barriers of GPU compression through three core innovations: an asynchronous pipeline, precision-preserving conversion, and adaptive bit-plane encoding.
1. Event-Driven Asynchronous Pipeline
A major bottleneck in GPU acceleration is the latency of transferring data over the PCIe bus. Falcon employs a lightweight, event-driven scheduler that overlaps Host-to-Device (H2D) transfers, GPU kernel execution, and Device-to-Host (D2H) transfers. By coordinating these operations as a state machine, Falcon effectively hides I/O latency, ensuring the GPU remains saturated with work.
2. Precision-Preserving Integer Conversion
Efficient compression often requires converting floats to integers (e.g., 1.02 to 102). However, standard binary floating-point math is imprecise; for instance, 1.11 * 100 might result in 111.00000000000001. Falcon introduces a mathematically guaranteed algorithm to calculate exact decimal places natively on the GPU. This avoids the performance penalty of string-parsing while preventing the rounding errors that would otherwise corrupt lossless data.
3. Adaptive Sparse Bit-Plane Encoding
Real-world datasets often contain outliers that expand the bit-width of an entire data chunk, leading to millions of wasted "leading zero" bits. Falcon utilizes an adaptive encoding strategy that switches between dense and sparse storage at the byte level. By using a bitmap to flag and skip zero-bytes caused by outliers, Falcon maintains high compression ratios without introducing thread divergence on the GPU.
Evaluation and Results
Falcon was evaluated against state-of-the-art CPU (Elf, ALP) and GPU (ndzip, nvCOMP) compressors across 12 diverse datasets, including financial, geospatial, and scientific data.
- Compression Efficiency: Falcon achieved an average compression ratio of 0.299, a 9.1% relative improvement over the best CPU-based competitors and up to 70% better than general-purpose GPU compressors.
- Throughput: The framework reached peak speeds of 10.82 GB/s for compression and 12.32 GB/s for decompression. This represents a 2.4x speedup over the fastest GPU competitors and is orders of magnitude faster than CPU-based methods (e.g., 87x faster than Elf).
Conclusion
Falcon demonstrates that by combining mathematically rigorous conversion with fine-grained CPU-GPU coordination, it is possible to achieve both state-of-the-art compression ratios and multi-GB/s throughput. While some specialized CPU algorithms still hold a slight edge on highly constrained synthetic datasets, Falcon's general-purpose performance makes it a robust solution for modern HPC and IoT workloads. Future work will focus on enabling direct analytics on Falcon's compressed format to eliminate decompression overhead entirely.
Summary updated